The
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.
ds-cfg-http-oauth2-file-authorization-mechanism
ds-cfg-http-oauth2-authorization-mechanism
org.opends.server.protocols.http.authz.HttpOAuth2FileAuthorizationMechanism
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.
oauth2-demo/
ds-cfg-oauth2-access-token-directory