Package com.okta.sdk.impl.resource
Class DefaultPasswordPolicyBuilder
java.lang.Object
com.okta.sdk.impl.resource.DefaultPolicyBuilder<PasswordPolicyBuilder>
com.okta.sdk.impl.resource.DefaultPasswordPolicyBuilder
- All Implemented Interfaces:
PasswordPolicyBuilder
,PolicyBuilder<PasswordPolicyBuilder>
public class DefaultPasswordPolicyBuilder
extends DefaultPolicyBuilder<PasswordPolicyBuilder>
implements PasswordPolicyBuilder
-
Field Summary
Fields inherited from class com.okta.sdk.impl.resource.DefaultPolicyBuilder
description, isActive, name, policyType, priority, status
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildAndCreate
(PolicyApi client) setExcludePasswordDictionary
(Boolean enablePasswordDictionary) setExcludeUserNameInPassword
(Boolean excludeUserNameInPassword) setMinLowerCase
(Integer minLowerCase) setMinNumbers
(Integer minNumbers) setMinPasswordLength
(Integer minPasswordLength) setMinSymbols
(Integer minSymbols) setMinUpperCase
(Integer minUpperCase) setPasswordAutoUnlockMinutes
(Integer pwdAutoUnlockMinutes) setPasswordExpireWarnDays
(Integer pwdExpireWarnDays) setPasswordHistoryCount
(Integer pwdHistoryCount) setPasswordMaxAgeDays
(Integer pwdMaxAgeDays) setPasswordMaxAttempts
(Integer pwdMaxAttempts) setPasswordMinMinutes
(Integer pwdMinMinutes) setPasswordRecoveryOktaCall
(PasswordPolicyRecoveryFactorSettings pwdRecoveryOktaCall) setPasswordRecoveryOktaSMS
(PasswordPolicyRecoveryFactorSettings pwdRecoveryOktaSMS) setPasswordRecoveryTokenLifeMinutes
(Integer pwdRecoveryTokenLifeMinutes) setShowLockoutFailures
(Boolean showLockoutFailures) setSkipUnlock
(Boolean skipUnlock) Methods inherited from class com.okta.sdk.impl.resource.DefaultPolicyBuilder
self, setDescription, setName, setPriority, setStatus, setType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.okta.sdk.resource.policy.PasswordPolicyBuilder
setGroups, setUsers
Methods inherited from interface com.okta.sdk.resource.policy.PolicyBuilder
setDescription, setName, setPriority, setStatus, setType
-
Constructor Details
-
DefaultPasswordPolicyBuilder
public DefaultPasswordPolicyBuilder()
-
-
Method Details
-
setAuthProvider
- Specified by:
setAuthProvider
in interfacePasswordPolicyBuilder
-
setGroups
- Specified by:
setGroups
in interfacePasswordPolicyBuilder
-
addGroup
- Specified by:
addGroup
in interfacePasswordPolicyBuilder
-
setUsers
- Specified by:
setUsers
in interfacePasswordPolicyBuilder
-
addUser
- Specified by:
addUser
in interfacePasswordPolicyBuilder
-
setExcludePasswordDictionary
- Specified by:
setExcludePasswordDictionary
in interfacePasswordPolicyBuilder
-
setExcludeUserNameInPassword
- Specified by:
setExcludeUserNameInPassword
in interfacePasswordPolicyBuilder
-
setMinPasswordLength
- Specified by:
setMinPasswordLength
in interfacePasswordPolicyBuilder
-
setMinLowerCase
- Specified by:
setMinLowerCase
in interfacePasswordPolicyBuilder
-
setMinUpperCase
- Specified by:
setMinUpperCase
in interfacePasswordPolicyBuilder
-
setMinNumbers
- Specified by:
setMinNumbers
in interfacePasswordPolicyBuilder
-
setMinSymbols
- Specified by:
setMinSymbols
in interfacePasswordPolicyBuilder
-
setSkipUnlock
- Specified by:
setSkipUnlock
in interfacePasswordPolicyBuilder
-
setPasswordExpireWarnDays
- Specified by:
setPasswordExpireWarnDays
in interfacePasswordPolicyBuilder
-
setPasswordHistoryCount
- Specified by:
setPasswordHistoryCount
in interfacePasswordPolicyBuilder
-
setPasswordMaxAgeDays
- Specified by:
setPasswordMaxAgeDays
in interfacePasswordPolicyBuilder
-
setPasswordMinMinutes
- Specified by:
setPasswordMinMinutes
in interfacePasswordPolicyBuilder
-
setPasswordAutoUnlockMinutes
- Specified by:
setPasswordAutoUnlockMinutes
in interfacePasswordPolicyBuilder
-
setPasswordMaxAttempts
- Specified by:
setPasswordMaxAttempts
in interfacePasswordPolicyBuilder
-
setShowLockoutFailures
- Specified by:
setShowLockoutFailures
in interfacePasswordPolicyBuilder
-
setPasswordRecoveryOktaCall
public PasswordPolicyBuilder setPasswordRecoveryOktaCall(PasswordPolicyRecoveryFactorSettings pwdRecoveryOktaCall) - Specified by:
setPasswordRecoveryOktaCall
in interfacePasswordPolicyBuilder
-
setPasswordRecoveryOktaSMS
public PasswordPolicyBuilder setPasswordRecoveryOktaSMS(PasswordPolicyRecoveryFactorSettings pwdRecoveryOktaSMS) - Specified by:
setPasswordRecoveryOktaSMS
in interfacePasswordPolicyBuilder
-
setPasswordPolicyRecoveryEmailStatus
public PasswordPolicyBuilder setPasswordPolicyRecoveryEmailStatus(PasswordPolicyRecoveryFactorSettings status) - Specified by:
setPasswordPolicyRecoveryEmailStatus
in interfacePasswordPolicyBuilder
-
setPasswordRecoveryTokenLifeMinutes
public PasswordPolicyBuilder setPasswordRecoveryTokenLifeMinutes(Integer pwdRecoveryTokenLifeMinutes) - Specified by:
setPasswordRecoveryTokenLifeMinutes
in interfacePasswordPolicyBuilder
-
buildAndCreate
- Specified by:
buildAndCreate
in interfacePolicyBuilder<PasswordPolicyBuilder>
- Overrides:
buildAndCreate
in classDefaultPolicyBuilder<PasswordPolicyBuilder>
- Throws:
ApiException
-