public interface HTTPOauth2TokenIntrospectionAuthorizationMechanismCfg extends HTTPOauth2AuthorizationMechanismCfg
The HTTP Oauth2 Token Introspection 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 Authorization Mechanism is changed.
|
Class<? extends HTTPOauth2TokenIntrospectionAuthorizationMechanismCfg> |
configurationClass()
Gets the configuration class associated with this HTTP Oauth2 Token Introspection Authorization Mechanism.
|
String |
getAuthzidJsonPointer()
Gets the "authzid-json-pointer" property.
|
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 Authorization Mechanism configuration change listener.
|
addHTTPOauth2AuthorizationMechanismChangeListener, getAccessTokenCacheExpiration, getIdentityMapper, getIdentityMapperDN, getRequiredScope, isAccessTokenCacheEnabled, removeHTTPOauth2AuthorizationMechanismChangeListener
addChangeListener, isEnabled, removeChangeListener
dn
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 Authorization Mechanism configuration change listener.void removeHTTPOauth2TokenIntrospectionAuthorizationMechanismChangeListener(ConfigurationChangeListener<HTTPOauth2TokenIntrospectionAuthorizationMechanismCfg> listener)
listener
- The HTTP Oauth2 Token Introspection Authorization Mechanism configuration change listener.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 HTTPOauth2AuthorizationMechanismCfg
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 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 Authorization Mechanism .
DN getKeyManagerProviderDN()
Specifies the name of the key manager that should be used with this HTTP Oauth2 Token Introspection 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-2017 ForgeRock AS.