Class AuthenticationPolicyJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.AuthenticationPolicyJson
- All Implemented Interfaces:
Serializable
public class AuthenticationPolicyJson extends BaseJson
Set authentication policy.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AuthenticationPolicyJson()
-
Method Summary
Modifier and Type Method Description AuthenticationMethod
getAuthenticationMethod()
Authentication methodEditIdpTTLSettingsJson
getEditIdpTTLSettings()
Integer
getMaxPasswordEntryAttempts()
Maximum password entry attemptsList<String>
getPasswordBlackList()
List of blacklisted (invalid) passwordsInteger
getPasswordHistoryCount()
Block users from changing their password to the one of the last X (count) passwords they used beforeInteger
getPasswordHistoryDays()
Block users from re-using a password that was used in the past Y (days) daysInteger
getPasswordLifeInDays()
Life of password in daysInteger
getPasswordMaxLength()
Maxium password lengthInteger
getPasswordMinLength()
Minimum password lengthInteger
getPasswordMinLoCaseLetters()
Minimum number of lowercase lettersInteger
getPasswordMinNumbers()
Minimum number of numbersInteger
getPasswordMinSpecialSymbols()
Minimum number of special symbolsInteger
getPasswordMinUpCaseLetters()
Minimum number of uppercase lettersInteger
getRememberMeTokenValidityInDays()
Life of remember me token in daysList<String>
getSecretQuestions()
List of secret questions for user authenticationvoid
setAuthenticationMethod(AuthenticationMethod authenticationMethod)
Authentication methodvoid
setEditIdpTTLSettings(EditIdpTTLSettingsJson editIdpTTLSettings)
void
setMaxPasswordEntryAttempts(Integer maxPasswordEntryAttempts)
Maximum password entry attemptsvoid
setPasswordBlackList(List<String> passwordBlackList)
List of blacklisted (invalid) passwordsvoid
setPasswordHistoryCount(Integer passwordHistoryCount)
Block users from changing their password to the one of the last X (count) passwords they used beforevoid
setPasswordHistoryDays(Integer passwordHistoryDays)
Block users from re-using a password that was used in the past Y (days) daysvoid
setPasswordLifeInDays(Integer passwordLifeInDays)
Life of password in daysvoid
setPasswordMaxLength(Integer passwordMaxLength)
Maxium password lengthvoid
setPasswordMinLength(Integer passwordMinLength)
Minimum password lengthvoid
setPasswordMinLoCaseLetters(Integer passwordMinLoCaseLetters)
Minimum number of lowercase lettersvoid
setPasswordMinNumbers(Integer passwordMinNumbers)
Minimum number of numbersvoid
setPasswordMinSpecialSymbols(Integer passwordMinSpecialSymbols)
Minimum number of special symbolsvoid
setPasswordMinUpCaseLetters(Integer passwordMinUpCaseLetters)
Minimum number of uppercase lettersvoid
setRememberMeTokenValidityInDays(Integer rememberMeTokenValidityInDays)
Life of remember me token in daysvoid
setSecretQuestions(List<String> secretQuestions)
List of secret questions for user authenticationMethods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
AuthenticationPolicyJson
public AuthenticationPolicyJson()
-
-
Method Details
-
getEditIdpTTLSettings
-
setEditIdpTTLSettings
-
getPasswordMinUpCaseLetters
Minimum number of uppercase letters- Returns:
- Minimum number of uppercase letters
-
setPasswordMinUpCaseLetters
Minimum number of uppercase letters- Parameters:
passwordMinUpCaseLetters
- Minimum number of uppercase letters
-
getPasswordMaxLength
Maxium password length- Returns:
- Maxium password length
-
setPasswordMaxLength
Maxium password length- Parameters:
passwordMaxLength
- Maxium password length
-
getSecretQuestions
List of secret questions for user authentication- Returns:
- List of secret questions for user authentication
-
setSecretQuestions
List of secret questions for user authentication- Parameters:
secretQuestions
- List of secret questions for user authentication
-
getPasswordMinLength
Minimum password length- Returns:
- Minimum password length
-
setPasswordMinLength
Minimum password length- Parameters:
passwordMinLength
- Minimum password length
-
getRememberMeTokenValidityInDays
Life of remember me token in days- Returns:
- Life of remember me token in days
-
setRememberMeTokenValidityInDays
Life of remember me token in days- Parameters:
rememberMeTokenValidityInDays
- Life of remember me token in days
-
getMaxPasswordEntryAttempts
Maximum password entry attempts- Returns:
- Maximum password entry attempts
-
setMaxPasswordEntryAttempts
Maximum password entry attempts- Parameters:
maxPasswordEntryAttempts
- Maximum password entry attempts
-
getPasswordBlackList
List of blacklisted (invalid) passwords- Returns:
- List of blacklisted (invalid) passwords
-
setPasswordBlackList
List of blacklisted (invalid) passwords- Parameters:
passwordBlackList
- List of blacklisted (invalid) passwords
-
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
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
-
getPasswordMinNumbers
Minimum number of numbers- Returns:
- Minimum number of numbers
-
setPasswordMinNumbers
Minimum number of numbers- Parameters:
passwordMinNumbers
- Minimum number of numbers
-
getAuthenticationMethod
Authentication method- Returns:
- Authentication method
-
setAuthenticationMethod
Authentication method- Parameters:
authenticationMethod
- Authentication method
-
getPasswordMinLoCaseLetters
Minimum number of lowercase letters- Returns:
- Minimum number of lowercase letters
-
setPasswordMinLoCaseLetters
Minimum number of lowercase letters- Parameters:
passwordMinLoCaseLetters
- Minimum number of lowercase letters
-
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
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
Minimum number of special symbols- Returns:
- Minimum number of special symbols
-
setPasswordMinSpecialSymbols
Minimum number of special symbols- Parameters:
passwordMinSpecialSymbols
- Minimum number of special symbols
-
getPasswordLifeInDays
Life of password in days- Returns:
- Life of password in days
-
setPasswordLifeInDays
Life of password in days- Parameters:
passwordLifeInDays
- Life of password in days
-