Uses of Class
org.apache.jackrabbit.oak.spi.security.privilege.PrivilegeBits
-
-
Uses of PrivilegeBits in org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol
Methods in org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol that return PrivilegeBits Modifier and Type Method Description @NotNull PrivilegeBits
ACE. getPrivilegeBits()
Constructors in org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol with parameters of type PrivilegeBits Constructor Description ACE(Principal principal, PrivilegeBits privilegeBits, boolean isAllow, Set<Restriction> restrictions, org.apache.jackrabbit.oak.namepath.NamePathMapper namePathMapper)
-
Uses of PrivilegeBits in org.apache.jackrabbit.oak.spi.security.authorization.permission
Methods in org.apache.jackrabbit.oak.spi.security.authorization.permission that return PrivilegeBits Modifier and Type Method 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 specifiedtree
isnull
.Methods in org.apache.jackrabbit.oak.spi.security.authorization.permission with parameters of type PrivilegeBits Modifier and Type Method 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 specifiedtree
isnull
. -
Uses of PrivilegeBits in org.apache.jackrabbit.oak.spi.security.privilege
Fields in org.apache.jackrabbit.oak.spi.security.privilege declared as PrivilegeBits Modifier and Type Field Description static PrivilegeBits
PrivilegeBits. EMPTY
static PrivilegeBits
PrivilegeBits. NEXT_AFTER_BUILT_INS
Fields in org.apache.jackrabbit.oak.spi.security.privilege with type parameters of type PrivilegeBits Modifier and Type Field Description static Map<String,PrivilegeBits>
PrivilegeBits. BUILT_IN
Methods in org.apache.jackrabbit.oak.spi.security.privilege that return PrivilegeBits Modifier and Type Method 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 theb
froma
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.
Ifthis
is included inother
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 String... privilegeNames)
Returns the bits for the given privilege names@NotNull PrivilegeBits
PrivilegeBitsProvider. getBits(@NotNull javax.jcr.security.Privilege[] privileges, @NotNull org.apache.jackrabbit.oak.namepath.NameMapper nameMapper)
Returns the bits for the given privilegesstatic PrivilegeBits
PrivilegeBits. getInstance()
Creates a mutable instance of privilege bits.static @NotNull PrivilegeBits
PrivilegeBits. getInstance(@NotNull 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.static PrivilegeBits
JcrAllUtil. getPrivilegeBits(@Nullable org.apache.jackrabbit.oak.api.PropertyState propertyState, @NotNull PrivilegeBitsProvider provider)
Get or create an instance of privilege bits for the given property state.@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 thisPrivilegeBits
that are contained in the specified otherPrivilegeBits
.@NotNull PrivilegeBits
PrivilegeBits. unmodifiable()
Returns an unmodifiable instance.Methods in org.apache.jackrabbit.oak.spi.security.privilege with parameters of type PrivilegeBits Modifier and Type Method 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 theb
froma
and adds the result (diff) to this instance.static org.apache.jackrabbit.oak.api.PropertyState
JcrAllUtil. asPropertyState(@NotNull String name, @NotNull PrivilegeBits bits, @NotNull PrivilegeBitsProvider provider)
Returns a new multi-valuedPropertyState
of typeType.LONGS
with the givenname
and the long representation of the givenbits
as values.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.
Ifthis
is included inother
empty
privilege bits is returned.static @NotNull PrivilegeBits
PrivilegeBits. getInstance(@NotNull 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)
Returnstrue
if all privileges defined by the specifiedotherBits
are present in this instance.@NotNull PrivilegeBits
PrivilegeBits. retain(@NotNull PrivilegeBits other)
Retains the elements in thisPrivilegeBits
that are contained in the specified otherPrivilegeBits
.
-