org.jboss.security.auth.callback
Class ObjectCallback

java.lang.Object
  extended byorg.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
 
Method Summary
 void clearCredential()
           
 java.lang.Object getCredential()
           
 java.lang.String getPrompt()
           
 void setCredential(java.lang.Object credential)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectCallback

public ObjectCallback(java.lang.String prompt)
Initialize the SecurityAssociationCallback

Method Detail

getPrompt

public java.lang.String getPrompt()

getCredential

public java.lang.Object getCredential()

setCredential

public void setCredential(java.lang.Object credential)

clearCredential

public void clearCredential()