forked from xapi-project/xen-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cache external authentication results
This change provides the workings required to allow the previously functionalised section of login_with_password to be bypassed by consulting an authentication cache. Before attempting to execute that section of login_with_password (which calls out to external authentication plugins), a cache is consulted. If a previously-computed result resides within the cache, that is provided. If there is no such result present in the cache, or external authentication caching is disabled, the previous section of code (the "slow path") is invoked. Signed-off-by: Colin James <[email protected]>
- Loading branch information
1 parent
832d8e9
commit 6b2d4c7
Showing
1 changed file
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters