public interface HTTPOauth2TokenIntrospectionAuthorizationMechanismCfgClient extends HTTPOauth2AuthorizationMechanismCfgClient
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 |
---|---|
ManagedObjectDefinition<? extends HTTPOauth2TokenIntrospectionAuthorizationMechanismCfgClient,? extends HTTPOauth2TokenIntrospectionAuthorizationMechanismCfg> |
definition()
Get the configuration definition 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.
|
String |
getTokenIntrospectionUrl()
Gets the "token-introspection-url" property.
|
String |
getTrustManagerProvider()
Gets the "trust-manager-provider" property.
|
void |
setAuthzidJsonPointer(String value)
Sets the "authzid-json-pointer" 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, getIdentityMapper, getRequiredScope, isAccessTokenCacheEnabled, setAccessTokenCacheEnabled, setAccessTokenCacheExpiration, 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 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 HTTPOauth2AuthorizationMechanismCfgClient
void setAuthzidJsonPointer(String value) throws PropertyException
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)
setAuthzidJsonPointer
in interface HTTPOauth2AuthorizationMechanismCfgClient
value
- The value of the "authzid-json-pointer" property.PropertyException
- If the new value is invalid.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 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 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 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 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-2017 ForgeRock AS.