org.eclipse.jetty.security.jaspi.callback

## Class CredentialValidationCallback

- java.lang.Object
- - org.eclipse.jetty.security.jaspi.callback.CredentialValidationCallback

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

      public class CredentialValidationCallback
      extends java.lang.Object
      implements javax.security.auth.callback.Callback

  CredentialValidationCallback Store a jetty Credential for a user so that it can be validated by jaspi

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CredentialValidationCallback(javax.security.auth.Subject subject, java.lang.String userName, Credential credential)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `clearCredential()`
    `Credential` | `getCredential()`
    `boolean` | `getResult()`
    `javax.security.auth.Subject` | `getSubject()`
    `java.lang.String` | `getUsername()`
    `void` | `setResult(boolean result)`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### CredentialValidationCallback

          public CredentialValidationCallback(javax.security.auth.Subject subject,
                                      java.lang.String userName,
                                      Credential credential)

  - ### Method Detail

    - #### getCredential

          public Credential getCredential()

    - #### clearCredential

          public void clearCredential()

    - #### getResult

          public boolean getResult()

    - #### getSubject

          public javax.security.auth.Subject getSubject()

    - #### getUsername

          public java.lang.String getUsername()

    - #### setResult

          public void setResult(boolean result)

Copyright © 2013 FuseSource, Corp.. All Rights Reserved.