Class AuthenticationPolicyJson

    • Constructor Detail

      • AuthenticationPolicyJson

        public AuthenticationPolicyJson()
    • Method Detail

      • getPasswordMinUpCaseLetters

        public Integer getPasswordMinUpCaseLetters()
        Minimum number of uppercase letters
        Returns:
        Minimum number of uppercase letters
      • setPasswordMinUpCaseLetters

        public void setPasswordMinUpCaseLetters​(Integer passwordMinUpCaseLetters)
        Minimum number of uppercase letters
        Parameters:
        passwordMinUpCaseLetters - Minimum number of uppercase letters
      • getPasswordMaxLength

        public Integer getPasswordMaxLength()
        Maxium password length
        Returns:
        Maxium password length
      • setPasswordMaxLength

        public void setPasswordMaxLength​(Integer passwordMaxLength)
        Maxium password length
        Parameters:
        passwordMaxLength - Maxium password length
      • getSecretQuestions

        public List<String> getSecretQuestions()
        List of secret questions for user authentication
        Returns:
        List of secret questions for user authentication
      • setSecretQuestions

        public void setSecretQuestions​(List<String> secretQuestions)
        List of secret questions for user authentication
        Parameters:
        secretQuestions - List of secret questions for user authentication
      • getPasswordMinLength

        public Integer getPasswordMinLength()
        Minimum password length
        Returns:
        Minimum password length
      • setPasswordMinLength

        public void setPasswordMinLength​(Integer passwordMinLength)
        Minimum password length
        Parameters:
        passwordMinLength - Minimum password length
      • getRememberMeTokenValidityInDays

        public Integer getRememberMeTokenValidityInDays()
        Life of remember me token in days
        Returns:
        Life of remember me token in days
      • setRememberMeTokenValidityInDays

        public void setRememberMeTokenValidityInDays​(Integer rememberMeTokenValidityInDays)
        Life of remember me token in days
        Parameters:
        rememberMeTokenValidityInDays - Life of remember me token in days
      • getMaxPasswordEntryAttempts

        public Integer getMaxPasswordEntryAttempts()
        Maximum password entry attempts
        Returns:
        Maximum password entry attempts
      • setMaxPasswordEntryAttempts

        public void setMaxPasswordEntryAttempts​(Integer maxPasswordEntryAttempts)
        Maximum password entry attempts
        Parameters:
        maxPasswordEntryAttempts - Maximum password entry attempts
      • getPasswordBlackList

        public List<String> getPasswordBlackList()
        List of blacklisted (invalid) passwords
        Returns:
        List of blacklisted (invalid) passwords
      • setPasswordBlackList

        public void setPasswordBlackList​(List<String> passwordBlackList)
        List of blacklisted (invalid) passwords
        Parameters:
        passwordBlackList - List of blacklisted (invalid) passwords
      • getPasswordMinNumbers

        public Integer getPasswordMinNumbers()
        Minimum number of numbers
        Returns:
        Minimum number of numbers
      • setPasswordMinNumbers

        public void setPasswordMinNumbers​(Integer passwordMinNumbers)
        Minimum number of numbers
        Parameters:
        passwordMinNumbers - Minimum number of numbers
      • getAuthenticationMethod

        public AuthenticationMethod getAuthenticationMethod()
        Authentication method
        Returns:
        Authentication method
      • setAuthenticationMethod

        public void setAuthenticationMethod​(AuthenticationMethod authenticationMethod)
        Authentication method
        Parameters:
        authenticationMethod - Authentication method
      • getPasswordHistoryCount

        public Integer getPasswordHistoryCount()
        Block users from changing their password to the one of the last X (count) passwords they used before
        Returns:
        Block users from changing their password to the one of the last X (count) passwords they used before
      • setPasswordHistoryCount

        public void setPasswordHistoryCount​(Integer passwordHistoryCount)
        Block users from changing their password to the one of the last X (count) passwords they used before
        Parameters:
        passwordHistoryCount - Block users from changing their password to the one of the last X (count) passwords they used before
      • getPasswordMinLoCaseLetters

        public Integer getPasswordMinLoCaseLetters()
        Minimum number of lowercase letters
        Returns:
        Minimum number of lowercase letters
      • setPasswordMinLoCaseLetters

        public void setPasswordMinLoCaseLetters​(Integer passwordMinLoCaseLetters)
        Minimum number of lowercase letters
        Parameters:
        passwordMinLoCaseLetters - Minimum number of lowercase letters
      • getPasswordHistoryDays

        public Integer getPasswordHistoryDays()
        Block users from re-using a password that was used in the past Y (days) days
        Returns:
        Block users from re-using a password that was used in the past Y (days) days
      • setPasswordHistoryDays

        public void setPasswordHistoryDays​(Integer passwordHistoryDays)
        Block users from re-using a password that was used in the past Y (days) days
        Parameters:
        passwordHistoryDays - Block users from re-using a password that was used in the past Y (days) days
      • getPasswordMinSpecialSymbols

        public Integer getPasswordMinSpecialSymbols()
        Minimum number of special symbols
        Returns:
        Minimum number of special symbols
      • setPasswordMinSpecialSymbols

        public void setPasswordMinSpecialSymbols​(Integer passwordMinSpecialSymbols)
        Minimum number of special symbols
        Parameters:
        passwordMinSpecialSymbols - Minimum number of special symbols
      • getPasswordLifeInDays

        public Integer getPasswordLifeInDays()
        Life of password in days
        Returns:
        Life of password in days
      • setPasswordLifeInDays

        public void setPasswordLifeInDays​(Integer passwordLifeInDays)
        Life of password in days
        Parameters:
        passwordLifeInDays - Life of password in days