OpenSearch/server
Jay Modi b3a4acdf20
Limit user to single concurrent auth per realm (#30794)
This commit reworks the way our realms perform caching in order to
limit each principal to a single ongoing authentication per realm. In
other words, this means that multiple requests made by the same user
will not trigger more that one authentication attempt at a time if no
entry has been stored in the cache. If an entry is present in our
cache, there is no restriction on the number of concurrent
authentications performed for this user.

This change enables us to limit the load we place on an external system
like an LDAP server and also preserve resources such as CPU on
expensive operations such as BCrypt authentication.

Closes #30355
2018-05-24 10:43:10 -06:00
..
cli Add useful message when no input from terminal (#29369) 2018-04-10 21:50:39 -04:00
licenses Upgrade to Lucene-7.4.0-snapshot-cc2ee23050 (#30778) 2018-05-22 13:11:48 -04:00
src Limit user to single concurrent auth per realm (#30794) 2018-05-24 10:43:10 -06:00
build.gradle Build: Split distributions into oss and default 2018-04-20 15:33:57 -07:00