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 PrivilegeBitsValidationEntry. privilegeBitsConstructors in org.apache.jackrabbit.oak.security.authorization.accesscontrol with parameters of type PrivilegeBits Constructor Description ValidationEntry(@NotNull String principalName, @NotNull PrivilegeBits privilegeBits, boolean isAllow, @NotNull Set<Restriction> restrictions)ValidationEntry(@NotNull String principalName, @NotNull PrivilegeBits privilegeBits, boolean isAllow, @NotNull 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 PrivilegeBitsAllPermissionProviderImpl. supportedPrivileges(@Nullable Tree tree, @Nullable PrivilegeBits privilegeBits)@NotNull PrivilegeBitsPermissionProviderImpl. 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 PrivilegeBitsAllPermissionProviderImpl. supportedPrivileges(@Nullable Tree tree, @Nullable PrivilegeBits privilegeBits)@NotNull PrivilegeBitsPermissionProviderImpl. 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 PrivilegeBitsACE. getPrivilegeBits()Constructors in org.apache.jackrabbit.oak.spi.security.authorization.accesscontrol with parameters of type PrivilegeBits Constructor Description ACE(@Nullable Principal principal, @Nullable PrivilegeBits privilegeBits, boolean isAllow, @Nullable 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 PrivilegeBitsAggregatedPermissionProvider. 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 specifiedtreeisnull.Methods in org.apache.jackrabbit.oak.spi.security.authorization.permission with parameters of type PrivilegeBits Modifier and Type Method Description @NotNull PrivilegeBitsAggregatedPermissionProvider. 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 specifiedtreeisnull. -
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 PrivilegeBitsPrivilegeBits. EMPTYstatic PrivilegeBitsPrivilegeBits. NEXT_AFTER_BUILT_INSFields 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_INMethods in org.apache.jackrabbit.oak.spi.security.privilege that return PrivilegeBits Modifier and Type Method Description @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 PrivilegeBitsPrivilegeBitsProvider. getBits(@NotNull Iterable<String> privilegeNames)Returns the bits for the given privilege names.@NotNull PrivilegeBitsPrivilegeBitsProvider. getBits(@NotNull Iterable<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 PrivilegeBitsPrivilegeBitsProvider. getBits(@NotNull String... privilegeNames)Returns the bits for the given privilege names.@NotNull PrivilegeBitsPrivilegeBitsProvider. getBits(@NotNull Privilege[] privileges, @NotNull 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 PropertyState property)Get or create an instance of privilege bits for a specific property that stores privileges.static @NotNull PrivilegeBitsPrivilegeBits. getInstance(@Nullable Tree tree)Get or create an instance of privilege bits for a privilege definition.static PrivilegeBitsJcrAllUtil. getPrivilegeBits(@Nullable 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 PrivilegeBits Modifier and Type Method Description @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 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.@NotNull Set<String>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.
-