Class JwtReactiveAuthenticationManagerConfiguration

java.lang.Object
ir.msob.jima.security.api.kafka.oauth2.JwtReactiveAuthenticationManagerConfiguration

@Configuration public class JwtReactiveAuthenticationManagerConfiguration extends Object
  • Constructor Details

    • JwtReactiveAuthenticationManagerConfiguration

      public JwtReactiveAuthenticationManagerConfiguration()
  • Method Details

    • jwtReactiveAuthenticationManager

      @Bean public org.springframework.security.oauth2.server.resource.authentication.JwtReactiveAuthenticationManager jwtReactiveAuthenticationManager(org.springframework.security.oauth2.jwt.ReactiveJwtDecoder decoder, JwtRoleConverter jwtRoleConverter)
      Bean definition for JwtReactiveAuthenticationManager.
      Parameters:
      decoder - The ReactiveJwtDecoder for decoding JWTs.
      jwtRoleConverter - The JwtRoleConverter for converting JWT roles to authorities.
      Returns:
      An instance of JwtReactiveAuthenticationManager configured with the provided decoder and converter.