Class ACE

  • All Implemented Interfaces:
    AccessControlEntry, JackrabbitAccessControlEntry

    public abstract class ACE
    extends java.lang.Object
    implements 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      ACE​(java.security.Principal principal, PrivilegeBits privilegeBits, boolean isAllow, java.util.Set<Restriction> restrictions, NamePathMapper namePathMapper)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      @NotNull java.security.Principal getPrincipal()
      Returns the principal associated with this access control entry.
      @NotNull PrivilegeBits getPrivilegeBits()  
      @Nullable Value getRestriction​(@NotNull java.lang.String restrictionName)
      Return the value of the restriction with the specified name or null if no such restriction exists.
      @NotNull java.lang.String[] getRestrictionNames()
      Return the names of the restrictions present with this access control entry.
      @NotNull java.util.Set<Restriction> getRestrictions()  
      @Nullable Value[] getRestrictions​(@NotNull java.lang.String restrictionName)
      Return the values of the restriction with the specified name or null if no such restriction exists.
      int hashCode()  
      boolean isAllow()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait