Class ConfirmationKeyVerifierAccessTokenResolver
- java.lang.Object
-
- org.forgerock.openig.filter.oauth2.cnf.ConfirmationKeyVerifierAccessTokenResolver
-
- All Implemented Interfaces:
AccessTokenResolver
public class ConfirmationKeyVerifierAccessTokenResolver extends Object implements AccessTokenResolver
AConfirmationKeyVerifierAccessTokenResolver
is responsible of validating confirmation keys bound to the access_token (such as certificate thumbprint).If the presented token has no confirmation key, then we continue the processing (strict checking is only required when confirmation key is presented).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfirmationKeyVerifierAccessTokenResolver.Heaplet
Creates and initializes a Confirmation Key Verifier access_token resolver in the heap environment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Promise<AccessTokenInfo,AccessTokenException>
resolve(Context context, String token)
Resolves a given access token against an authorization server.
-
-
-
Method Detail
-
resolve
public Promise<AccessTokenInfo,AccessTokenException> resolve(Context context, String token)
Description copied from interface:AccessTokenResolver
Resolves a given access token against an authorization server.- Specified by:
resolve
in interfaceAccessTokenResolver
- Parameters:
context
- Context chain used to keep a relationship between requests (tracking)token
- token identifier to be resolved- Returns:
- a promise completed either with a valid
AccessTokenInfo
(well-formed, known by the server), or by an exception
-
-