Class ACLHandleImpl

java.lang.Object
org.fcrepo.auth.webac.ACLHandleImpl
All Implemented Interfaces:
org.fcrepo.kernel.api.auth.ACLHandle

public class ACLHandleImpl extends Object implements org.fcrepo.kernel.api.auth.ACLHandle
A simple class connecting an URI pointing to an ACL to a FedoraResource that points to that ACL.
Author:
ajs6f
  • Constructor Details

    • ACLHandleImpl

      public ACLHandleImpl(org.fcrepo.kernel.api.models.FedoraResource resource, List<org.fcrepo.kernel.api.auth.WebACAuthorization> authorizations)
      Default constructor.
      Parameters:
      resource - the requested FedoraResource
      authorizations - any authorizations associated with the uri
  • Method Details

    • getResource

      public org.fcrepo.kernel.api.models.FedoraResource getResource()
      Specified by:
      getResource in interface org.fcrepo.kernel.api.auth.ACLHandle
    • getAuthorizations

      public List<org.fcrepo.kernel.api.auth.WebACAuthorization> getAuthorizations()
      Specified by:
      getAuthorizations in interface org.fcrepo.kernel.api.auth.ACLHandle