Class OidcPolarisCredentialAugmentor
java.lang.Object
org.apache.polaris.service.auth.external.OidcPolarisCredentialAugmentor
- All Implemented Interfaces:
io.quarkus.security.identity.SecurityIdentityAugmentor
@ApplicationScoped
public class OidcPolarisCredentialAugmentor
extends Object
implements io.quarkus.security.identity.SecurityIdentityAugmentor
A
SecurityIdentityAugmentor that maps the access token claims, as provided by the OIDC
authentication mechanism, to a PolarisCredential.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOidcPolarisCredentialAugmentor(jakarta.enterprise.inject.Instance<PrincipalMapper> principalMappers, jakarta.enterprise.inject.Instance<PrincipalRolesMapper> principalRoleMappers) -
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) intpriority()protected io.quarkus.security.identity.SecurityIdentitysetPolarisCredential(io.quarkus.security.identity.SecurityIdentity identity, PrincipalMapper principalMapper, PrincipalRolesMapper rolesMapper) 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
-
PRIORITY
public static final int PRIORITY- See Also:
-
-
Constructor Details
-
OidcPolarisCredentialAugmentor
@Inject public OidcPolarisCredentialAugmentor(@Any jakarta.enterprise.inject.Instance<PrincipalMapper> principalMappers, @Any jakarta.enterprise.inject.Instance<PrincipalRolesMapper> principalRoleMappers)
-
-
Method Details
-
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
-
setPolarisCredential
protected io.quarkus.security.identity.SecurityIdentity setPolarisCredential(io.quarkus.security.identity.SecurityIdentity identity, PrincipalMapper principalMapper, PrincipalRolesMapper rolesMapper)
-