public interface HttpOauth2TokenIntrospectionAuthorizationMechanismCfgClient extends HttpOauth2AuthorizationMechanismCfgClient
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 |
---|---|
ManagedObjectDefinition<? extends HttpOauth2TokenIntrospectionAuthorizationMechanismCfgClient,? extends HttpOauth2TokenIntrospectionAuthorizationMechanismCfg> |
definition()
Get the configuration definition 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.
|
String |
getTokenIntrospectionUrl()
Gets the "token-introspection-url" property.
|
String |
getTrustManagerProvider()
Gets the "trust-manager-provider" property.
|
void |
setClientId(String value)
Sets the "client-id" property.
|
void |
setClientSecret(String value)
Sets the "client-secret" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setKeyManagerProvider(String value)
Sets the "key-manager-provider" property.
|
void |
setTokenIntrospectionUrl(String value)
Sets the "token-introspection-url" property.
|
void |
setTrustManagerProvider(String value)
Sets the "trust-manager-provider" property.
|
getAccessTokenCacheExpiration, getAuthzidJsonPointer, getIdentityMapper, getRequiredScope, isAccessTokenCacheEnabled, setAccessTokenCacheEnabled, setAccessTokenCacheExpiration, setAuthzidJsonPointer, setIdentityMapper, setRequiredScope
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends HttpOauth2TokenIntrospectionAuthorizationMechanismCfgClient,? extends HttpOauth2TokenIntrospectionAuthorizationMechanismCfg> definition()
definition
in interface ConfigurationClient
definition
in interface HttpAuthorizationMechanismCfgClient
definition
in interface HttpOauth2AuthorizationMechanismCfgClient
String getClientId()
Client's ID to use during the HTTP basic authentication against the authorization server.
void setClientId(String value) throws PropertyException
Client's ID to use during the HTTP basic authentication against the authorization server.
value
- The value of the "client-id" property.PropertyException
- If the new value is invalid.String getClientSecret()
Client's secret to use during the HTTP basic authentication against the authorization server.
void setClientSecret(String value) throws PropertyException
Client's secret to use during the HTTP basic authentication against the authorization server.
value
- The value of the "client-secret" property.PropertyException
- If the new value is invalid.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 HttpAuthorizationMechanismCfgClient
void setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the HTTP OAuth2 Token Introspection (RFC 7662) Authorization Mechanism implementation.
setJavaClass
in interface HttpAuthorizationMechanismCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.String getKeyManagerProvider()
Specifies the name of the key manager that should be used with this HTTP OAuth2 Token Introspection (RFC 7662) Authorization Mechanism .
void setKeyManagerProvider(String value) throws PropertyException
Specifies the name of the key manager that should be used with this HTTP OAuth2 Token Introspection (RFC 7662) Authorization Mechanism .
value
- The value of the "key-manager-provider" property.PropertyException
- If the new value is invalid.String getTokenIntrospectionUrl()
Defines the token introspection endpoint URL where the access-token resolution request should be sent. (example: http://example.com/introspect)
void setTokenIntrospectionUrl(String value) throws PropertyException
Defines the token introspection endpoint URL where the access-token resolution request should be sent. (example: http://example.com/introspect)
value
- The value of the "token-introspection-url" property.PropertyException
- If the new value is invalid.String getTrustManagerProvider()
Specifies the name of the trust manager that should be used when negotiating SSL connections with the remote authorization server.
void setTrustManagerProvider(String value) throws PropertyException
Specifies the name of the trust manager that should be used when negotiating SSL connections with the remote authorization server.
value
- The value of the "trust-manager-provider" property.PropertyException
- If the new value is invalid.Copyright 2010-2020 ForgeRock AS.