Class PasswordValidationCallback
- java.lang.Object
-
- jakarta.security.auth.message.callback.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 Summary
Constructors Constructor Description PasswordValidationCallback(javax.security.auth.Subject subject, java.lang.String username, char[] password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearPassword()
char[]
getPassword()
boolean
getResult()
javax.security.auth.Subject
getSubject()
java.lang.String
getUsername()
void
setResult(boolean result)
-