public class ChallengeResponseConfiguration
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
ChallengeResponseConfiguration(boolean challengeResponseEnabled,
boolean userDefined,
int numRequired,
java.util.Collection adminDefinedChallenges,
int minResponseLength,
int maxRepeatChar,
boolean isUserIdDisallowed,
boolean isResponseUnique,
boolean doesAnswerMatchQuestion)
ChallengeResponseConfiguration constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
areChallengesUserDefined()
Determine whether challenge response definition mode is set to
USER-DEFINED.
|
boolean |
doesAnswerMatchQuestion() |
java.util.Collection |
getAdminDefinedChallenges()
Gets the set of challenges that are defined by an administrator.
|
int |
getmaxRepeatChar() |
int |
getminResponseLength() |
int |
getNumRequiredChallenges()
Get the number of challenges and response a user must configure.
|
boolean |
isChallengeResponseEnabled()
Determine whether challenge response is enabled.
|
boolean |
isResponseUnique() |
boolean |
isUserIdDisallowed() |
public ChallengeResponseConfiguration(boolean challengeResponseEnabled,
boolean userDefined,
int numRequired,
java.util.Collection adminDefinedChallenges,
int minResponseLength,
int maxRepeatChar,
boolean isUserIdDisallowed,
boolean isResponseUnique,
boolean doesAnswerMatchQuestion)
challengeResponseEnabled - Indicates whether challenge/response is enabled or notuserDefined - Indicates whether the questions are defined by the usernumRequired - Number of questions the user must defineadminDefinedChallenges - of the admin-defined challenges Stringpublic int getminResponseLength()
public int getmaxRepeatChar()
public boolean isUserIdDisallowed()
public boolean isResponseUnique()
public boolean doesAnswerMatchQuestion()
public boolean isChallengeResponseEnabled()
public boolean areChallengesUserDefined()
public int getNumRequiredChallenges()
public java.util.Collection getAdminDefinedChallenges()
String that the administrator configured.