Class JwtIssuerAuthenticationManagerResolver

java.lang.Object
org.springframework.security.oauth2.server.resource.authentication.JwtIssuerAuthenticationManagerResolver
All Implemented Interfaces:
AuthenticationManagerResolver<jakarta.servlet.http.HttpServletRequest>

public final class JwtIssuerAuthenticationManagerResolver extends Object implements AuthenticationManagerResolver<jakarta.servlet.http.HttpServletRequest>
An implementation of AuthenticationManagerResolver that resolves a JWT-based AuthenticationManager based on the Issuer in a signed JWT (JWS). To use, this class must be able to determine whether the `iss` claim is trusted. Recall that anyone can stand up an authorization server and issue valid tokens to a resource server. The simplest way to achieve this is to supply a set of trusted issuers in the constructor. This class derives the Issuer from the `iss` claim found in the HttpServletRequest's Bearer Token.
Since:
5.3