Uses of Class
org.apache.jackrabbit.oak.spi.security.privilege.PrivilegeBits
Packages that use PrivilegeBits
Package
Description
-
Uses of PrivilegeBits in org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol
Methods in org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol that return PrivilegeBitsConstructors in org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol with parameters of type PrivilegeBitsModifierConstructorDescriptionACE(@Nullable Principal principal, @Nullable PrivilegeBits privilegeBits, boolean isAllow, @Nullable Set<Restriction> restrictions, @NotNull org.apache.jackrabbit.oak.namepath.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 PrivilegeBitsModifier and TypeMethodDescription@NotNull PrivilegeBitsAggregatedPermissionProvider.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 specifiedtreeisnull.Methods in org.apache.jackrabbit.oak.spi.security.authorization.permission with parameters of type PrivilegeBitsModifier and TypeMethodDescription@NotNull PrivilegeBitsAggregatedPermissionProvider.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 specifiedtreeisnull. -
Uses of PrivilegeBits in org.apache.jackrabbit.oak.spi.security.privilege
Fields in org.apache.jackrabbit.oak.spi.security.privilege declared as PrivilegeBitsModifier and TypeFieldDescriptionstatic final PrivilegeBitsPrivilegeBits.EMPTYstatic final PrivilegeBitsPrivilegeBits.NEXT_AFTER_BUILT_INSFields in org.apache.jackrabbit.oak.spi.security.privilege with type parameters of type PrivilegeBitsMethods in org.apache.jackrabbit.oak.spi.security.privilege that return PrivilegeBitsModifier and TypeMethodDescription@NotNull PrivilegeBitsPrivilegeBits.add(@NotNull PrivilegeBits other) Adds the other privilege bits to this instance.@NotNull PrivilegeBitsPrivilegeBits.addDifference(@NotNull PrivilegeBits a, @NotNull PrivilegeBits b) Subtracts thebfromaand adds the result (diff) to this instance.@NotNull PrivilegeBitsPrivilegeBits.diff(@NotNull PrivilegeBits other) Subtracts the other PrivilegeBits from the this.
If the specified bits do not intersect with this, it isn't modified.
Ifthisis included inotheremptyprivilege bits is returned.@NotNull PrivilegeBitsReturns the bits for the given privilege names.@NotNull PrivilegeBitsReturns the bits for the given privilege names with the option to verify that all privilege names point to a valid, registered privilege.@NotNull PrivilegeBitsReturns the bits for the given privilege names.@NotNull PrivilegeBitsPrivilegeBitsProvider.getBits(@NotNull Privilege[] privileges, @NotNull org.apache.jackrabbit.oak.namepath.NameMapper nameMapper) Returns the bits for the given array of privileges.static PrivilegeBitsPrivilegeBits.getInstance()Creates a mutable instance of privilege bits.static @NotNull PrivilegeBitsPrivilegeBits.getInstance(@NotNull PrivilegeBits... base) Creates a mutable instance of privilege bits.static @NotNull PrivilegeBitsPrivilegeBits.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 PrivilegeBitsPrivilegeBits.getInstance(@Nullable org.apache.jackrabbit.oak.api.Tree tree) Get or create an instance of privilege bits for a privilege definition.static PrivilegeBitsJcrAllUtil.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 PrivilegeBitsPrivilegeBits.modifiable()@NotNull PrivilegeBitsPrivilegeBits.nextBits()Method to calculate the next privilege bits associated with this instance.@NotNull PrivilegeBitsPrivilegeBits.retain(@NotNull PrivilegeBits other) Retains the elements in thisPrivilegeBitsthat are contained in the specified otherPrivilegeBits.@NotNull PrivilegeBitsPrivilegeBits.unmodifiable()Returns an unmodifiable instance.Methods in org.apache.jackrabbit.oak.spi.security.privilege with parameters of type PrivilegeBitsModifier and TypeMethodDescription@NotNull PrivilegeBitsPrivilegeBits.add(@NotNull PrivilegeBits other) Adds the other privilege bits to this instance.@NotNull PrivilegeBitsPrivilegeBits.addDifference(@NotNull PrivilegeBits a, @NotNull PrivilegeBits b) Subtracts thebfromaand adds the result (diff) to this instance.static org.apache.jackrabbit.oak.api.PropertyStateJcrAllUtil.asPropertyState(@NotNull String name, @NotNull PrivilegeBits bits, @NotNull PrivilegeBitsProvider provider) Returns a new multi-valuedPropertyStateof typeType.LONGSwith the givennameand the long representation of the givenbitsas values.static longPrivilegeBits.calculatePermissions(@NotNull PrivilegeBits bits, @NotNull PrivilegeBits parentBits, boolean isAllow) Calculate the granted permissions by evaluating the given privileges.@NotNull PrivilegeBitsPrivilegeBits.diff(@NotNull PrivilegeBits other) Subtracts the other PrivilegeBits from the this.
If the specified bits do not intersect with this, it isn't modified.
Ifthisis included inotheremptyprivilege bits is returned.static @NotNull PrivilegeBitsPrivilegeBits.getInstance(@NotNull PrivilegeBits... base) Creates a mutable instance of privilege bits.PrivilegeBitsProvider.getPrivilegeNames(@Nullable PrivilegeBits privilegeBits) Resolve the given privilege bits to the corresponding set of privilege names.booleanPrivilegeBits.includes(@NotNull PrivilegeBits otherBits) Returnstrueif all privileges defined by the specifiedotherBitsare present in this instance.@NotNull PrivilegeBitsPrivilegeBits.retain(@NotNull PrivilegeBits other) Retains the elements in thisPrivilegeBitsthat are contained in the specified otherPrivilegeBits.