Package io.quantics.multitenant.oauth2.config
package io.quantics.multitenant.oauth2.config
Contains configuration classes for OAuth2-based multi-tenant applications.
-
ClassDescriptionConverter for converting a Keycloak-issued
JwtintoGrantedAuthorities.An implementation of aJWTClaimsSetAwareJWSKeySelectorthat selects key candidates based on the issuer of the provided JWT.An implementation of aOAuth2TokenValidatorthat validates the issuer of aJwtagainst a whitelist of allowed tenants.Auto-configurationfor multi-tenant resource server support.Configures aJwtDecoderand exposes it as a bean.Multi-tenant resource server properties.Configures aWebMvcConfigurerwith aHandlerInterceptor.Configures aWebSecurityConfigurerAdapterwhen jwt is used as the mode for resolving the tenant.