Class HeaderAuthenticatorConfig

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

public class HeaderAuthenticatorConfig extends Object
  • Constructor Details

    • HeaderAuthenticatorConfig

      public HeaderAuthenticatorConfig()
  • Method Details

    • setUserMappingPattern

      @Config("http-server.authentication.header.user-mapping.pattern") public HeaderAuthenticatorConfig setUserMappingPattern(String userMappingPattern)
    • getUserMappingPattern

      public Optional<String> getUserMappingPattern()
    • setUserMappingFile

      @Config("http-server.authentication.header.user-mapping.file") public HeaderAuthenticatorConfig setUserMappingFile(File userMappingFile)
    • getUserMappingFile

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

      @Config("header-authenticator.config-files") public HeaderAuthenticatorConfig setHeaderAuthenticatorFiles(List<String> headerAuthenticatorFiles)
    • getHeaderAuthenticatorFiles

      @NotNull @NotEmpty(message="At least one header authenticator config file is required") public @NotNull @NotEmpty(message="At least one header authenticator config file is required") List<@FileExists File> getHeaderAuthenticatorFiles()