Annotation Interface AuthType


@Qualifier @Target(TYPE) @Retention(RUNTIME) public @interface AuthType
CDI qualifier to indicate which authentication type a ConnectionCredentialVendor supports.

This annotation allows the credential manager to automatically select the appropriate vendor based on the authentication type specified in the connection configuration.

Example usage:


 @ApplicationScoped
 @AuthType(AuthenticationType.SIGV4)
 @Priority(CredentialVendorPriorities.DEFAULT)
 public class SigV4ConnectionCredentialVendor implements ConnectionCredentialVendor {
   // AWS STS AssumeRole logic for SigV4 authentication
 }
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Helper for creating AuthType qualifiers programmatically.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    org.apache.polaris.core.connection.AuthenticationType
    The authentication type this vendor supports.
  • Element Details

    • value

      org.apache.polaris.core.connection.AuthenticationType value
      The authentication type this vendor supports.