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 |
getBaseDn()
Gets the "base-dn" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
void |
setBaseDn(String value)
Sets the "base-dn" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
getAccessTokenCacheExpiration, getAuthzidJsonPointer, getIdentityMapper, getRequiredScope, isAccessTokenCacheEnabled, setAccessTokenCacheEnabled, setAccessTokenCacheExpiration, setAuthzidJsonPointer, 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 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-2020 ForgeRock AS.