public interface HTTPOauth2CtsAuthorizationMechanismCfgClient extends HTTPOauth2AuthorizationMechanismCfgClient
The HTTP Oauth2 Cts Authorization Mechanism is used to define OAuth2 authorization through a direct access to the CTS (Core Token Service).
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends HTTPOauth2CtsAuthorizationMechanismCfgClient,? extends HTTPOauth2CtsAuthorizationMechanismCfg> |
definition()
Get the configuration definition associated with this HTTP Oauth2 Cts Authorization Mechanism.
|
String |
getAuthzidJsonPointer()
Gets the "authzid-json-pointer" property.
|
String |
getBaseDN()
Gets the "base-dn" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
void |
setAuthzidJsonPointer(String value)
Sets the "authzid-json-pointer" property.
|
void |
setBaseDN(String value)
Sets the "base-dn" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
getAccessTokenCacheExpiration, getIdentityMapper, getRequiredScope, isAccessTokenCacheEnabled, setAccessTokenCacheEnabled, setAccessTokenCacheExpiration, setIdentityMapper, setRequiredScope
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends HTTPOauth2CtsAuthorizationMechanismCfgClient,? extends HTTPOauth2CtsAuthorizationMechanismCfg> definition()
definition
in interface ConfigurationClient
definition
in interface HTTPAuthorizationMechanismCfgClient
definition
in interface HTTPOauth2AuthorizationMechanismCfgClient
String getAuthzidJsonPointer()
Specifies the JSON pointer to the value to use as Authorization ID. The JSON pointer is applied to the resolved access token JSON document. (example: /uid)
getAuthzidJsonPointer
in interface HTTPOauth2AuthorizationMechanismCfgClient
void setAuthzidJsonPointer(String value) throws PropertyException
Specifies the JSON pointer to the value to use as Authorization ID. The JSON pointer is applied to the resolved access token JSON document. (example: /uid)
setAuthzidJsonPointer
in interface HTTPOauth2AuthorizationMechanismCfgClient
value
- The value of the "authzid-json-pointer" property.PropertyException
- If the new value is invalid.String getBaseDN()
The base DN of the Core Token Service where access token are stored. (example: ou=famrecords,ou=openam-session,ou=tokens,dc=example,dc=com)
void setBaseDN(String value) throws PropertyException
The base DN of the Core Token Service where access token are stored. (example: ou=famrecords,ou=openam-session,ou=tokens,dc=example,dc=com)
value
- The value of the "base-dn" property.PropertyException
- If the new value is invalid.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the HTTP Oauth2 Cts Authorization Mechanism implementation.
getJavaClass
in interface HTTPAuthorizationMechanismCfgClient
void setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the HTTP Oauth2 Cts Authorization Mechanism implementation.
setJavaClass
in interface HTTPAuthorizationMechanismCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.Copyright 2010-2017 ForgeRock AS.