Class JcrAclMetadataStrategy.AclMetadataPrincipal
- java.lang.Object
-
- org.pentaho.platform.repository2.unified.jcr.JcrAclMetadataStrategy.AclMetadataPrincipal
-
- All Implemented Interfaces:
Principal
,IPentahoInternalPrincipal
- Enclosing class:
- JcrAclMetadataStrategy
public static class JcrAclMetadataStrategy.AclMetadataPrincipal extends Object implements IPentahoInternalPrincipal
Special principal used in ACEs that contains two pieces of metadata about the ACL as a whole:- Owner: Separate from all ACEs, what Principal is the owner? (Owners can be treated specially.)
- Entries Inheriting: Whether or not the ACEs of this ACL apply or instead an ancestor.
- Author:
- mlowery
-
-
Field Summary
Fields Modifier and Type Field Description static String
PRINCIPAL_PREFIX
Helps to guarantee uniqueness of this principal name so that it never matches a real principal.static char
SEPARATOR
-
Constructor Summary
Constructors Constructor Description AclMetadataPrincipal(String encodedName)
AclMetadataPrincipal(IAclMetadataStrategy.AclMetadata aclMetadata)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
IAclMetadataStrategy.AclMetadata
getAclMetadata()
String
getName()
int
hashCode()
static boolean
isAclMetadataPrincipal(String name)
String
toString()
-
-
-
Field Detail
-
PRINCIPAL_PREFIX
public static final String PRINCIPAL_PREFIX
Helps to guarantee uniqueness of this principal name so that it never matches a real principal.- See Also:
- Constant Field Values
-
SEPARATOR
public static final char SEPARATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AclMetadataPrincipal
public AclMetadataPrincipal(IAclMetadataStrategy.AclMetadata aclMetadata)
-
AclMetadataPrincipal
public AclMetadataPrincipal(String encodedName)
-
-
Method Detail
-
getAclMetadata
public IAclMetadataStrategy.AclMetadata getAclMetadata()
-
isAclMetadataPrincipal
public static boolean isAclMetadataPrincipal(String name)
-
toString
public String toString()
-
hashCode
public int hashCode()
-
-