-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make REST authorizations finer-grained
While "rest-3#all" authorization still exists, it is no longer required to use it when only a subset of REST methods is to be accessed by particular client. Each method has now its own authorization. Related change: Due to the current authentication architecture in midPoint, these authorizations are checked in the respective methods' bodies. So, if an unauthorized method is called, the "login success" is audited, but the operation immediately fails. The failure is recorded in the termination (logout) event. And this is the change: the logout event now contains the real status of the whole operation. (Previously, it was always SUCCESS.)
- Loading branch information
Showing
14 changed files
with
335 additions
and
78 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
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
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
Oops, something went wrong.