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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChallengeResponseConfiguration
public ChallengeResponseConfiguration(boolean challengeResponseEnabled,
boolean userDefined,
int numRequired,
java.util.Collection adminDefinedChallenges)
- ChallengeResponseConfiguration constructor.
- Parameters:
boolean
- Indicates whether challenge/response is enabled or notboolean
- Indicates whether the questions are defined by the userint
- Number of questions the user must defineCollection
- of the admin-defined challenges
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 an administrator configured.