ReactiveKeycloakJwtAuthenticationConverter

class ReactiveKeycloakJwtAuthenticationConverter(sharedConfig: SharedConfigProperties) : Converter<Jwt, Mono<AbstractAuthenticationToken>> (source)

Reactive variant of KeycloakJwtAuthenticationConverter for the API Gateway (WebFlux). Converts a Keycloak-issued JWT into a Spring Security JwtAuthenticationToken with authorities extracted from the configured roles claim.

Constructors

constructor(sharedConfig: SharedConfigProperties)

Functions

Link copied to clipboard
open fun <U : Any?> andThen(after: Converter<in Mono<AbstractAuthenticationToken>?, out @Nullable U?>?): Converter<Jwt?, @Nullable U?>?
Link copied to clipboard
open override fun convert(jwt: Jwt): Mono<AbstractAuthenticationToken>