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 Detail

      • ChallengeResponseConfiguration

        public ChallengeResponseConfiguration(boolean challengeResponseEnabled,
                                              boolean userDefined,
                                              int numRequired,
                                              java.util.Collection adminDefinedChallenges,
                                              int minResponseLength,
                                              int maxRepeatChar,
                                              boolean isUserIdDisallowed,
                                              boolean isResponseUnique,
                                              boolean doesAnswerMatchQuestion)
        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

      • getminResponseLength

        public int getminResponseLength()
      • getmaxRepeatChar

        public int getmaxRepeatChar()
      • isUserIdDisallowed

        public boolean isUserIdDisallowed()
      • isResponseUnique

        public boolean isResponseUnique()
      • doesAnswerMatchQuestion

        public boolean doesAnswerMatchQuestion()
      • 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.