Class KerberosConfig

java.lang.Object
io.trino.server.security.KerberosConfig

public class KerberosConfig extends Object
  • Field Details

    • HTTP_SERVER_AUTHENTICATION_KRB5_KEYTAB

      public static final String HTTP_SERVER_AUTHENTICATION_KRB5_KEYTAB
      See Also:
  • Constructor Details

    • KerberosConfig

      public KerberosConfig()
  • Method Details

    • getKerberosConfig

      @NotNull @FileExists public @NotNull @FileExists File getKerberosConfig()
    • setKerberosConfig

      @Config("http.authentication.krb5.config") public KerberosConfig setKerberosConfig(File kerberosConfig)
    • getServiceName

      @NotNull public @NotNull String getServiceName()
    • setServiceName

      @Config("http-server.authentication.krb5.service-name") @LegacyConfig("http.server.authentication.krb5.service-name") public KerberosConfig setServiceName(String serviceName)
    • getKeytab

      @FileExists public @FileExists File getKeytab()
    • setKeytab

      @Config("http-server.authentication.krb5.keytab") @LegacyConfig("http.server.authentication.krb5.keytab") public KerberosConfig setKeytab(File keytab)
    • getPrincipalHostname

      public String getPrincipalHostname()
    • setPrincipalHostname

      @Config("http-server.authentication.krb5.principal-hostname") @LegacyConfig("http.server.authentication.krb5.principal-hostname") public KerberosConfig setPrincipalHostname(String principalHostname)
    • getNameType

      @NotNull public @NotNull KerberosNameType getNameType()
    • setNameType

      @Config("http-server.authentication.krb5.name-type") @LegacyConfig("http.server.authentication.krb5.name-type") public KerberosConfig setNameType(KerberosNameType nameType)
    • getUserMappingPattern

      public Optional<String> getUserMappingPattern()
    • setUserMappingPattern

      @Config("http-server.authentication.krb5.user-mapping.pattern") public KerberosConfig setUserMappingPattern(String userMappingPattern)
    • getUserMappingFile

      public Optional<@FileExists File> getUserMappingFile()
    • setUserMappingFile

      @Config("http-server.authentication.krb5.user-mapping.file") public KerberosConfig setUserMappingFile(File userMappingFile)