Package com.day.cq.security.privileges
Interface Privilege
-
public interface PrivilegeDeprecated.CQ 5.5A Privilege is a permission that is granted a givenAuthorizable. A Privilege is right, that is independant of a particularItem-independant. Rights of Items are granted and enforced on by theRepository. It is still possible that the validity of a Privilege is restricted on pathes within the Repository. In this case the Privilege isisPathDependent()path depoendent}.- See Also:
PrivilegeFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetID()Deprecated.booleanisGranted(java.lang.String path)Deprecated.booleanisPathDependent()Deprecated.
-
-
-
Method Detail
-
getID
java.lang.String getID()
Deprecated.- Returns:
- the ID of the current Privilege, should be a relative path
-
isPathDependent
boolean isPathDependent()
Deprecated.- Returns:
- if the privilege is different for different repository locations
-
isGranted
boolean isGranted(java.lang.String path)
Deprecated.- Parameters:
path- repository path ornullif this Privilege isis path independent- Returns:
trueif the privilige is granted on the given path or if the Privilege is path indedpendent
-
-