Uses of Class
org.apache.jackrabbit.oak.spi.security.privilege.PrivilegeBits
-
-
Uses of PrivilegeBits in org.apache.jackrabbit.oak.security.authorization.accesscontrol
Fields in org.apache.jackrabbit.oak.security.authorization.accesscontrol declared as PrivilegeBits Modifier and Type Field Description protected PrivilegeBits
ValidationEntry. privilegeBits
Constructors in org.apache.jackrabbit.oak.security.authorization.accesscontrol with parameters of type PrivilegeBits Constructor Description ValidationEntry(@NotNull java.lang.String principalName, @NotNull PrivilegeBits privilegeBits, boolean isAllow, @NotNull java.util.Set<Restriction> restrictions)
ValidationEntry(@NotNull java.lang.String principalName, @NotNull PrivilegeBits privilegeBits, boolean isAllow, @NotNull java.util.Set<Restriction> restrictions, int index)
-
Uses of PrivilegeBits in org.apache.jackrabbit.oak.security.authorization.permission
Methods in org.apache.jackrabbit.oak.security.authorization.permission that return PrivilegeBits Modifier and Type Method Description @NotNull PrivilegeBits
AllPermissionProviderImpl. supportedPrivileges(@Nullable Tree tree, @Nullable PrivilegeBits privilegeBits)
@NotNull PrivilegeBits
PermissionProviderImpl. supportedPrivileges(@Nullable Tree tree, @Nullable PrivilegeBits privilegeBits)
Methods in org.apache.jackrabbit.oak.security.authorization.permission with parameters of type PrivilegeBits Modifier and Type Method Description @NotNull PrivilegeBits
AllPermissionProviderImpl. supportedPrivileges(@Nullable Tree tree, @Nullable PrivilegeBits privilegeBits)
@NotNull PrivilegeBits
PermissionProviderImpl. supportedPrivileges(@Nullable Tree tree, @Nullable PrivilegeBits 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(@Nullable java.security.Principal principal, @Nullable PrivilegeBits privilegeBits, boolean isAllow, @Nullable java.util.Set<Restriction> restrictions, @NotNull NamePathMapper namePathMapper)
Creates a new access control entry. -
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 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 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 java.util.Map<java.lang.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 java.lang.Iterable<java.lang.String> privilegeNames)
Returns the bits for the given privilege names.@NotNull PrivilegeBits
PrivilegeBitsProvider. getBits(@NotNull java.lang.Iterable<java.lang.String> privilegeNames, boolean validateNames)
Returns the bits for the given privilege names with the option to verify that all privilege names point to a valid, registered privilege.@NotNull PrivilegeBits
PrivilegeBitsProvider. getBits(@NotNull java.lang.String... privilegeNames)
Returns the bits for the given privilege names.@NotNull PrivilegeBits
PrivilegeBitsProvider. getBits(@NotNull Privilege[] privileges, @NotNull NameMapper nameMapper)
Returns the bits for the given array of privileges.static 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 PropertyState property)
Get or create an instance of privilege bits for a specific property that stores privileges.static @NotNull PrivilegeBits
PrivilegeBits. getInstance(@Nullable Tree tree)
Get or create an instance of privilege bits for a privilege definition.static PrivilegeBits
JcrAllUtil. getPrivilegeBits(@Nullable 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 PropertyState
JcrAllUtil. asPropertyState(@NotNull java.lang.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 java.util.Set<java.lang.String>
PrivilegeBitsProvider. getPrivilegeNames(@Nullable PrivilegeBits privilegeBits)
Resolve the given privilege bits to the corresponding 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
.
-