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 Details

  • 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:
      priority in interface io.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:
      augment in interface io.quarkus.security.identity.SecurityIdentityAugmentor
    • setPolarisCredential

      protected io.quarkus.security.identity.SecurityIdentity setPolarisCredential(io.quarkus.security.identity.SecurityIdentity identity, PrincipalMapper principalMapper, PrincipalRolesMapper rolesMapper)