Package org.fcrepo.auth.webac
Class ACLHandleImpl
java.lang.Object
org.fcrepo.auth.webac.ACLHandleImpl
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionACLHandleImpl(org.fcrepo.kernel.api.models.FedoraResource resource, List<org.fcrepo.kernel.api.auth.WebACAuthorization> authorizations) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionList<org.fcrepo.kernel.api.auth.WebACAuthorization> org.fcrepo.kernel.api.models.FedoraResource
-
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 FedoraResourceauthorizations- any authorizations associated with the uri
-
-
Method Details
-
getResource
- Specified by:
getResourcein interfaceorg.fcrepo.kernel.api.auth.ACLHandle
-
getAuthorizations
- Specified by:
getAuthorizationsin interfaceorg.fcrepo.kernel.api.auth.ACLHandle
-