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:
    PrivilegeFactory
    • 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 or null if this Privilege is is path independent
        Returns:
        true if the privilige is granted on the given path or if the Privilege is path indedpendent