Class AuthenticatingAugmentor
java.lang.Object
org.apache.polaris.service.quarkus.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 an AuthenticatedPolarisPrincipal as the identity's principal.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticatingAugmentor(org.apache.polaris.service.auth.Authenticator<org.apache.polaris.service.auth.PrincipalAuthInfo, org.apache.polaris.core.auth.AuthenticatedPolarisPrincipal> authenticator) -
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
@Inject public AuthenticatingAugmentor(org.apache.polaris.service.auth.Authenticator<org.apache.polaris.service.auth.PrincipalAuthInfo, org.apache.polaris.core.auth.AuthenticatedPolarisPrincipal> authenticator)
-
-
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
-