Index

A B C E F G I N O P R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACCESS_TOKEN_VALIDITY - Static variable in class africa.absa.inception.oauth2.server.authorization.token.TokenService
The access token validity in seconds.
africa.absa.inception.oauth2.server.authorization - package africa.absa.inception.oauth2.server.authorization
 
africa.absa.inception.oauth2.server.authorization.controller - package africa.absa.inception.oauth2.server.authorization.controller
 
africa.absa.inception.oauth2.server.authorization.token - package africa.absa.inception.oauth2.server.authorization.token
 
AuthorizationServerController - Class in africa.absa.inception.oauth2.server.authorization.controller
The AuthorizationServerController class implements a simple OAuth authorization server that provides support for the Resource Owner Password Grant.
AuthorizationServerController(ISecurityService, ITokenService) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.AuthorizationServerController
Constructs a new AuthorizationServerController.

B

build(User, List<String>, List<String>, List<UUID>, Set<String>, String, int, RSAPrivateKey) - Static method in class africa.absa.inception.oauth2.server.authorization.token.OAuth2AccessToken
Build a new OAuth2AccessToken.
build(String, Set<String>, int, RSAPrivateKey) - Static method in class africa.absa.inception.oauth2.server.authorization.token.OAuth2RefreshToken
Build a new OAuth2RefreshToken.

C

CLIENT_ID_PARAMETER - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.GrantRequest
The name of the client ID parameter.
CLIENT_SECRET_PARAMETER - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.GrantRequest
The name of the client secret parameter.

E

ERROR_CODE - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.InvalidClientErrorResponse
The error code for the OAuth2 invalid client error response.
ERROR_CODE - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.InvalidGrantErrorResponse
The error code for the OAuth2 invalid grant error response.
ERROR_CODE - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.InvalidRequestErrorResponse
The error code for the OAuth2 invalid request error response.
ERROR_CODE - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.InvalidScopeErrorResponse
The error code for the OAuth2 invalid scope error response.
ERROR_CODE - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.UnauthorizedClientErrorResponse
The error code for the OAuth2 unauthorized client error response.
ERROR_CODE - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.UnsupportedGrantTypeErrorResponse
The error code for the OAuth2 unsupported grant type error response.
ErrorResponse - Class in africa.absa.inception.oauth2.server.authorization.controller
The ErrorGrantResponse class holds the information for an OAuth2 error response and provides the base class that all OAuth2 error response classes should be derived from.
ErrorResponse(HttpStatus, String) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.ErrorResponse
Constructs a new ErrorGrantResponse.
ErrorResponse(HttpStatus, String, String) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.ErrorResponse
Constructs a new ErrorResponse.

F

FUNCTIONS_CLAIM - Static variable in class africa.absa.inception.oauth2.server.authorization.token.OAuth2AccessToken
The name of the functions claim that provides the functions assigned to the user.

G

getAccessToken() - Method in class africa.absa.inception.oauth2.server.authorization.token.RefreshedOAuth2Tokens
Returns the OAuth2 access token.
getBody() - Method in class africa.absa.inception.oauth2.server.authorization.controller.ErrorResponse
Returns the body for the OAuth2 response.
getBody() - Method in class africa.absa.inception.oauth2.server.authorization.controller.ResourceOwnerPasswordCredentialsGrantResponse
Returns the body for the OAuth2 response.
getBody() - Method in class africa.absa.inception.oauth2.server.authorization.controller.Response
Returns the body for the OAuth2 response.
getBody() - Method in class africa.absa.inception.oauth2.server.authorization.controller.SystemUnavailableResponse
Returns the body for the OAuth2 response.
getClientId() - Method in class africa.absa.inception.oauth2.server.authorization.controller.GrantRequest
Returns the client identifier issued to the client.
getClientSecret() - Method in class africa.absa.inception.oauth2.server.authorization.controller.GrantRequest
Returns the client secret.
getError() - Method in class africa.absa.inception.oauth2.server.authorization.controller.ErrorResponse
Returns the single ASCII error code.
getErrorDescription() - Method in class africa.absa.inception.oauth2.server.authorization.controller.ErrorResponse
Returns the optional human-readable ASCII text description of the error.
getExpiresIn() - Method in class africa.absa.inception.oauth2.server.authorization.token.OAuth2AccessToken
Returns the lifetime in seconds of the access token.
getGrantType() - Method in class africa.absa.inception.oauth2.server.authorization.controller.GrantRequest
Returns the grant type.
getPassword() - Method in class africa.absa.inception.oauth2.server.authorization.controller.ResourceOwnerPasswordCredentialsGrantRequest
Returns the resource owner password.
getRefreshToken() - Method in class africa.absa.inception.oauth2.server.authorization.controller.RefreshAccessTokenGrantRequest
Returns the refresh token.
getRefreshToken() - Method in class africa.absa.inception.oauth2.server.authorization.token.RefreshedOAuth2Tokens
Returns the OAuth2 refresh token.
getScope() - Method in class africa.absa.inception.oauth2.server.authorization.controller.GrantRequest
Returns the requested scope(s) for the access request.
getState() - Method in class africa.absa.inception.oauth2.server.authorization.controller.GrantRequest
Returns the state received from the client.
getStatus() - Method in class africa.absa.inception.oauth2.server.authorization.controller.Response
Returns the HTTP status that should be returned for the OAuth2 response.
getSubject() - Method in class africa.absa.inception.oauth2.server.authorization.token.OAuth2AccessToken
Returns the subject for the token.
getUsername() - Method in class africa.absa.inception.oauth2.server.authorization.controller.ResourceOwnerPasswordCredentialsGrantRequest
Returns the resource owner username.
GRANT_TYPE - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.RefreshAccessTokenGrantRequest
The grant type for the Refresh Access Token Grant.
GRANT_TYPE - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.ResourceOwnerPasswordCredentialsGrantRequest
The grant type for the Resource Owner Password Credentials Grant.
GRANT_TYPE_PARAMETER - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.GrantRequest
The name of the grant type parameter.
GrantRequest - Class in africa.absa.inception.oauth2.server.authorization.controller
The GrantRequest class provides the base class that all OAuth2 grant request classes should be derived from.
GrantRequest(Map<String, String>) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.GrantRequest
Constructs a new GrantRequest.

I

InvalidClientErrorResponse - Class in africa.absa.inception.oauth2.server.authorization.controller
The InvalidClientErrorResponse class holds the information for an OAuth2 invalid client error response.
InvalidClientErrorResponse(HttpStatus) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.InvalidClientErrorResponse
Constructs a new InvalidClientErrorResponse.
InvalidClientErrorResponse(HttpStatus, String) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.InvalidClientErrorResponse
Constructs a new InvalidClientErrorResponse.
InvalidGrantErrorResponse - Class in africa.absa.inception.oauth2.server.authorization.controller
The InvalidGrantErrorResponse class holds the information for an OAuth2 invalid grant error response.
InvalidGrantErrorResponse() - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.InvalidGrantErrorResponse
Constructs a new InvalidGrantErrorResponse.
InvalidGrantErrorResponse(String) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.InvalidGrantErrorResponse
Constructs a new InvalidGrantErrorResponse.
InvalidOAuth2RefreshTokenException - Exception in africa.absa.inception.oauth2.server.authorization.token
The InvalidOAuth2RefreshTokenException exception is thrown to indicate an error condition as a result of an invalid OAuth2 refresh token.
InvalidOAuth2RefreshTokenException() - Constructor for exception africa.absa.inception.oauth2.server.authorization.token.InvalidOAuth2RefreshTokenException
Constructs a new InvalidOAuth2RefreshTokenException with the specified message.
InvalidRequestErrorResponse - Class in africa.absa.inception.oauth2.server.authorization.controller
The InvalidRequestErrorResponse class holds the information for an OAuth2 invalid request error response.
InvalidRequestErrorResponse() - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.InvalidRequestErrorResponse
Constructs a new InvalidRequestErrorResponse.
InvalidRequestErrorResponse(String) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.InvalidRequestErrorResponse
Constructs a new InvalidRequestErrorResponse.
InvalidScopeErrorResponse - Class in africa.absa.inception.oauth2.server.authorization.controller
The InvalidScopeErrorResponse class holds the information for an OAuth2 invalid scope error response.
InvalidScopeErrorResponse() - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.InvalidScopeErrorResponse
Constructs a new InvalidScopeErrorResponse.
InvalidScopeErrorResponse(String) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.InvalidScopeErrorResponse
Constructs a new InvalidScopeErrorResponse.
issueOAuth2AccessToken(String, Set<String>) - Method in interface africa.absa.inception.oauth2.server.authorization.token.ITokenService
Issue an OAuth2 access token for the specified user.
issueOAuth2AccessToken(String, Set<String>) - Method in class africa.absa.inception.oauth2.server.authorization.token.TokenService
Issue an OAuth2 access token for the specified user.
issueOAuth2RefreshToken(String, Set<String>) - Method in interface africa.absa.inception.oauth2.server.authorization.token.ITokenService
Issue an OAuth2 refresh token for the specified user.
issueOAuth2RefreshToken(String, Set<String>) - Method in class africa.absa.inception.oauth2.server.authorization.token.TokenService
Issue an OAuth2 refresh token for the specified user.
isValid(Map<String, String>) - Static method in class africa.absa.inception.oauth2.server.authorization.controller.RefreshAccessTokenGrantRequest
Check whether the required information for the Resource Owner Password Credentials Grant is provided as part of the HTTP servlet request.
isValid(Map<String, String>) - Static method in class africa.absa.inception.oauth2.server.authorization.controller.ResourceOwnerPasswordCredentialsGrantRequest
Check whether the required information for the Resource Owner Password Credentials Grant is provided as part of the HTTP servlet request.
ITokenService - Interface in africa.absa.inception.oauth2.server.authorization.token
The ITokenService interface defines the functionality provided by a Token Service implementation, which manages the OAuth2 tokens for an application.

N

NAME_CLAIM - Static variable in class africa.absa.inception.oauth2.server.authorization.token.OAuth2AccessToken
The name of the claim that provides the name of the user.

O

OAuth2AccessToken - Class in africa.absa.inception.oauth2.server.authorization.token
The OAuth2AccessToken holds the information for an OAuth2 access token.
OAuth2AccessToken(OAuth2AccessToken.TokenType, String, String, Instant, Instant, Set<String>) - Constructor for class africa.absa.inception.oauth2.server.authorization.token.OAuth2AccessToken
Constructs a new OAuth2AccessToken.
OAuth2AccessTokenException - Exception in africa.absa.inception.oauth2.server.authorization.token
The OAuth2AccessTokenException exception is thrown to indicate an error condition when working with an OAuth2 access token.
OAuth2AuthorizationServerConfiguration - Class in africa.absa.inception.oauth2.server.authorization
The OAuth2AuthorizationServerConfiguration class provides the Spring configuration for the OAuth2 Authorization Server module.
OAuth2AuthorizationServerConfiguration() - Constructor for class africa.absa.inception.oauth2.server.authorization.OAuth2AuthorizationServerConfiguration
 
OAuth2RefreshToken - Class in africa.absa.inception.oauth2.server.authorization.token
The OAuth2RefreshToken class holds the information for an OAuth2 refresh token.
OAuth2RefreshToken(String, Instant) - Constructor for class africa.absa.inception.oauth2.server.authorization.token.OAuth2RefreshToken
Constructs a new OAuth2RefreshToken.

P

PASSWORD_PARAMETER - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.ResourceOwnerPasswordCredentialsGrantRequest
The name of the resource owner password parameter.

R

REFRESH_TOKEN_PARAMETER - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.RefreshAccessTokenGrantRequest
The name of the refresh token parameter.
REFRESH_TOKEN_REISSUE_INTERVAL - Static variable in class africa.absa.inception.oauth2.server.authorization.token.TokenService
The period in seconds prior to expiry of the refresh token during which it will be automatically re-issued.
REFRESH_TOKEN_VALIDITY - Static variable in class africa.absa.inception.oauth2.server.authorization.token.TokenService
The refresh token validity in seconds.
RefreshAccessTokenGrantRequest - Class in africa.absa.inception.oauth2.server.authorization.controller
The RefreshAccessTokenGrantRequest class holds the information for a Refresh Access Token Grant request.
RefreshAccessTokenGrantRequest(Map<String, String>) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.RefreshAccessTokenGrantRequest
Constructs a new RefreshAccessTokenGrantRequest.
RefreshedOAuth2Tokens - Class in africa.absa.inception.oauth2.server.authorization.token
The RefreshedOAuth2Tokens class holds a refreshed OAuth2 access token and optionally a refreshed OAuth2 refresh token.
RefreshedOAuth2Tokens(OAuth2AccessToken, OAuth2RefreshToken) - Constructor for class africa.absa.inception.oauth2.server.authorization.token.RefreshedOAuth2Tokens
Constructs a new RefreshedOAuth2Tokens.
refreshOAuth2Tokens(String) - Method in interface africa.absa.inception.oauth2.server.authorization.token.ITokenService
Refresh an OAuth2 access token and if required the OAuth2 refresh token.
refreshOAuth2Tokens(String) - Method in class africa.absa.inception.oauth2.server.authorization.token.TokenService
Refresh an OAuth2 access token and if required the OAuth2 refresh token.
ResourceOwnerPasswordCredentialsGrantRequest - Class in africa.absa.inception.oauth2.server.authorization.controller
The ResourceOwnerPasswordCredentialsGrantRequest class holds the information for a Resource Owner Password Credentials Grant request.
ResourceOwnerPasswordCredentialsGrantRequest(Map<String, String>) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.ResourceOwnerPasswordCredentialsGrantRequest
Constructs a new ResourceOwnerPasswordCredentialsGrantRequest.
ResourceOwnerPasswordCredentialsGrantResponse - Class in africa.absa.inception.oauth2.server.authorization.controller
The ResourceOwnerPasswordCredentialsGrantResponse class holds the information for a Resource Owner Password Credentials Grant response.
ResourceOwnerPasswordCredentialsGrantResponse(String, int, String, String) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.ResourceOwnerPasswordCredentialsGrantResponse
Constructs a new ResourceOwnerPasswordCredentialsGrantResponse.
ResourceOwnerPasswordCredentialsGrantResponse(String, long) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.ResourceOwnerPasswordCredentialsGrantResponse
Constructs a new ResourceOwnerPasswordCredentialsGrantResponse.
ResourceOwnerPasswordCredentialsGrantResponse(String, long, String) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.ResourceOwnerPasswordCredentialsGrantResponse
Constructs a new ResourceOwnerPasswordCredentialsGrantResponse.
Response - Class in africa.absa.inception.oauth2.server.authorization.controller
The Response class provides the base class that all OAuth2 response classes should be derived from.
Response(HttpStatus) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.Response
Constructs a new Response.
ROLES_CLAIM - Static variable in class africa.absa.inception.oauth2.server.authorization.token.OAuth2AccessToken
The name of the roles claim that provides the roles assigned to the user.

S

SCOPE_CLAIM - Static variable in class africa.absa.inception.oauth2.server.authorization.token.OAuth2AccessToken
The name of the scope claim.
SCOPE_CLAIM - Static variable in class africa.absa.inception.oauth2.server.authorization.token.OAuth2RefreshToken
The name of the scope claim.
SCOPE_PARAMETER - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.GrantRequest
The name of the parameter providing the requested access token scope.
STATE_PARAMETER - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.GrantRequest
The name of the state parameter.
SystemUnavailableResponse - Class in africa.absa.inception.oauth2.server.authorization.controller
The SystemUnavailableResponse class holds the information for a response returned to indicated that the system encountered an error and is unable to process the OAuth2 request.
SystemUnavailableResponse(String) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.SystemUnavailableResponse
Constructs a new SystemUnavailableResponse.
SystemUnavailableResponse(String, Throwable) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.SystemUnavailableResponse
Constructs a new SystemUnavailableResponse.

T

TENANTS_CLAIM - Static variable in class africa.absa.inception.oauth2.server.authorization.token.OAuth2AccessToken
The name of the tenants claim that provides the IDs for the tenants the user is associated with.
token(HttpServletRequest, Map<String, String>) - Method in class africa.absa.inception.oauth2.server.authorization.controller.AuthorizationServerController
The "token" endpoint that supports the Resource Owner Password Grant.
TokenCreationException - Exception in africa.absa.inception.oauth2.server.authorization.token
The TokenCreationException exception is thrown to indicate an error condition when creating an OAuth2 token.
TokenCreationException(String) - Constructor for exception africa.absa.inception.oauth2.server.authorization.token.TokenCreationException
Constructs a new TokenCreationException with the specified message.
TokenCreationException(String, Throwable) - Constructor for exception africa.absa.inception.oauth2.server.authorization.token.TokenCreationException
Constructs a new TokenCreationException with the specified message and cause.
TokenService - Class in africa.absa.inception.oauth2.server.authorization.token
The TokenService class provides the Token Service implementation.
TokenService(ISecurityService) - Constructor for class africa.absa.inception.oauth2.server.authorization.token.TokenService
Constructs a new TokenService.

U

UnauthorizedClientErrorResponse - Class in africa.absa.inception.oauth2.server.authorization.controller
The UnauthorizedClientErrorResponse class holds the information for an OAuth2 unauthorized client error response.
UnauthorizedClientErrorResponse() - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.UnauthorizedClientErrorResponse
Constructs a new UnauthorizedClientErrorResponse.
UnauthorizedClientErrorResponse(String) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.UnauthorizedClientErrorResponse
Constructs a new UnauthorizedClientErrorResponse.
UnsupportedGrantTypeErrorResponse - Class in africa.absa.inception.oauth2.server.authorization.controller
The UnsupportedGrantTypeErrorResponse class holds the information for an OAuth2 unsupported grant type error response.
UnsupportedGrantTypeErrorResponse(String) - Constructor for class africa.absa.inception.oauth2.server.authorization.controller.UnsupportedGrantTypeErrorResponse
Constructs a new UnsupportedGrantTypeErrorResponse.
USER_DIRECTORY_ID_CLAIM - Static variable in class africa.absa.inception.oauth2.server.authorization.token.OAuth2AccessToken
The name of the user directory ID claim that provides the ID for the user directory the user is associated with.
USERNAME_PARAMETER - Static variable in class africa.absa.inception.oauth2.server.authorization.controller.ResourceOwnerPasswordCredentialsGrantRequest
The name of the resource owner username parameter.
A B C E F G I N O P R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form