Interface PasswordCallback


public interface PasswordCallback
A password callback is an alternate way to supply the plug-in with passwords; this avoids using plain text configuration properties.
  • Method Summary

    Modifier and Type
    Method
    Description
    char[]
    Returns the password for validating the keystore.
    char[]
    Returns the password for the key.
    char[]
    Returns the password for validating the truststore.
  • Method Details

    • getPassword

      char[] getPassword(String alias)
      Returns the password for the key. If an alias was selected by setting the IceSSL.Alias property, alias contains the property's value.
      Parameters:
      alias - The value of the property IceSSL.Alias, if that property is set; null, otherwise.
      Returns:
      The password for the key. The return value must not be null.
    • getTruststorePassword

      char[] getTruststorePassword()
      Returns the password for validating the truststore.
      Returns:
      The password. To skip truststore validation, return null.
    • getKeystorePassword

      char[] getKeystorePassword()
      Returns the password for validating the keystore.
      Returns:
      The password. To skip keystore validation, return null.