Interface AclFactory<T>

  • Type Parameters:
    T - the acl type
    All Known Implementing Classes:
    AclFactory.DtoAclFactory

    public interface AclFactory<T>
    The acl factory.
    Author:
    Christian Bremer
    • Method Detail

      • createAccessControlList

        T createAccessControlList​(String owner,
                                  Map<String,​? extends Ace> entries)
        Create access control list of the specified type.
        Parameters:
        owner - the owner
        entries - the entries
        Returns:
        the acl type
      • getAccessControlListClass

        default Class<T> getAccessControlListClass()
        Gets class of access control list (entity).
        Returns:
        the access control list class
      • dtoFactory

        static AclFactory<org.bremersee.common.model.AccessControlList> dtoFactory()
        Acl dto factory.
        Returns:
        the acl factory