Package | Description |
---|---|
org.apache.jackrabbit.core.security.authorization |
Modifier and Type | Field and Description |
---|---|
static PrivilegeBits |
PrivilegeBits.EMPTY |
Modifier and Type | Method and Description |
---|---|
PrivilegeBits |
PrivilegeManagerImpl.getBits(Name... privilegeNames) |
PrivilegeBits |
PrivilegeManagerImpl.getBits(Privilege... privileges) |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
PrivilegeBits.add(PrivilegeBits other)
Adds the other privilege bits to this instance.
|
void |
PrivilegeBits.addDifference(PrivilegeBits a,
PrivilegeBits b)
Subtracts the
b from a 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. If this is included in other 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 registered
Privilege s. |
boolean |
PrivilegeBits.includes(PrivilegeBits otherBits)
Returns
true if all privileges defined by the specified
otherBits are present in this instance. |
Constructor and Description |
---|
AccessControlEntryImpl(AccessControlEntryImpl base,
PrivilegeBits privilegeBits,
boolean isAllow) |
AccessControlEntryImpl(Principal principal,
PrivilegeBits privilegesBits,
boolean isAllow,
Map<String,Value> restrictions)
Construct an access control entry for the given principal and privileges.
|
Result(int allows,
int denies,
PrivilegeBits allowPrivileges,
PrivilegeBits denyPrivileges) |
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.