| Modifier and Type | Method and Description |
|---|---|
PrivilegeBits |
ACE.getPrivilegeBits() |
| Constructor and Description |
|---|
ACE(Principal principal,
PrivilegeBits privilegeBits,
boolean isAllow,
Set<Restriction> restrictions,
org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper) |
| Modifier and Type | Method and Description |
|---|---|
PrivilegeBits |
AggregatedPermissionProvider.supportedPrivileges(org.apache.jackrabbit.oak.api.Tree tree,
PrivilegeBits privilegeBits)
Allows to determined the set or subset of privileges evaluated by the
implementing permission provider for the specified tree or at the repository
level in case the specified
tree is null. |
| Modifier and Type | Method and Description |
|---|---|
PrivilegeBits |
AggregatedPermissionProvider.supportedPrivileges(org.apache.jackrabbit.oak.api.Tree tree,
PrivilegeBits privilegeBits)
Allows to determined the set or subset of privileges evaluated by the
implementing permission provider for the specified tree or at the repository
level in case the specified
tree is null. |
| Modifier and Type | Field and Description |
|---|---|
static PrivilegeBits |
PrivilegeBits.EMPTY |
static PrivilegeBits |
PrivilegeBits.NEXT_AFTER_BUILT_INS |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,PrivilegeBits> |
PrivilegeBits.BUILT_IN |
| Modifier and Type | Method and Description |
|---|---|
PrivilegeBits |
PrivilegeBits.add(PrivilegeBits other)
Adds the other privilege bits to this instance.
|
PrivilegeBits |
PrivilegeBits.addDifference(PrivilegeBits a,
PrivilegeBits b)
Subtracts the
b from a and adds the result (diff)
to this instance. |
PrivilegeBits |
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. |
PrivilegeBits |
PrivilegeBitsProvider.getBits(Iterable<String> privilegeNames)
Returns the bits for the given privilege names
|
PrivilegeBits |
PrivilegeBitsProvider.getBits(Privilege[] privileges,
org.apache.jackrabbit.oak.namepath.NameMapper nameMapper)
Returns the bits for the given privileges
|
PrivilegeBits |
PrivilegeBitsProvider.getBits(String... privilegeNames)
Returns the bits for the given privilege names
|
static PrivilegeBits |
PrivilegeBits.getInstance()
Creates a mutable instance of privilege bits.
|
static PrivilegeBits |
PrivilegeBits.getInstance(PrivilegeBits... base)
Creates a mutable instance of privilege bits.
|
static PrivilegeBits |
PrivilegeBits.getInstance(org.apache.jackrabbit.oak.api.PropertyState property)
Get or create an instance of privilege bits for a specific property that
stores privileges.
|
static PrivilegeBits |
PrivilegeBits.getInstance(org.apache.jackrabbit.oak.api.Tree tree)
Get or create an instance of privilege bits for a privilege definition.
|
PrivilegeBits |
PrivilegeBits.modifiable() |
PrivilegeBits |
PrivilegeBits.nextBits()
Method to calculate the next privilege bits associated with this instance.
|
PrivilegeBits |
PrivilegeBits.retain(PrivilegeBits other)
Retains the elements in this
PrivilegeBits that are contained in
the specified other PrivilegeBits. |
PrivilegeBits |
PrivilegeBits.unmodifiable()
Returns an unmodifiable instance.
|
| Modifier and Type | Method and Description |
|---|---|
PrivilegeBits |
PrivilegeBits.add(PrivilegeBits other)
Adds the other privilege bits to this instance.
|
PrivilegeBits |
PrivilegeBits.addDifference(PrivilegeBits a,
PrivilegeBits b)
Subtracts the
b from a and adds the result (diff)
to this instance. |
static long |
PrivilegeBits.calculatePermissions(PrivilegeBits bits,
PrivilegeBits parentBits,
boolean isAllow)
Calculate the granted permissions by evaluating the given privileges.
|
PrivilegeBits |
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<String> |
PrivilegeBitsProvider.getPrivilegeNames(PrivilegeBits privilegeBits)
Resolve the given privilege bits to a set of privilege names.
|
boolean |
PrivilegeBits.includes(PrivilegeBits otherBits)
Returns
true if all privileges defined by the specified
otherBits are present in this instance. |
PrivilegeBits |
PrivilegeBits.retain(PrivilegeBits other)
Retains the elements in this
PrivilegeBits that are contained in
the specified other PrivilegeBits. |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.