Class PentahoMetadataAcePrincipal
- java.lang.Object
-
- org.pentaho.platform.repository2.unified.jcr.PentahoMetadataAcePrincipal
-
- All Implemented Interfaces:
Principal
,IPentahoInternalPrincipal
public class PentahoMetadataAcePrincipal 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 PentahoMetadataAcePrincipal(String owner, boolean entriesInheriting)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
String
getOwner()
boolean
isEntriesInheriting()
static boolean
isPentahoMetadataAcePrincipal(String name)
-
-
-
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
-
PentahoMetadataAcePrincipal
public PentahoMetadataAcePrincipal(String owner, boolean entriesInheriting)
-
-