Class JwtConfiguration

java.lang.Object
ir.msob.jima.security.api.grpc.oauth2.JwtConfiguration

@Configuration public class JwtConfiguration extends Object
Configuration class for JWT (JSON Web Token) in the context of OAuth2 security for Reactive Spring applications using RSocket.

This class is responsible for configuring and providing the necessary components related to JWT decoding and role conversion.

Usage: Include this configuration class in your application's configuration to enable JWT authentication and authorization in the context of an RSocket-based API.

Since:
0.1.0
  • Constructor Details

    • JwtConfiguration

      public JwtConfiguration()
  • Method Details

    • jwtDecoder

      @Bean public org.springframework.security.oauth2.jwt.JwtDecoder jwtDecoder()
      Bean definition for JwtDecoder.
      Returns:
      An instance of JwtDecoder configured with the issuer URI.