Package io.trino.server.security
Class HeaderAuthenticatorConfig
- java.lang.Object
-
- io.trino.server.security.HeaderAuthenticatorConfig
-
public class HeaderAuthenticatorConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description HeaderAuthenticatorConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull @NotEmpty(message="At least one header authenticator config file is required") List<@FileExists File>getHeaderAuthenticatorFiles()Optional<@FileExists File>getUserMappingFile()Optional<String>getUserMappingPattern()HeaderAuthenticatorConfigsetHeaderAuthenticatorFiles(List<String> headerAuthenticatorFiles)HeaderAuthenticatorConfigsetUserMappingFile(File userMappingFile)HeaderAuthenticatorConfigsetUserMappingPattern(String userMappingPattern)
-
-
-
Method Detail
-
setUserMappingPattern
@Config("http-server.authentication.header.user-mapping.pattern") public HeaderAuthenticatorConfig setUserMappingPattern(String userMappingPattern)
-
setUserMappingFile
@Config("http-server.authentication.header.user-mapping.file") public HeaderAuthenticatorConfig setUserMappingFile(File userMappingFile)
-
setHeaderAuthenticatorFiles
@Config("header-authenticator.config-files") public HeaderAuthenticatorConfig setHeaderAuthenticatorFiles(List<String> headerAuthenticatorFiles)
-
-