mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-30 07:42:52 +00:00
SEC-2140: Correct javadoc order of security checkes for AclAuthorizationStrategyImpl
This commit is contained in:
parent
914ec45e43
commit
047448464b
@ -31,10 +31,14 @@ import org.springframework.util.Assert;
|
|||||||
/**
|
/**
|
||||||
* Default implementation of {@link AclAuthorizationStrategy}.
|
* Default implementation of {@link AclAuthorizationStrategy}.
|
||||||
* <p>
|
* <p>
|
||||||
* Permission will be granted provided the current principal is either the owner (as defined by the ACL), has
|
* Permission will be granted if at least one of the following conditions is true for the current
|
||||||
* {@link BasePermission#ADMINISTRATION} (as defined by the ACL and via a {@link Sid} retrieved for the current
|
* principal.
|
||||||
* principal via {@link #sidRetrievalStrategy}), or if the current principal holds the relevant system-wide
|
* <ul>
|
||||||
* {@link GrantedAuthority} and injected into the constructor.
|
* <li> is the owner (as defined by the ACL). </li>
|
||||||
|
* <li> holds the relevant system-wide {@link GrantedAuthority} injected into the
|
||||||
|
* constructor. </li>
|
||||||
|
* <li> has {@link BasePermission#ADMINISTRATION} permission (as defined by the ACL). </li>
|
||||||
|
* </ul>
|
||||||
*
|
*
|
||||||
* @author Ben Alex
|
* @author Ben Alex
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user