Package io.quantics.multitenant.oauth2.config
Contains configuration classes for OAuth2-based multi-tenant applications.
-
Class Summary Class Description AbstractJwtGrantedAuthoritiesConverter Abstract converter for converting aJwtto aCollectionofGrantedAuthorities.KeycloakRealmAuthoritiesConverter Converter for converting a Keycloak-issuedJwtintoGrantedAuthorities.MultiTenantJWSKeySelector An implementation of aJWTClaimsSetAwareJWSKeySelectorthat selects key candidates based on the issuer of the provided JWT.MultiTenantJwtIssuerValidator An implementation of aOAuth2TokenValidatorthat validates the issuer of aJwtagainst a whitelist of allowed tenants.MultiTenantResourceServerAutoConfiguration Auto-configurationfor multi-tenant resource server support.MultiTenantResourceServerJwtConfiguration Configures aJwtDecoderand exposes it as a bean.MultiTenantResourceServerProperties Multi-tenant resource server properties.MultiTenantResourceServerProperties.Header MultiTenantResourceServerProperties.Jwt MultiTenantResourceServerWebMvcConfiguration Configures aWebMvcConfigurerwith aHandlerInterceptorAdapter.MultiTenantResourceServerWebSecurityConfiguration Configures aWebSecurityConfigurerAdapterwhen jwt is used as the mode for resolving the tenant. -
Enum Summary Enum Description MultiTenantResourceServerProperties.ResolveMode