public final class JwtReactiveAuthenticationManager
extends java.lang.Object
implements org.springframework.security.authentication.ReactiveAuthenticationManager
ReactiveAuthenticationManager for Jwt tokens.| Constructor and Description |
|---|
JwtReactiveAuthenticationManager(org.springframework.security.oauth2.jwt.ReactiveJwtDecoder jwtDecoder) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<org.springframework.security.core.Authentication> |
authenticate(org.springframework.security.core.Authentication authentication) |
void |
setJwtAuthenticationConverter(org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,? extends reactor.core.publisher.Mono<? extends org.springframework.security.authentication.AbstractAuthenticationToken>> jwtAuthenticationConverter)
Use the given
Converter for converting a Jwt into an
AbstractAuthenticationToken. |
public JwtReactiveAuthenticationManager(org.springframework.security.oauth2.jwt.ReactiveJwtDecoder jwtDecoder)
public reactor.core.publisher.Mono<org.springframework.security.core.Authentication> authenticate(org.springframework.security.core.Authentication authentication)
authenticate in interface org.springframework.security.authentication.ReactiveAuthenticationManagerpublic void setJwtAuthenticationConverter(org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,? extends reactor.core.publisher.Mono<? extends org.springframework.security.authentication.AbstractAuthenticationToken>> jwtAuthenticationConverter)
Converter for converting a Jwt into an
AbstractAuthenticationToken.jwtAuthenticationConverter - the Converter to use