public interface HTTPOauth2FileAuthorizationMechanismCfgClient extends HTTPOauth2AuthorizationMechanismCfgClient
The HTTP Oauth2 File Authorization Mechanism is used to define OAuth2 authorization through a file based access-token resolution. For test purpose only, this mechanism is looking up for JSON access-token files under the specified path.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends HTTPOauth2FileAuthorizationMechanismCfgClient,? extends HTTPOauth2FileAuthorizationMechanismCfg> |
definition()
Get the configuration definition associated with this HTTP Oauth2 File Authorization Mechanism.
|
String |
getAccessTokenDirectory()
Gets the "access-token-directory" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
void |
setAccessTokenDirectory(String value)
Sets the "access-token-directory" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
getAccessTokenCacheExpiration, getAuthzidJsonPointer, getIdentityMapper, getRequiredScope, isAccessTokenCacheEnabled, setAccessTokenCacheEnabled, setAccessTokenCacheExpiration, setAuthzidJsonPointer, setIdentityMapper, setRequiredScope
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends HTTPOauth2FileAuthorizationMechanismCfgClient,? extends HTTPOauth2FileAuthorizationMechanismCfg> definition()
definition
in interface ConfigurationClient
definition
in interface HTTPAuthorizationMechanismCfgClient
definition
in interface HTTPOauth2AuthorizationMechanismCfgClient
String getAccessTokenDirectory()
Directory containing token files. File names must be equal to the token strings. The file content must a JSON object with the following attributes: 'scope', 'expireTime' and all the field(s) needed to resolve the authzIdTemplate.
void setAccessTokenDirectory(String value) throws PropertyException
Directory containing token files. File names must be equal to the token strings. The file content must a JSON object with the following attributes: 'scope', 'expireTime' and all the field(s) needed to resolve the authzIdTemplate.
value
- The value of the "access-token-directory" property.PropertyException
- If the new value is invalid.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the HTTP Oauth2 File 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 File Authorization Mechanism implementation.
setJavaClass
in interface HTTPAuthorizationMechanismCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.Copyright 2010-2017 ForgeRock AS.