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 Description CredentialValidationCallback(javax.security.auth.Subject subject, java.lang.String userName, Credential credential)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearCredential()
Credential
getCredential()
boolean
getResult()
javax.security.auth.Subject
getSubject()
java.lang.String
getUsername()
void
setResult(boolean result)
-
-
-
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)
-
-