Class 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 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
    • Constructor Detail

      • PentahoMetadataAcePrincipal

        public PentahoMetadataAcePrincipal​(String owner,
                                           boolean entriesInheriting)
    • Method Detail

      • getOwner

        public String getOwner()
      • isEntriesInheriting

        public boolean isEntriesInheriting()
      • isPentahoMetadataAcePrincipal

        public static boolean isPentahoMetadataAcePrincipal​(String name)