OpenSearch/qa/security-example-extension
Tim Vernum 8840042751 Only log LDAP errors if authentication failed overall (elastic/x-pack-elasticsearch#960)
Changes the logging of LDAP authentication failures from "always" to "only if the user failed to be authenticated"

Previously there were cases (such has having 2 AD realms) where successful user authentication would still cause an INFO message to be written to the log for every request. 
Now that message is suppressed, but a WARN message is added _if-and-only-if_ the user cannot be authenticated by any realm.

This is implemented via a new value stored in the ThreadContext that the AuthenticationService choses to log (or not log) depending on the result of the authenticate process.
  
Closes: elastic/x-pack-elasticsearch#887

Original commit: elastic/x-pack-elasticsearch@b81b363729
2017-04-11 09:37:21 +10:00
..
src Only log LDAP errors if authentication failed overall (elastic/x-pack-elasticsearch#960) 2017-04-11 09:37:21 +10:00
build.gradle Tests: Add cluster health check to xpack integ wait conditions (elastic/x-pack-elasticsearch#740) 2017-03-15 10:23:26 -07:00