Class OpaqueTokenReactiveAuthenticationManager

java.lang.Object
org.springframework.security.oauth2.server.resource.authentication.OpaqueTokenReactiveAuthenticationManager
All Implemented Interfaces:
ReactiveAuthenticationManager

public class OpaqueTokenReactiveAuthenticationManager extends Object implements ReactiveAuthenticationManager
An ReactiveAuthenticationManager implementation for opaque Bearer Tokens, using an OAuth 2.0 Introspection Endpoint to check the token's validity and reveal its attributes.

This ReactiveAuthenticationManager is responsible for introspecting and verifying an opaque access token, returning its attributes set as part of the Authentication statement.

Scopes are translated into GrantedAuthoritys according to the following algorithm:

  1. If there is a "scope" attribute, then convert to a Collection of Strings.
  2. Take the resulting Collection and prepend the "SCOPE_" keyword to each element, adding as GrantedAuthoritys.
Since:
5.2
See Also: