Uses of Class
org.apache.jackrabbit.core.security.authorization.PrivilegeBits
-
Packages that use PrivilegeBits Package Description org.apache.jackrabbit.core.security.authorization -
-
Uses of PrivilegeBits in org.apache.jackrabbit.core.security.authorization
Fields in org.apache.jackrabbit.core.security.authorization declared as PrivilegeBits Modifier and Type Field Description static PrivilegeBits
PrivilegeBits. EMPTY
Methods in org.apache.jackrabbit.core.security.authorization that return PrivilegeBits Modifier and Type Method Description PrivilegeBits
PrivilegeManagerImpl. getBits(Privilege... privileges)
PrivilegeBits
PrivilegeManagerImpl. getBits(Name... privilegeNames)
static PrivilegeBits
PrivilegeBits. getInstance()
Creates a mutable instance of privilege bits.static PrivilegeBits
PrivilegeBits. getInstance(PrivilegeBits base)
Creates a mutable instance of privilege bits.PrivilegeBits
AbstractCompiledPermissions.Result. getPrivilegeBits()
PrivilegeBits
AccessControlEntryImpl. getPrivilegeBits()
PrivilegeBits
PrivilegeBits. unmodifiable()
Returns an unmodifiable instance.Methods in org.apache.jackrabbit.core.security.authorization with parameters of type PrivilegeBits Modifier and Type Method Description void
PrivilegeBits. add(PrivilegeBits other)
Adds the other privilege bits to this instance.void
PrivilegeBits. addDifference(PrivilegeBits a, PrivilegeBits b)
Subtracts theb
froma
and adds the result (diff) to this instance.static int
PrivilegeRegistry. calculatePermissions(PrivilegeBits privs, PrivilegeBits parentPrivs, boolean isAllow, boolean protectsPolicy)
Build the permissions granted by evaluating the given privileges.void
PrivilegeBits. diff(PrivilegeBits other)
Subtracts the other PrivilegeBits from the this.
If the specified bits do not intersect with this, it isn't modified.
Ifthis
is included inother
empty
privilege bits is returned.static PrivilegeBits
PrivilegeBits. getInstance(PrivilegeBits base)
Creates a mutable instance of privilege bits.Set<Privilege>
PrivilegeManagerImpl. getPrivileges(PrivilegeBits bits)
Returns an array of registeredPrivilege
s.boolean
PrivilegeBits. includes(PrivilegeBits otherBits)
Returnstrue
if all privileges defined by the specifiedotherBits
are present in this instance.Constructors in org.apache.jackrabbit.core.security.authorization with parameters of type PrivilegeBits Constructor Description AccessControlEntryImpl(Principal principal, PrivilegeBits privilegesBits, boolean isAllow, Map<String,Value> restrictions)
Construct an access control entry for the given principal and privileges.AccessControlEntryImpl(AccessControlEntryImpl base, PrivilegeBits privilegeBits, boolean isAllow)
Result(int allows, int denies, PrivilegeBits allowPrivileges, PrivilegeBits denyPrivileges)
-