Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow a realm to be authorization only #33292

Closed
tvernum opened this issue Aug 31, 2018 · 1 comment
Closed

Allow a realm to be authorization only #33292

tvernum opened this issue Aug 31, 2018 · 1 comment
Assignees
Labels
>enhancement :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc)

Comments

@tvernum
Copy link
Contributor

tvernum commented Aug 31, 2018

With the introduction of authorization_realm (and existing run_as) functionality, it would be helpful to be able to configure a realm to perform lookup only, but not authenticate.

See: #33262 (comment)

The proposed design is to add a authentication.enabled flag in the config (default true), which would be readby RealmConfig, and then when authenticating, the AuthenticationService would skip any realms for which the config's isAuthenticationEnabled method returned false.

@tvernum tvernum added >enhancement :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) labels Aug 31, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc)
Projects
None yet
Development

No branches or pull requests

2 participants