Package org.apache.polaris.service.auth
Class AuthenticatingAugmentor
java.lang.Object
org.apache.polaris.service.auth.AuthenticatingAugmentor
- All Implemented Interfaces:
io.quarkus.security.identity.SecurityIdentityAugmentor
@ApplicationScoped
public class AuthenticatingAugmentor
extends Object
implements io.quarkus.security.identity.SecurityIdentityAugmentor
A custom
SecurityIdentityAugmentor that, after Quarkus OIDC or Internal Auth extracted
and validated the principal credentials, augments the SecurityIdentity by authenticating
the principal and setting a PolarisPrincipal as the identity's principal.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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
-
AuthenticatingAugmentor
-
-
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
-