Class ReactiveJwtGrantedAuthoritiesConverterAdapter
java.lang.Object
org.springframework.security.oauth2.server.resource.authentication.ReactiveJwtGrantedAuthoritiesConverterAdapter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<Jwt,
reactor.core.publisher.Flux<GrantedAuthority>>
public final class ReactiveJwtGrantedAuthoritiesConverterAdapter
extends Object
implements org.springframework.core.convert.converter.Converter<Jwt,reactor.core.publisher.Flux<GrantedAuthority>>
Adapts a
Converter<Jwt, Collection<GrantedAuthority>>
to
a Converter<Jwt, Flux<GrantedAuthority>>
.
Make sure the Converter<Jwt,
Collection<GrantedAuthority>>
being adapted is non-blocking.
- Since:
- 5.2
- See Also:
-
Constructor Summary
ConstructorDescriptionReactiveJwtGrantedAuthoritiesConverterAdapter
(org.springframework.core.convert.converter.Converter<Jwt, Collection<GrantedAuthority>> grantedAuthoritiesConverter) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
ReactiveJwtGrantedAuthoritiesConverterAdapter
public ReactiveJwtGrantedAuthoritiesConverterAdapter(org.springframework.core.convert.converter.Converter<Jwt, Collection<GrantedAuthority>> grantedAuthoritiesConverter)
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceorg.springframework.core.convert.converter.Converter<Jwt,
reactor.core.publisher.Flux<GrantedAuthority>>
-