com.ibm.itim.apps.identity
Class ChallengeResponseConfiguration

java.lang.Object
  |
  +--com.ibm.itim.apps.identity.ChallengeResponseConfiguration
All Implemented Interfaces:
java.io.Serializable

public class ChallengeResponseConfiguration
extends java.lang.Object
implements java.io.Serializable

Provides aggregate challenge response configuration capabilities. Note that this class is public; however there are no setters. It is expected that clients will use ChallengeResponseManager.getChallengeResponseConfiguration() to get the ChallengeResponseConfiguration.

See Also:
Serialized Form

Constructor Summary
ChallengeResponseConfiguration(boolean challengeResponseEnabled, boolean userDefined, int numRequired, java.util.Collection adminDefinedChallenges)
          ChallengeResponseConfiguration constructor.
 
Method Summary
 boolean areChallengesUserDefined()
          Determine whether challenge response definition mode is set to USER-DEFINED.
 java.util.Collection getAdminDefinedChallenges()
          Gets the set of challenges that are defined by an administrator.
 int getNumRequiredChallenges()
          Get the number of challenges and response a user must configure.
 boolean isChallengeResponseEnabled()
          Determine whether challenge response is enabled.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChallengeResponseConfiguration

public ChallengeResponseConfiguration(boolean challengeResponseEnabled,
                                      boolean userDefined,
                                      int numRequired,
                                      java.util.Collection adminDefinedChallenges)
ChallengeResponseConfiguration constructor.

Parameters:
challengeResponseEnabled - Indicates whether challenge/response is enabled or not
userDefined - Indicates whether the questions are defined by the user
numRequired - Number of questions the user must define
adminDefinedChallenges - of the admin-defined challenges String
Method Detail

isChallengeResponseEnabled

public boolean isChallengeResponseEnabled()
Determine whether challenge response is enabled.

Returns:
boolean indicating whether challenge/response is enabled for the Subject.

areChallengesUserDefined

public boolean areChallengesUserDefined()
Determine whether challenge response definition mode is set to USER-DEFINED.

Returns:
boolean indicating whether the challenges are defined by the user.

getNumRequiredChallenges

public int getNumRequiredChallenges()
Get the number of challenges and response a user must configure.

Returns:
int the number of challenges a user must configure.

getAdminDefinedChallenges

public java.util.Collection getAdminDefinedChallenges()
Gets the set of challenges that are defined by an administrator. Used when challenge definition mode is ADMIN-DEFINED.

Returns:
Collection of challenges String that the administrator configured.


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.