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
All Methods Instance Methods Concrete Methods 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 authentication-
Methods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getEditIdpTTLSettings
public EditIdpTTLSettingsJson getEditIdpTTLSettings()
-
setEditIdpTTLSettings
public void setEditIdpTTLSettings(EditIdpTTLSettingsJson editIdpTTLSettings)
-
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
-
-