com.ibm.itim.apps.jaas.callback
Class ChallengeResponseCallback
java.lang.Object
|
+--com.ibm.itim.apps.jaas.callback.ChallengeResponseCallback
- All Implemented Interfaces:
- javax.security.auth.callback.Callback
- public class ChallengeResponseCallback
- extends java.lang.Object
- implements javax.security.auth.callback.Callback
JAAS authentication callback for a set of challenges and responses of the
authenticating user. This callback does not have to be handled if the
user is providing a password. In situations where the user does not, however,
this callback is meant to provide an additional authentication mechanism.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChallengeResponseCallback
public ChallengeResponseCallback()
- Default constructor of the callback.
getChallengesAndResponses
public java.util.Map getChallengesAndResponses()
- Returns the challenges and responses.
- Returns:
- Map of challenge/response String pairs.
setChallengesAndResponses
public void setChallengesAndResponses(java.util.Map cars)
- Changes the challenges and responses.
- Parameters:
cars
- Map of challenge/response String pairs. The challenge is
the key.