Package com.day.cq.security.privileges
Interface Privilege
-
public interface Privilege
Deprecated.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.String
getID()
Deprecated.boolean
isGranted(java.lang.String path)
Deprecated.boolean
isPathDependent()
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 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
-
-