public interface HttpOauth2CtsAuthorizationMechanismCfg extends HttpOauth2AuthorizationMechanismCfg
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 |
---|---|
void |
addHttpOauth2CtsAuthorizationMechanismChangeListener(ConfigurationChangeListener<HttpOauth2CtsAuthorizationMechanismCfg> listener)
Register to be notified when this HTTP OAuth2 CTS Authorization Mechanism is changed.
|
Class<? extends HttpOauth2CtsAuthorizationMechanismCfg> |
configurationClass()
Gets the configuration class associated with this HTTP OAuth2 CTS Authorization Mechanism.
|
String |
getBaseDn()
Gets the "base-dn" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
void |
removeHttpOauth2CtsAuthorizationMechanismChangeListener(ConfigurationChangeListener<HttpOauth2CtsAuthorizationMechanismCfg> listener)
Deregister an existing HTTP OAuth2 CTS Authorization Mechanism configuration change listener.
|
addHttpOauth2AuthorizationMechanismChangeListener, getAccessTokenCacheExpiration, getAuthzidJsonPointer, getIdentityMapper, getIdentityMapperDn, getRequiredScope, isAccessTokenCacheEnabled, removeHttpOauth2AuthorizationMechanismChangeListener
addChangeListener, isEnabled, removeChangeListener
dn, name
Class<? extends HttpOauth2CtsAuthorizationMechanismCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface HttpAuthorizationMechanismCfg
configurationClass
in interface HttpOauth2AuthorizationMechanismCfg
void addHttpOauth2CtsAuthorizationMechanismChangeListener(ConfigurationChangeListener<HttpOauth2CtsAuthorizationMechanismCfg> listener)
listener
- The HTTP OAuth2 CTS Authorization Mechanism configuration change listener.void removeHttpOauth2CtsAuthorizationMechanismChangeListener(ConfigurationChangeListener<HttpOauth2CtsAuthorizationMechanismCfg> listener)
listener
- The HTTP OAuth2 CTS Authorization Mechanism configuration change listener.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)
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the HTTP OAuth2 CTS Authorization Mechanism implementation.
getJavaClass
in interface HttpAuthorizationMechanismCfg
Copyright 2010-2020 ForgeRock AS.