Class CredentialValidationCallback

java.lang.Object
org.eclipse.jetty.ee9.security.jaspi.callback.CredentialValidationCallback
All Implemented Interfaces:
Callback

public class CredentialValidationCallback extends Object implements Callback
CredentialValidationCallback Store a jetty Credential for a user so that it can be validated by jaspi
  • Constructor Details

    • CredentialValidationCallback

      public CredentialValidationCallback(Subject subject, String userName, Credential credential)
  • Method Details

    • getCredential

      public Credential getCredential()
      Returns:
      the credential for validation
    • clearCredential

      public void clearCredential()
    • getResult

      public boolean getResult()
      Returns:
      true if validation was successful, false otherwise
    • getSubject

      public Subject getSubject()
      Returns:
      the subject associated with this credential validation
    • getUsername

      public String getUsername()
      Returns:
      the username associated with the credential
    • setResult

      public void setResult(boolean result)