public class DefaultPasswordPolicyRuleBuilder extends DefaultPolicyRuleBuilder<PasswordPolicyRuleBuilder> implements PasswordPolicyRuleBuilder
priority, status, type
Constructor and Description |
---|
DefaultPasswordPolicyRuleBuilder() |
Modifier and Type | Method and Description |
---|---|
PasswordPolicyRuleBuilder |
addGroup(String groupId) |
PasswordPolicyRuleBuilder |
addUser(String userId) |
PasswordPolicyRule |
buildAndCreate(Client client,
Policy policy) |
PasswordPolicyRuleBuilder |
setGroups(List<String> groupIds) |
PasswordPolicyRuleBuilder |
setName(String name) |
PasswordPolicyRuleBuilder |
setNetworkConnection(PolicyNetworkCondition.ConnectionEnum connection) |
PasswordPolicyRuleBuilder |
setPasswordChangeAccess(PasswordPolicyRuleAction.AccessEnum passwordChangeAccess) |
PasswordPolicyRuleBuilder |
setSelfServicePasswordResetAccess(PasswordPolicyRuleAction.AccessEnum passwordResetAccess) |
PasswordPolicyRuleBuilder |
setSelfServiceUnlockAccess(PasswordPolicyRuleAction.AccessEnum unlockAccess) |
PasswordPolicyRuleBuilder |
setUsers(List<String> userIds) |
self, setPriority, setStatus, setType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
instance, setGroups, setUsers
setPriority, setStatus, setType
public PasswordPolicyRuleBuilder setName(String name)
setName
in interface PasswordPolicyRuleBuilder
public PasswordPolicyRuleBuilder setNetworkConnection(PolicyNetworkCondition.ConnectionEnum connection)
setNetworkConnection
in interface PasswordPolicyRuleBuilder
public PasswordPolicyRuleBuilder setUsers(List<String> userIds)
setUsers
in interface PasswordPolicyRuleBuilder
public PasswordPolicyRuleBuilder addUser(String userId)
addUser
in interface PasswordPolicyRuleBuilder
public PasswordPolicyRuleBuilder setGroups(List<String> groupIds)
setGroups
in interface PasswordPolicyRuleBuilder
public PasswordPolicyRuleBuilder addGroup(String groupId)
addGroup
in interface PasswordPolicyRuleBuilder
public PasswordPolicyRuleBuilder setSelfServiceUnlockAccess(PasswordPolicyRuleAction.AccessEnum unlockAccess)
setSelfServiceUnlockAccess
in interface PasswordPolicyRuleBuilder
public PasswordPolicyRuleBuilder setSelfServicePasswordResetAccess(PasswordPolicyRuleAction.AccessEnum passwordResetAccess)
setSelfServicePasswordResetAccess
in interface PasswordPolicyRuleBuilder
public PasswordPolicyRuleBuilder setPasswordChangeAccess(PasswordPolicyRuleAction.AccessEnum passwordChangeAccess)
setPasswordChangeAccess
in interface PasswordPolicyRuleBuilder
public PasswordPolicyRule buildAndCreate(Client client, Policy policy)
buildAndCreate
in interface PolicyRuleBuilder<PasswordPolicyRuleBuilder>
buildAndCreate
in class DefaultPolicyRuleBuilder<PasswordPolicyRuleBuilder>
Copyright © 2017–2023 Okta. All rights reserved.