org.jboss.security.auth.callback
Class ObjectCallback
java.lang.Object
org.jboss.security.auth.callback.ObjectCallback
- All Implemented Interfaces:
- javax.security.auth.callback.Callback
- public class ObjectCallback
- extends java.lang.Object
- implements javax.security.auth.callback.Callback
An implementation of Callback that simply obtains an Object to be used
as the authentication credential. Interpretation of the Object is up to
the LoginModules that validate the credential.
Constructor Summary |
ObjectCallback(java.lang.String prompt)
Initialize the SecurityAssociationCallback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectCallback
public ObjectCallback(java.lang.String prompt)
- Initialize the SecurityAssociationCallback
getPrompt
public java.lang.String getPrompt()
getCredential
public java.lang.Object getCredential()
setCredential
public void setCredential(java.lang.Object credential)
clearCredential
public void clearCredential()