Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
AuthenticationPolicy
Set authentication policy.
Parameters
Name Type Description

authenticationMethod

AuthenticationMethod

Default value: EMAIL_SELF_ENROLLMENT

Authentication method

Possible values: [SYSTEM_ACCOUNT, OIDC_ACCOUNT, USER_PASSWORD, AD_SSO, GENERAL_OAUTH, MULTI_METHODS, SAML, EMAIL_SELF_ENROLLMENT, EID_ACCOUNT].

editIdpTTLSettings

EditIdpTTLSettings

maxPasswordEntryAttempts

Integer

Default value: 10

Maximum password entry attempts

passwordBlackList

List(String)

Default value: new LinkedList()

List of blacklisted (invalid) passwords

passwordHistoryCount

Integer

Not null
Default value: 10
Maximum value: 10

Block users from changing their password to the one of the last X (count) passwords they used before

passwordHistoryDays

Integer

Not null
Default value: 30
Maximum value: 30

Block users from re-using a password that was used in the past Y (days) days

passwordLifeInDays

Integer

Default value: 90

Life of password in days

passwordMaxLength

Integer

Default value: 1024

Maxium password length

passwordMinLength

Integer

Default value: 6

Minimum password length

passwordMinLoCaseLetters

Integer

Default value: 0

Minimum number of lowercase letters

passwordMinNumbers

Integer

Default value: 0

Minimum number of numbers

passwordMinSpecialSymbols

Integer

Default value: 0

Minimum number of special symbols

passwordMinUpCaseLetters

Integer

Default value: 0

Minimum number of uppercase letters

rememberMeTokenValidityInDays

Integer

Default value: 90

Life of remember me token in days

secretQuestions

List(String)

Deprecated
Default value: new LinkedList()

List of secret questions for user authentication

Json Format
{
authenticationMethod: AuthenticationMethod,
secretQuestions: List(String),
passwordMaxLength: Integer,
passwordMinLength: Integer,
passwordMinUpCaseLetters: Integer,
passwordMinLoCaseLetters: Integer,
passwordMinSpecialSymbols: Integer,
passwordMinNumbers: Integer,
passwordBlackList: List(String),
maxPasswordEntryAttempts: Integer,
passwordLifeInDays: Integer,
rememberMeTokenValidityInDays: Integer,
passwordHistoryCount: Integer,
passwordHistoryDays: Integer,
editIdpTTLSettings:
{
defaultRefreshTokenTTL:
{
value: Integer
},
defaultAccessTokenTTL:
{
value: Integer
},
singleUseAccessTokenTTL:
{
value: Integer
},
defaultAutoRenewRefreshToken: Boolean,
clientsSettings: List(
{
clientId: String,
refreshTokenTTL:
{
value: Integer
},
accessTokenTTL:
{
value: Integer
},
autoRenewRefreshToken: Boolean
})
})
}