Class PasswordClientCallbackHandler

  • All Implemented Interfaces:
    CallbackHandler

    public class PasswordClientCallbackHandler
    extends Object
    implements CallbackHandler
    A callback handler which performs client authentication steps.
    • Field Detail

      • EMPTY_PASSWORD

        public static final char[] EMPTY_PASSWORD
        An empty password array.
    • Constructor Detail

      • PasswordClientCallbackHandler

        public PasswordClientCallbackHandler​(String actualUserName,
                                             String actualUserRealm,
                                             char[] password)
        Create a new instance.
        Parameters:
        actualUserName - the user name to supply, or null for none
        actualUserRealm - the user realm to supply, or null for none
        password - the password to supply, or null for none