Class JsonPathReactiveJwtConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,​reactor.core.publisher.Mono<org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken>>

    public class JsonPathReactiveJwtConverter
    extends Object
    implements org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,​reactor.core.publisher.Mono<org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken>>
    The json path reactive jwt converter.
    Author:
    Christian Bremer
    • Constructor Detail

      • JsonPathReactiveJwtConverter

        public JsonPathReactiveJwtConverter()
        Instantiates a new json path reactive jwt converter.
      • JsonPathReactiveJwtConverter

        public JsonPathReactiveJwtConverter​(org.bremersee.security.authentication.JsonPathJwtConverter converter)
        Instantiates a new json path reactive jwt converter.
        Parameters:
        converter - the converter
    • Method Detail

      • convert

        public reactor.core.publisher.Mono<org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken> convert​(@NonNull
                                                                                                                                              org.springframework.security.oauth2.jwt.Jwt jwt)
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<org.springframework.security.oauth2.jwt.Jwt,​reactor.core.publisher.Mono<org.springframework.security.oauth2.server.resource.authentication.JwtAuthenticationToken>>