Class ACE

  • All Implemented Interfaces:
    AccessControlEntry, org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry

    public abstract class ACE
    extends Object
    implements org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry
    Default implementation of the JackrabbitAccessControlEntry interface. It asserts that the basic contract is fulfilled but does perform any additional validation on the principal, the privileges or the specified restrictions.
    • Method Detail

      • getPrivilegeBits

        @NotNull
        public @NotNull PrivilegeBits getPrivilegeBits()
      • getRestrictions

        @NotNull
        public @NotNull Set<Restriction> getRestrictions()
      • isAllow

        public boolean isAllow()
        Specified by:
        isAllow in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry
      • getRestrictionNames

        @NotNull
        public @NotNull String[] getRestrictionNames()
        Specified by:
        getRestrictionNames in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry
      • getRestriction

        @Nullable
        public @Nullable Value getRestriction​(@NotNull
                                              @NotNull String restrictionName)
                                       throws RepositoryException
        Specified by:
        getRestriction in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry
        Throws:
        RepositoryException
      • getRestrictions

        @Nullable
        public @Nullable Value[] getRestrictions​(@NotNull
                                                 @NotNull String restrictionName)
        Specified by:
        getRestrictions in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlEntry
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object