at.spardat.xma.security
Class ChallengeCallback

java.lang.Object
  extended byat.spardat.xma.security.ChallengeCallback
All Implemented Interfaces:
javax.security.auth.callback.Callback

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

This class can be used by LoginModules to request a challenge. XMACallbackHandler supports this callback.


Constructor Summary
ChallengeCallback()
           
 
Method Summary
 java.lang.String getChallenge()
          Get the challenge as set by the callback handler.
 void setChallenge(java.lang.String string)
          Set the challenge.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChallengeCallback

public ChallengeCallback()
Method Detail

getChallenge

public java.lang.String getChallenge()
Get the challenge as set by the callback handler.

Returns:
the challenge as set by the callback handler.

setChallenge

public void setChallenge(java.lang.String string)
Set the challenge. This method is intended to be used by the callback handler.

Parameters:
string - the challenge to set.