Package org.forgerock.http.oauth2

This package provides APIs for OAuth 2.0 services implementations.

Included in the package is an OAuth 2.0 token validation filter that acts as an OAuth 2 Resource Server.

  • It ensures that there is an existing bearer access token in the request's headers.
  • It resolves the token against an Authorization Server (using a AccessTokenResolver implementation).
  • It performs the token validation: checking expiration time and required scopes compliance.