| Modifier and Type | Method and Description |
|---|---|
@NotNull 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 |
|---|---|
@NotNull PrivilegeBits |
AggregatedPermissionProvider.supportedPrivileges(@Nullable org.apache.jackrabbit.oak.api.Tree tree,
@Nullable 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 |
|---|---|
@NotNull PrivilegeBits |
AggregatedPermissionProvider.supportedPrivileges(@Nullable org.apache.jackrabbit.oak.api.Tree tree,
@Nullable 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 |
|---|---|
@NotNull PrivilegeBits |
PrivilegeBits.add(@NotNull PrivilegeBits other)
Adds the other privilege bits to this instance.
|
@NotNull PrivilegeBits |
PrivilegeBits.addDifference(@NotNull PrivilegeBits a,
@NotNull PrivilegeBits b)
Subtracts the
b from a and adds the result (diff)
to this instance. |
@NotNull PrivilegeBits |
PrivilegeBits.diff(@NotNull 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. |
@NotNull PrivilegeBits |
PrivilegeBitsProvider.getBits(@NotNull Iterable<String> privilegeNames)
Returns the bits for the given privilege names
|
@NotNull PrivilegeBits |
PrivilegeBitsProvider.getBits(@NotNull Privilege[] privileges,
@NotNull org.apache.jackrabbit.oak.namepath.NameMapper nameMapper)
Returns the bits for the given privileges
|
@NotNull 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 @NotNull PrivilegeBits |
PrivilegeBits.getInstance(PrivilegeBits... base)
Creates a mutable instance of privilege bits.
|
static @NotNull PrivilegeBits |
PrivilegeBits.getInstance(@Nullable org.apache.jackrabbit.oak.api.PropertyState property)
Get or create an instance of privilege bits for a specific property that
stores privileges.
|
static @NotNull PrivilegeBits |
PrivilegeBits.getInstance(@Nullable org.apache.jackrabbit.oak.api.Tree tree)
Get or create an instance of privilege bits for a privilege definition.
|
@NotNull PrivilegeBits |
PrivilegeBits.modifiable() |
@NotNull PrivilegeBits |
PrivilegeBits.nextBits()
Method to calculate the next privilege bits associated with this instance.
|
@NotNull PrivilegeBits |
PrivilegeBits.retain(@NotNull PrivilegeBits other)
Retains the elements in this
PrivilegeBits that are contained in
the specified other PrivilegeBits. |
@NotNull PrivilegeBits |
PrivilegeBits.unmodifiable()
Returns an unmodifiable instance.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull PrivilegeBits |
PrivilegeBits.add(@NotNull PrivilegeBits other)
Adds the other privilege bits to this instance.
|
@NotNull PrivilegeBits |
PrivilegeBits.addDifference(@NotNull PrivilegeBits a,
@NotNull PrivilegeBits b)
Subtracts the
b from a and adds the result (diff)
to this instance. |
@NotNull PrivilegeBits |
PrivilegeBits.addDifference(@NotNull PrivilegeBits a,
@NotNull PrivilegeBits b)
Subtracts the
b from a and adds the result (diff)
to this instance. |
static long |
PrivilegeBits.calculatePermissions(@NotNull PrivilegeBits bits,
@NotNull PrivilegeBits parentBits,
boolean isAllow)
Calculate the granted permissions by evaluating the given privileges.
|
static long |
PrivilegeBits.calculatePermissions(@NotNull PrivilegeBits bits,
@NotNull PrivilegeBits parentBits,
boolean isAllow)
Calculate the granted permissions by evaluating the given privileges.
|
@NotNull PrivilegeBits |
PrivilegeBits.diff(@NotNull 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 @NotNull PrivilegeBits |
PrivilegeBits.getInstance(PrivilegeBits... base)
Creates a mutable instance of privilege bits.
|
@NotNull Set<String> |
PrivilegeBitsProvider.getPrivilegeNames(PrivilegeBits privilegeBits)
Resolve the given privilege bits to a set of privilege names.
|
boolean |
PrivilegeBits.includes(@NotNull PrivilegeBits otherBits)
Returns
true if all privileges defined by the specified
otherBits are present in this instance. |
@NotNull PrivilegeBits |
PrivilegeBits.retain(@NotNull 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.