OpenSearch/elasticsearch
jaymode 1e6a924e74 security: add support for disabling users
This change adds support for disabling users. Users can be disabled by setting the enabled
property to false and the AuthenticationService will check to make sure that the user is enabled.
If the user is not enabled, this will be audited as an authentication failure.

Also as part of this work, the AnonymousUser was cleaned up to remove having a static instance
that caused issues with tests.

Finally, the poller of users was removed to simplify the code in the NativeUsersStore. In our other
realms we rely on the clear cache APIs and the timeout of the user cache. We should have the
same semantics for the native realm.

Closes elastic/elasticsearch#2172

Original commit: elastic/x-pack-elasticsearch@0820e40183
2016-09-06 07:41:48 -04:00
..
license-tools Build: Add task to build zip of license tools 2016-08-16 14:23:56 -07:00
qa [Monitoring] Use Low Level REST Client for HTTP Exporter 2016-09-05 15:16:03 -04:00
x-dev-tools 2.x backwards compatibility support for watcher 2016-09-02 09:24:46 -04:00
x-pack security: add support for disabling users 2016-09-06 07:41:48 -04:00
x-pack-transport add a PreBuiltXPackTransportClient 2016-09-01 13:49:10 -04:00
build.gradle add a PreBuiltXPackTransportClient 2016-09-01 13:49:10 -04:00
checkstyle_suppressions.xml Remove suppression and implement hashCode 2016-02-09 21:49:13 -05:00