public interface HttpOauth2TokenIntrospectionAuthorizationMechanismCfg extends HttpOauth2AuthorizationMechanismCfg
The HTTP OAuth2 Token Introspection (RFC 7662) Authorization Mechanism is used to define OAuth2 authorization using an introspection (RFC7662) compliant authorization server.
Modifier and Type | Method and Description |
---|---|
void |
addHttpOauth2TokenIntrospectionAuthorizationMechanismChangeListener(ConfigurationChangeListener<HttpOauth2TokenIntrospectionAuthorizationMechanismCfg> listener)
Register to be notified when this HTTP OAuth2 Token Introspection (RFC 7662) Authorization Mechanism is changed.
|
Class<? extends HttpOauth2TokenIntrospectionAuthorizationMechanismCfg> |
configurationClass()
Gets the configuration class associated with this HTTP OAuth2 Token Introspection (RFC 7662) Authorization Mechanism.
|
String |
getClientId()
Gets the "client-id" property.
|
String |
getClientSecret()
Gets the "client-secret" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
String |
getKeyManagerProvider()
Gets the "key-manager-provider" property.
|
Dn |
getKeyManagerProviderDn()
Gets the "key-manager-provider" property as a DN.
|
String |
getTokenIntrospectionUrl()
Gets the "token-introspection-url" property.
|
String |
getTrustManagerProvider()
Gets the "trust-manager-provider" property.
|
Dn |
getTrustManagerProviderDn()
Gets the "trust-manager-provider" property as a DN.
|
void |
removeHttpOauth2TokenIntrospectionAuthorizationMechanismChangeListener(ConfigurationChangeListener<HttpOauth2TokenIntrospectionAuthorizationMechanismCfg> listener)
Deregister an existing HTTP OAuth2 Token Introspection (RFC 7662) Authorization Mechanism configuration change listener.
|
addHttpOauth2AuthorizationMechanismChangeListener, getAccessTokenCacheExpiration, getAuthzidJsonPointer, getIdentityMapper, getIdentityMapperDn, getRequiredScope, isAccessTokenCacheEnabled, removeHttpOauth2AuthorizationMechanismChangeListener
addChangeListener, isEnabled, removeChangeListener
dn, name
Class<? extends HttpOauth2TokenIntrospectionAuthorizationMechanismCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface HttpAuthorizationMechanismCfg
configurationClass
in interface HttpOauth2AuthorizationMechanismCfg
void addHttpOauth2TokenIntrospectionAuthorizationMechanismChangeListener(ConfigurationChangeListener<HttpOauth2TokenIntrospectionAuthorizationMechanismCfg> listener)
listener
- The HTTP OAuth2 Token Introspection (RFC 7662) Authorization Mechanism configuration change listener.void removeHttpOauth2TokenIntrospectionAuthorizationMechanismChangeListener(ConfigurationChangeListener<HttpOauth2TokenIntrospectionAuthorizationMechanismCfg> listener)
listener
- The HTTP OAuth2 Token Introspection (RFC 7662) Authorization Mechanism configuration change listener.String getClientId()
Client's ID to use during the HTTP basic authentication against the authorization server.
String getClientSecret()
Client's secret to use during the HTTP basic authentication against the authorization server.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the HTTP OAuth2 Token Introspection (RFC 7662) Authorization Mechanism implementation.
getJavaClass
in interface HttpAuthorizationMechanismCfg
String getKeyManagerProvider()
Specifies the name of the key manager that should be used with this HTTP OAuth2 Token Introspection (RFC 7662) Authorization Mechanism .
Dn getKeyManagerProviderDn()
Specifies the name of the key manager that should be used with this HTTP OAuth2 Token Introspection (RFC 7662) Authorization Mechanism .
String getTokenIntrospectionUrl()
Defines the token introspection endpoint URL where the access-token resolution request should be sent. (example: http://example.com/introspect)
String getTrustManagerProvider()
Specifies the name of the trust manager that should be used when negotiating SSL connections with the remote authorization server.
Dn getTrustManagerProviderDn()
Specifies the name of the trust manager that should be used when negotiating SSL connections with the remote authorization server.
Copyright 2010-2020 ForgeRock AS.