Package com.day.cq.security.privileges
Interface Privilege
public interface Privilege
Deprecated.
CQ 5.5
A Privilege is a permission that is granted a given
Authorizable
.
A Privilege is right, that is independant of a particular
Item-independant
.
Rights of Items are granted and enforced on by the
Repository
.
It is still possible that the validity of a Privilege is restricted on
pathes within the Repository. In this case the Privilege is
isPathDependent()
path depoendent}.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetID()
Deprecated.getID.boolean
Deprecated.isGranted.boolean
Deprecated.isPathDependent.
-
Method Details
-
getID
String getID()Deprecated.getID.
- Returns:
- the ID of the current Privilege, should be a relative path
-
isPathDependent
boolean isPathDependent()Deprecated.isPathDependent.
- Returns:
- if the privilege is different for different repository locations
-
isGranted
Deprecated.isGranted.
- Parameters:
path
- repository path ornull
if this Privilege isis path independent
- Returns:
true
if the privilige is granted on the given path or if the Privilege is path indedpendent
-