@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-03-15T15:18:33.003-07:00")
public class DefaultAuthorizationServerPolicy
extends AbstractInstanceResource<AuthorizationServerPolicy>
implements AuthorizationServerPolicy
AuthorizationServerPolicy.StatusEnumpropertiesreadLock, writeLock| Constructor and Description |
|---|
DefaultAuthorizationServerPolicy(InternalDataStore dataStore) |
DefaultAuthorizationServerPolicy(InternalDataStore dataStore,
java.util.Map<java.lang.String,java.lang.Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationServerPolicyRule |
createPolicyRule(java.lang.String authServerId,
AuthorizationServerPolicyRule policyRule)
Creates a policy rule for the specified Custom Authorization Server and Policy.
|
void |
deletePolicy(java.lang.String policyId)
Success
|
void |
deletePolicyRule(java.lang.String authServerId)
Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.
|
PolicyRuleConditions |
getConditions() |
java.util.Date |
getCreated() |
java.lang.String |
getDescription() |
java.util.Map<java.lang.String,java.lang.Object> |
getEmbedded() |
java.lang.String |
getId() |
java.util.Date |
getLastUpdated() |
java.util.Map<java.lang.String,java.lang.Object> |
getLinks() |
java.lang.String |
getName() |
AuthorizationServerPolicyRule |
getPolicyRule(java.lang.String authServerId,
java.lang.String ruleId)
Returns a Policy Rule by ID that is defined in the specified Custom Authorization Server and Policy.
|
java.lang.Integer |
getPriority() |
java.util.Map<java.lang.String,Property> |
getPropertyDescriptors() |
java.lang.Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
AuthorizationServerPolicy.StatusEnum |
getStatus() |
java.lang.Boolean |
getSystem() |
PolicyType |
getType() |
AuthorizationServerPolicyRuleList |
listPolicyRules(java.lang.String authServerId)
Enumerates all policy rules for the specified Custom Authorization Server and Policy.
|
AuthorizationServerPolicy |
setConditions(PolicyRuleConditions conditions) |
AuthorizationServerPolicy |
setDescription(java.lang.String description) |
AuthorizationServerPolicy |
setName(java.lang.String name) |
AuthorizationServerPolicy |
setPriority(java.lang.Integer priority) |
AuthorizationServerPolicy |
setStatus(AuthorizationServerPolicy.StatusEnum status) |
AuthorizationServerPolicy |
setSystem(java.lang.Boolean system) |
AuthorizationServerPolicy |
setType(PolicyType type) |
AuthorizationServerPolicy |
updatePolicy(java.lang.String policyId,
AuthorizationServerPolicy policy)
Success
|
delete, saveclear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, valuesgetBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setPropertyclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetResourceHref, setResourceHrefgetBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringListpublic DefaultAuthorizationServerPolicy(InternalDataStore dataStore)
public DefaultAuthorizationServerPolicy(InternalDataStore dataStore, java.util.Map<java.lang.String,java.lang.Object> properties)
public java.util.Map<java.lang.String,Property> getPropertyDescriptors()
getPropertyDescriptors in class AbstractResourcepublic java.lang.Class<? extends Resource> getResourceClass()
AbstractInstanceResourceFoo, in this case this method may return Foo.class.
(Defaults to getClass().)getResourceClass in class AbstractInstanceResource<AuthorizationServerPolicy>public java.util.Map<java.lang.String,java.lang.Object> getEmbedded()
getEmbedded in interface AuthorizationServerPolicypublic java.util.Map<java.lang.String,java.lang.Object> getLinks()
getLinks in interface AuthorizationServerPolicypublic PolicyRuleConditions getConditions()
getConditions in interface AuthorizationServerPolicypublic AuthorizationServerPolicy setConditions(PolicyRuleConditions conditions)
setConditions in interface AuthorizationServerPolicypublic java.util.Date getCreated()
getCreated in interface AuthorizationServerPolicypublic java.lang.String getDescription()
getDescription in interface AuthorizationServerPolicypublic AuthorizationServerPolicy setDescription(java.lang.String description)
setDescription in interface AuthorizationServerPolicypublic java.lang.String getId()
getId in interface AuthorizationServerPolicypublic java.util.Date getLastUpdated()
getLastUpdated in interface AuthorizationServerPolicypublic java.lang.String getName()
getName in interface AuthorizationServerPolicypublic AuthorizationServerPolicy setName(java.lang.String name)
setName in interface AuthorizationServerPolicypublic java.lang.Integer getPriority()
getPriority in interface AuthorizationServerPolicypublic AuthorizationServerPolicy setPriority(java.lang.Integer priority)
setPriority in interface AuthorizationServerPolicypublic AuthorizationServerPolicy.StatusEnum getStatus()
getStatus in interface AuthorizationServerPolicypublic AuthorizationServerPolicy setStatus(AuthorizationServerPolicy.StatusEnum status)
setStatus in interface AuthorizationServerPolicypublic java.lang.Boolean getSystem()
getSystem in interface AuthorizationServerPolicypublic AuthorizationServerPolicy setSystem(java.lang.Boolean system)
setSystem in interface AuthorizationServerPolicypublic PolicyType getType()
getType in interface AuthorizationServerPolicypublic AuthorizationServerPolicy setType(PolicyType type)
setType in interface AuthorizationServerPolicy@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-03-15T15:18:33.003-07:00",
comments="GET - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}")
public AuthorizationServerPolicyRule getPolicyRule(java.lang.String authServerId,
java.lang.String ruleId)
getPolicyRule in interface AuthorizationServerPolicyauthServerId - (required)ruleId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-03-15T15:18:33.003-07:00",
comments="POST - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules")
public AuthorizationServerPolicyRule createPolicyRule(java.lang.String authServerId,
AuthorizationServerPolicyRule policyRule)
createPolicyRule in interface AuthorizationServerPolicyauthServerId - (required)policyRule - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-03-15T15:18:33.003-07:00",
comments="PUT - /api/v1/authorizationServers/{authServerId}/policies/{policyId}")
public AuthorizationServerPolicy updatePolicy(java.lang.String policyId,
AuthorizationServerPolicy policy)
updatePolicy in interface AuthorizationServerPolicypolicyId - (required)policy - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-03-15T15:18:33.003-07:00",
comments="DELETE - /api/v1/authorizationServers/{authServerId}/policies/{policyId}")
public void deletePolicy(java.lang.String policyId)
deletePolicy in interface AuthorizationServerPolicypolicyId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-03-15T15:18:33.003-07:00",
comments="GET - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules")
public AuthorizationServerPolicyRuleList listPolicyRules(java.lang.String authServerId)
listPolicyRules in interface AuthorizationServerPolicyauthServerId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-03-15T15:18:33.003-07:00",
comments="DELETE - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}")
public void deletePolicyRule(java.lang.String authServerId)
deletePolicyRule in interface AuthorizationServerPolicyauthServerId - (required)Copyright © 2017-2021 Okta. All Rights Reserved.