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.
|
ValueOrExpression<String> |
getClientId()
Gets the "client-id" property.
|
ValueOrExpression<String> |
getClientSecret()
Gets the "client-secret" property.
|
ValueOrExpression<String> |
getJavaClass()
Gets the "java-class" property.
|
ValueOrExpression<String> |
getKeyManagerProvider()
Gets the "key-manager-provider" property.
|
ValueOrExpression<String> |
getTokenIntrospectionUrl()
Gets the "token-introspection-url" property.
|
ValueOrExpression<String> |
getTrustManagerProvider()
Gets the "trust-manager-provider" property.
|
void |
setClientId(ValueOrExpression<String> value)
Sets the "client-id" property.
|
void |
setClientSecret(ValueOrExpression<String> value)
Sets the "client-secret" property.
|
void |
setJavaClass(ValueOrExpression<String> value)
Sets the "java-class" property.
|
void |
setKeyManagerProvider(ValueOrExpression<String> value)
Sets the "key-manager-provider" property.
|
void |
setTokenIntrospectionUrl(ValueOrExpression<String> value)
Sets the "token-introspection-url" property.
|
void |
setTrustManagerProvider(ValueOrExpression<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
ValueOrExpression<String> getClientId()
Client's ID to use during the HTTP basic authentication against the authorization server.
void setClientId(ValueOrExpression<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.ValueOrExpression<String> getClientSecret()
Client's secret to use during the HTTP basic authentication against the authorization server.
void setClientSecret(ValueOrExpression<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.ValueOrExpression<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(ValueOrExpression<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.ValueOrExpression<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(ValueOrExpression<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.ValueOrExpression<String> getTokenIntrospectionUrl()
Defines the token introspection endpoint URL where the access-token resolution request should be sent. (example: http://example.com/introspect)
void setTokenIntrospectionUrl(ValueOrExpression<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.ValueOrExpression<String> getTrustManagerProvider()
Specifies the name of the trust manager that should be used when negotiating SSL connections with the remote authorization server.
void setTrustManagerProvider(ValueOrExpression<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-2018 ForgeRock AS.