Class OidcTenantResolvingAugmentor
java.lang.Object
org.apache.polaris.service.quarkus.auth.external.OidcTenantResolvingAugmentor
- All Implemented Interfaces:
io.quarkus.security.identity.SecurityIdentityAugmentor
@ApplicationScoped
public class OidcTenantResolvingAugmentor
extends Object
implements io.quarkus.security.identity.SecurityIdentityAugmentor
A
SecurityIdentityAugmentor that resolves the Polaris OIDC tenant configuration for the
given identity and adds it as an attribute to the SecurityIdentity.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> augment(io.quarkus.security.identity.SecurityIdentity identity, io.quarkus.security.identity.AuthenticationRequestContext context) static OidcTenantConfigurationgetOidcTenantConfig(io.quarkus.security.identity.SecurityIdentity identity) intpriority()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.security.identity.SecurityIdentityAugmentor
augment
-
Field Details
-
TENANT_CONFIG_ATTRIBUTE
- See Also:
-
PRIORITY
public static final int PRIORITY- See Also:
-
-
Constructor Details
-
OidcTenantResolvingAugmentor
-
-
Method Details
-
getOidcTenantConfig
public static OidcTenantConfiguration getOidcTenantConfig(io.quarkus.security.identity.SecurityIdentity identity) -
priority
public int priority()- Specified by:
priorityin interfaceio.quarkus.security.identity.SecurityIdentityAugmentor
-
augment
public io.smallrye.mutiny.Uni<io.quarkus.security.identity.SecurityIdentity> augment(io.quarkus.security.identity.SecurityIdentity identity, io.quarkus.security.identity.AuthenticationRequestContext context) - Specified by:
augmentin interfaceio.quarkus.security.identity.SecurityIdentityAugmentor
-