Class ReactiveJwtGrantedAuthoritiesConverterAdapter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<Jwt,​reactor.core.publisher.Flux<GrantedAuthority>>

    public final class ReactiveJwtGrantedAuthoritiesConverterAdapter
    extends java.lang.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:
    JwtGrantedAuthoritiesConverter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      reactor.core.publisher.Flux<GrantedAuthority> convert​(Jwt jwt)  
      • 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 Detail

      • ReactiveJwtGrantedAuthoritiesConverterAdapter

        public ReactiveJwtGrantedAuthoritiesConverterAdapter​(org.springframework.core.convert.converter.Converter<Jwt,​java.util.Collection<GrantedAuthority>> grantedAuthoritiesConverter)
    • Method Detail

      • convert

        public reactor.core.publisher.Flux<GrantedAuthority> convert​(Jwt jwt)
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<Jwt,​reactor.core.publisher.Flux<GrantedAuthority>>