PasswordValidationCallback (JASPIC 1.1 API Documentation - Apache Tomcat 9.0.118)
Description: declaration: package: javax.security.auth.message.callback, class: PasswordValidationCallback

# Class PasswordValidationCallback

java.lang.Object
javax.security.auth.message.callback.PasswordValidationCallback

All Implemented Interfaces:
  `Callback`

public class PasswordValidationCallback extends Object implements 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(Subject subject, String username, char[] password)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `clearPassword()`
  `char[]`
  `getPassword()`
  `boolean`
  `getResult()`
  `Subject`
  `getSubject()`
  `String`
  `getUsername()`
  `void`
  `setResult(boolean result)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PasswordValidationCallback

    public PasswordValidationCallback(Subject subject, String username, char[] password)

- ## Method Details

  - ### getSubject

    public Subject getSubject()

  - ### getUsername

    public String getUsername()

  - ### getPassword

    public char[] getPassword()

  - ### clearPassword

    public void clearPassword()

  - ### setResult

    public void setResult(boolean result)

  - ### getResult

    public boolean getResult()