Class PasswordValidationCallback

  • All Implemented Interfaces:
    javax.security.auth.callback.Callback

    public class PasswordValidationCallback
    extends java.lang.Object
    implements javax.security.auth.callback.Callback
    Callback that enables an authentication module to supply a user name and password (to a runtime?) and determine if the result of validation.
    • Constructor Detail

      • PasswordValidationCallback

        public PasswordValidationCallback​(javax.security.auth.Subject subject,
                                          java.lang.String username,
                                          char[] password)
    • Method Detail

      • getSubject

        public javax.security.auth.Subject getSubject()
      • getUsername

        public java.lang.String getUsername()
      • getPassword

        public char[] getPassword()
      • clearPassword

        public void clearPassword()
      • setResult

        public void setResult​(boolean result)
      • getResult

        public boolean getResult()