Class DomainInfoPrivilege

java.lang.Object
org.onehippo.repository.security.DomainInfoPrivilege
All Implemented Interfaces:
Privilege

public class DomainInfoPrivilege extends Object implements Privilege

DomainInfoPrivilege is a simple wrapper class for a Privilege supporting extra information. It supports information about all the security domain paths (getDomainPaths()) that contributed to this specific Privilege. Because of how the security domains are set up, a single privilege on a Node, eg jcr:read, can be the result of multiple security domains all giving jcr:read on the node. Hence getDomainPaths() returns a TreeSet and not a single domain path (Treeset such that the domains paths are sorted alphabetically).

  • Constructor Details

    • DomainInfoPrivilege

      public DomainInfoPrivilege(Privilege delegatee)
  • Method Details