Package org.fcrepo.auth.webac
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 aFedoraResourcethat points to that ACL.- Author:
- ajs6f
-
-
Constructor Summary
Constructors Constructor Description ACLHandleImpl(org.fcrepo.kernel.api.models.FedoraResource resource, List<org.fcrepo.kernel.api.auth.WebACAuthorization> authorizations)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.fcrepo.kernel.api.auth.WebACAuthorization>getAuthorizations()org.fcrepo.kernel.api.models.FedoraResourcegetResource()
-
-
-
Constructor Detail
-
ACLHandleImpl
public ACLHandleImpl(org.fcrepo.kernel.api.models.FedoraResource resource, List<org.fcrepo.kernel.api.auth.WebACAuthorization> authorizations)
Default constructor.- Parameters:
resource- the requested FedoraResourceauthorizations- any authorizations associated with the uri
-
-
Method Detail
-
getResource
public org.fcrepo.kernel.api.models.FedoraResource getResource()
- Specified by:
getResourcein interfaceorg.fcrepo.kernel.api.auth.ACLHandle
-
getAuthorizations
public List<org.fcrepo.kernel.api.auth.WebACAuthorization> getAuthorizations()
- Specified by:
getAuthorizationsin interfaceorg.fcrepo.kernel.api.auth.ACLHandle
-
-