Class KerberosConfig


  • public class KerberosConfig
    extends Object
    • Field Detail

      • HTTP_SERVER_AUTHENTICATION_KRB5_KEYTAB

        public static final String HTTP_SERVER_AUTHENTICATION_KRB5_KEYTAB
        See Also:
        Constant Field Values
    • Constructor Detail

      • KerberosConfig

        public KerberosConfig()
    • Method Detail

      • 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)
      • 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)