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 PrivilegeBitsPrivilegeBits. EMPTYMethods in org.apache.jackrabbit.core.security.authorization that return PrivilegeBits Modifier and Type Method Description PrivilegeBitsPrivilegeManagerImpl. getBits(Privilege... privileges)PrivilegeBitsPrivilegeManagerImpl. getBits(Name... privilegeNames)static PrivilegeBitsPrivilegeBits. getInstance()Creates a mutable instance of privilege bits.static PrivilegeBitsPrivilegeBits. getInstance(PrivilegeBits base)Creates a mutable instance of privilege bits.PrivilegeBitsAbstractCompiledPermissions.Result. getPrivilegeBits()PrivilegeBitsAccessControlEntryImpl. getPrivilegeBits()PrivilegeBitsPrivilegeBits. unmodifiable()Returns an unmodifiable instance.Methods in org.apache.jackrabbit.core.security.authorization with parameters of type PrivilegeBits Modifier and Type Method Description voidPrivilegeBits. add(PrivilegeBits other)Adds the other privilege bits to this instance.voidPrivilegeBits. addDifference(PrivilegeBits a, PrivilegeBits b)Subtracts thebfromaand adds the result (diff) to this instance.static intPrivilegeRegistry. calculatePermissions(PrivilegeBits privs, PrivilegeBits parentPrivs, boolean isAllow, boolean protectsPolicy)Build the permissions granted by evaluating the given privileges.voidPrivilegeBits. diff(PrivilegeBits other)Subtracts the other PrivilegeBits from the this.
If the specified bits do not intersect with this, it isn't modified.
Ifthisis included inotheremptyprivilege bits is returned.static PrivilegeBitsPrivilegeBits. getInstance(PrivilegeBits base)Creates a mutable instance of privilege bits.Set<Privilege>PrivilegeManagerImpl. getPrivileges(PrivilegeBits bits)Returns an array of registeredPrivileges.booleanPrivilegeBits. includes(PrivilegeBits otherBits)Returnstrueif all privileges defined by the specifiedotherBitsare 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)
-