Package io.trino.server.security
Class HeaderAuthenticatorConfig
java.lang.Object
io.trino.server.security.HeaderAuthenticatorConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull @NotEmpty(message="At least one header authenticator config file is required") List<@FileExists File> setHeaderAuthenticatorFiles(List<String> headerAuthenticatorFiles) setUserMappingFile(File userMappingFile) setUserMappingPattern(String userMappingPattern)
-
Constructor Details
-
HeaderAuthenticatorConfig
public HeaderAuthenticatorConfig()
-
-
Method Details
-
setUserMappingPattern
@Config("http-server.authentication.header.user-mapping.pattern") public HeaderAuthenticatorConfig setUserMappingPattern(String userMappingPattern) -
getUserMappingPattern
-
setUserMappingFile
@Config("http-server.authentication.header.user-mapping.file") public HeaderAuthenticatorConfig setUserMappingFile(File userMappingFile) -
getUserMappingFile
-
setHeaderAuthenticatorFiles
@Config("header-authenticator.config-files") public HeaderAuthenticatorConfig setHeaderAuthenticatorFiles(List<String> headerAuthenticatorFiles) -
getHeaderAuthenticatorFiles
-