-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend: always fail request if wrong credentials are presented
Motivation: Current behaviour is to treat a failed login in WebDAV, frontend and dcap doors as if the user presented no credentials (i.e., an anonymous request). For frontend, this is undesirable as we wish to have standard-compliant response to incorrect credentials; i.e., 401 status code in the response. Modification: Update UnionLoginStrategy to support a switch to disable treating a failed login as an unauthenticated request. Update frontend to disable the switch. Result: For the frontend, if the user supplies incorrect credentials then their request will always fail. Target: master Patch: https://rb.dcache.org/r/9413 Acked-by: Gerd Behrmann Request: 2.16 Requires-notes: yes Requires-book: no
- Loading branch information
1 parent
159c422
commit b21b4b4
Showing
2 changed files
with
25 additions
and
2 deletions.
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
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