Class HTTPOauth2TokenIntrospectionAuthorizationMechanismCfgDefn
- java.lang.Object
-
- org.forgerock.opendj.config.AbstractManagedObjectDefinition<C,S>
-
- org.forgerock.opendj.config.ManagedObjectDefinition<HTTPOauth2TokenIntrospectionAuthorizationMechanismCfgClient,HTTPOauth2TokenIntrospectionAuthorizationMechanismCfg>
-
- org.forgerock.opendj.server.config.meta.HTTPOauth2TokenIntrospectionAuthorizationMechanismCfgDefn
-
public final class HTTPOauth2TokenIntrospectionAuthorizationMechanismCfgDefn extends ManagedObjectDefinition<HTTPOauth2TokenIntrospectionAuthorizationMechanismCfgClient,HTTPOauth2TokenIntrospectionAuthorizationMechanismCfg>
An interface for querying the HTTP Oauth2 Token Introspection Authorization Mechanism managed object definition meta information.The HTTP Oauth2 Token Introspection Authorization Mechanism is used to define OAuth2 authorization using an introspection (RFC7662) compliant authorization server.
-
-
Method Summary
-
Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
-
-
-
-
Method Detail
-
getInstance
public static HTTPOauth2TokenIntrospectionAuthorizationMechanismCfgDefn getInstance()
Get the HTTP Oauth2 Token Introspection Authorization Mechanism configuration definition singleton.- Returns:
- Returns the HTTP Oauth2 Token Introspection Authorization Mechanism configuration definition singleton.
-
createClientConfiguration
public HTTPOauth2TokenIntrospectionAuthorizationMechanismCfgClient createClientConfiguration(ManagedObject<? extends HTTPOauth2TokenIntrospectionAuthorizationMechanismCfgClient> impl)
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.- Specified by:
createClientConfigurationin classManagedObjectDefinition<HTTPOauth2TokenIntrospectionAuthorizationMechanismCfgClient,HTTPOauth2TokenIntrospectionAuthorizationMechanismCfg>- Parameters:
impl- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public HTTPOauth2TokenIntrospectionAuthorizationMechanismCfg createServerConfiguration(ServerManagedObject<? extends HTTPOauth2TokenIntrospectionAuthorizationMechanismCfg> impl)
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfigurationin classManagedObjectDefinition<HTTPOauth2TokenIntrospectionAuthorizationMechanismCfgClient,HTTPOauth2TokenIntrospectionAuthorizationMechanismCfg>- Parameters:
impl- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
public Class<HTTPOauth2TokenIntrospectionAuthorizationMechanismCfg> getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClassin classManagedObjectDefinition<HTTPOauth2TokenIntrospectionAuthorizationMechanismCfgClient,HTTPOauth2TokenIntrospectionAuthorizationMechanismCfg>- Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getAccessTokenCacheEnabledPropertyDefinition
public BooleanPropertyDefinition getAccessTokenCacheEnabledPropertyDefinition()
Get the "access-token-cache-enabled" property definition.Indicates whether the HTTP Oauth2 Token Introspection Authorization Mechanism is enabled for use.
- Returns:
- Returns the "access-token-cache-enabled" property definition.
-
getAccessTokenCacheExpirationPropertyDefinition
public DurationPropertyDefinition getAccessTokenCacheExpirationPropertyDefinition()
Get the "access-token-cache-expiration" property definition.Token cache expiration
- Returns:
- Returns the "access-token-cache-expiration" property definition.
-
getAuthzidJsonPointerPropertyDefinition
public StringPropertyDefinition getAuthzidJsonPointerPropertyDefinition()
Get the "authzid-json-pointer" property definition.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)
- Returns:
- Returns the "authzid-json-pointer" property definition.
-
getClientIdPropertyDefinition
public StringPropertyDefinition getClientIdPropertyDefinition()
Get the "client-id" property definition.Client's ID to use during the HTTP basic authentication against the authorization server.
- Returns:
- Returns the "client-id" property definition.
-
getClientSecretPropertyDefinition
public StringPropertyDefinition getClientSecretPropertyDefinition()
Get the "client-secret" property definition.Client's secret to use during the HTTP basic authentication against the authorization server.
- Returns:
- Returns the "client-secret" property definition.
-
getEnabledPropertyDefinition
public BooleanPropertyDefinition getEnabledPropertyDefinition()
Get the "enabled" property definition.Indicates whether the HTTP Oauth2 Token Introspection Authorization Mechanism is enabled.
- Returns:
- Returns the "enabled" property definition.
-
getIdentityMapperPropertyDefinition
public AggregationPropertyDefinition<IdentityMapperCfgClient,IdentityMapperCfg> getIdentityMapperPropertyDefinition()
Get the "identity-mapper" property definition.> Specifies the name of the identity mapper to use in conjunction with the authzid-json-pointer to get the user corresponding to the acccess-token.
- Returns:
- Returns the "identity-mapper" property definition.
-
getJavaClassPropertyDefinition
public ClassPropertyDefinition getJavaClassPropertyDefinition()
Get the "java-class" property definition.Specifies the fully-qualified name of the Java class that provides the HTTP Oauth2 Token Introspection Authorization Mechanism implementation.
- Returns:
- Returns the "java-class" property definition.
-
getKeyManagerProviderPropertyDefinition
public AggregationPropertyDefinition<KeyManagerProviderCfgClient,KeyManagerProviderCfg> getKeyManagerProviderPropertyDefinition()
Get the "key-manager-provider" property definition.Specifies the name of the key manager that should be used with this HTTP Oauth2 Token Introspection Authorization Mechanism .
- Returns:
- Returns the "key-manager-provider" property definition.
-
getRequiredScopePropertyDefinition
public StringPropertyDefinition getRequiredScopePropertyDefinition()
Get the "required-scope" property definition.Scopes required to grant access to the service.
- Returns:
- Returns the "required-scope" property definition.
-
getTokenIntrospectionUrlPropertyDefinition
public StringPropertyDefinition getTokenIntrospectionUrlPropertyDefinition()
Get the "token-introspection-url" property definition.Defines the token introspection endpoint URL where the access-token resolution request should be sent. (example: http://example.com/introspect)
- Returns:
- Returns the "token-introspection-url" property definition.
-
getTrustManagerProviderPropertyDefinition
public AggregationPropertyDefinition<TrustManagerProviderCfgClient,TrustManagerProviderCfg> getTrustManagerProviderPropertyDefinition()
Get the "trust-manager-provider" property definition.Specifies the name of the trust manager that should be used when negotiating SSL connections with the remote authorization server.
- Returns:
- Returns the "trust-manager-provider" property definition.
-
-