Package org.fcrepo.auth.webac
Class ACLHandleImpl
- java.lang.Object
-
- org.fcrepo.auth.webac.ACLHandleImpl
-
- All Implemented Interfaces:
ACLHandle
public class ACLHandleImpl extends Object implements ACLHandle
A simple class connecting an URI pointing to an ACL to aFedoraResource
that points to that ACL.- Author:
- ajs6f
-
-
Constructor Summary
Constructors Constructor Description ACLHandleImpl(FedoraResource resource, List<WebACAuthorization> authorizations)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<WebACAuthorization>
getAuthorizations()
Get the list of authorizations from the ACL.FedoraResource
getResource()
Get the resource that contains the ACL.
-
-
-
Constructor Detail
-
ACLHandleImpl
public ACLHandleImpl(FedoraResource resource, List<WebACAuthorization> authorizations)
Default constructor.- Parameters:
resource
- the requested FedoraResourceauthorizations
- any authorizations associated with the uri
-
-
Method Detail
-
getResource
public FedoraResource getResource()
Description copied from interface:ACLHandle
Get the resource that contains the ACL.- Specified by:
getResource
in interfaceACLHandle
- Returns:
- the fedora resource
-
getAuthorizations
public List<WebACAuthorization> getAuthorizations()
Description copied from interface:ACLHandle
Get the list of authorizations from the ACL.- Specified by:
getAuthorizations
in interfaceACLHandle
- Returns:
- the authorizations
-
-