Package org.fcrepo.auth.webac
Class WebACPermission
java.lang.Object
org.fcrepo.auth.webac.WebACPermission
- All Implemented Interfaces:
org.apache.shiro.authz.Permission
A WebAC permission represents a particular mode of access (e.g., acl:read) to a particular resource. Both the mode
and resource are URIs. One WebAC permission implies another if and only if their mode and resource URIs are both
equal to the other's.
- Author:
- peichman
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanOne WebACPermission equals another if they have the same mode and resource URIs.inthashCode()booleanimplies(org.apache.shiro.authz.Permission p) One WebACPermission implies another if they are equal (i.e., have the same mode and resource URIs).toString()
-
Constructor Details
-
WebACPermission
- Parameters:
mode- ACL access moderesource- resource to be accessed
-
-
Method Details
-
implies
One WebACPermission implies another if they are equal (i.e., have the same mode and resource URIs).- Specified by:
impliesin interfaceorg.apache.shiro.authz.Permission- Parameters:
p- permission to compare to
-
equals
One WebACPermission equals another if they have the same mode and resource URIs. -
hashCode
-
toString
-