Class ReactiveJwtConfiguration
java.lang.Object
ir.msob.jima.security.api.rsocket.oauth2.ReactiveJwtConfiguration
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.security.oauth2.jwt.ReactiveJwtDecoderBean definition for ReactiveJwtDecoder.
-
Constructor Details
-
ReactiveJwtConfiguration
public ReactiveJwtConfiguration()
-
-
Method Details
-
jwtDecoder
@Bean public org.springframework.security.oauth2.jwt.ReactiveJwtDecoder jwtDecoder()Bean definition for ReactiveJwtDecoder.- Returns:
- An instance of ReactiveJwtDecoder configured with the issuer URI.
-