public class DefaultSignOnPolicyRuleBuilder extends DefaultPolicyRuleBuilder<SignOnPolicyRuleBuilder> implements SignOnPolicyRuleBuilder
priority, status, type
Constructor and Description |
---|
DefaultSignOnPolicyRuleBuilder() |
self, setPriority, setStatus, setType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
instance, setGroups, setUsers
setPriority, setStatus, setType
public SignOnPolicyRuleBuilder setName(String name)
setName
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder setAccess(OktaSignOnPolicyRuleSignonActions.AccessEnum access)
setAccess
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder setFactorLifetime(Integer factorLifetime)
setFactorLifetime
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder setFactorPromptMode(OktaSignOnPolicyRuleSignonActions.FactorPromptModeEnum factorPromptMode)
setFactorPromptMode
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder setRememberDeviceByDefault(Boolean rememberDeviceByDefault)
setRememberDeviceByDefault
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder setRequireFactor(Boolean requireFactor)
setRequireFactor
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder setMaxSessionIdleMinutes(Integer maxSessionIdleMinutes)
setMaxSessionIdleMinutes
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder setMaxSessionLifetimeMinutes(Integer maxSessionLifetimeMinutes)
setMaxSessionLifetimeMinutes
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder setUsePersistentCookie(Boolean usePersistentCookie)
setUsePersistentCookie
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder setAuthType(PolicyRuleAuthContextCondition.AuthTypeEnum authType)
setAuthType
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder setNetworkConnection(PolicyNetworkCondition.ConnectionEnum connection)
setNetworkConnection
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder setUsers(List<String> userIds)
setUsers
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder addUser(String userId)
addUser
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder setGroups(List<String> groupIds)
setGroups
in interface SignOnPolicyRuleBuilder
public SignOnPolicyRuleBuilder addGroup(String groupId)
addGroup
in interface SignOnPolicyRuleBuilder
public OktaSignOnPolicyRule buildAndCreate(Client client, Policy policy)
buildAndCreate
in interface PolicyRuleBuilder<SignOnPolicyRuleBuilder>
buildAndCreate
in class DefaultPolicyRuleBuilder<SignOnPolicyRuleBuilder>
Copyright © 2017–2023 Okta. All rights reserved.