Make xpack.security.authc.saml.realm mandatory and completely remove xpack.security.authProviders and xpack.security.public. (#38657)

This commit is contained in:
Aleh Zasypkin 2019-06-13 17:43:18 +02:00 committed by GitHub
parent 120b060687
commit ffb0b06fa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 75 additions and 140 deletions

View file

@ -60,13 +60,7 @@ function getProviderOptions(server: Legacy.Server) {
return {
client: getClient(server),
log: server.log.bind(server),
protocol: server.info.protocol,
hostname: config.get<string>('server.host'),
port: config.get<number>('server.port'),
basePath: config.get<string>('server.basePath'),
...config.get('xpack.security.public'),
};
}