EntityACL
- public class EntityACL
Fields
GLOBAL_PERMISSIONS
MIN_PRIORITY_BITSET
- public static final long MIN_PRIORITY_BITSET
OWNER_BITSET
- public static final long OWNER_BITSET
Constructors
EntityACL
- public EntityACL(Collection<EntityACI> acl)
EntityACL
Methods
combine
convert
convertToArray
- public static boolean[] convertToArray(long value)
deserialize
equals
fromJSON
getOwnerACLFor
getOwnerACLFor
- public static final EntityACL getOwnerACLFor(ResponsibleAgent agent)
getOwners
- public List<ResponsibleAgent> getOwners()
getOwners
- public static final List<ResponsibleAgent> getOwners(Collection<EntityACI> acl)
getPermissionsFor
- public static final Set<EntityPermission> getPermissionsFor(Subject subject, Collection<EntityACI> entityACL)
getPermissionsFor
- public Element getPermissionsFor(Subject subject)
getPermissionsFromBitSet
- public static final Set<EntityPermission> getPermissionsFromBitSet(long bitSet)
getPriorityEntityACL
getPriorityEntityACL
getResultingACL
- public static final long getResultingACL(Collection<Long> acl)
getRules
- public Collection<EntityACI> getRules()
isAllowance
- public static final boolean isAllowance(long bitSet)
isDenial
- public static final boolean isDenial(long bitSet)
isOwnerBitSet
- public static final boolean isOwnerBitSet(long bitSet)
isPermitted
- public boolean isPermitted(Subject subject, org.apache.shiro.authz.Permission permission)
isPriorityBitSet
- public static final boolean isPriorityBitSet(long bitSet)
parseFromElement
serialize
serialize
toElement
- public final Element toElement()