Uses of Class
org.apache.sling.jcr.jackrabbit.accessmanager.LocalRestriction
Packages that use LocalRestriction
Package
Description
- 
Uses of LocalRestriction in org.apache.sling.jcr.jackrabbit.accessmanagerMethods in org.apache.sling.jcr.jackrabbit.accessmanager that return LocalRestrictionModifier and TypeMethodDescriptionstatic @NotNull LocalRestrictionLocalRestriction.cloneWithNewValues(@NotNull LocalRestriction lr, @NotNull javax.jcr.Value[] newValues) Clone from an existing object and then assign the new valuesMethods in org.apache.sling.jcr.jackrabbit.accessmanager that return types with arguments of type LocalRestrictionModifier and TypeMethodDescriptionLocalPrivilege.getAllowRestrictions()LocalPrivilege.getDenyRestrictions()protected Set<LocalRestriction>LocalPrivilege.mergeRestrictions(Set<LocalRestriction> currentRestrictions, Set<LocalRestriction> newRestrictions) Methods in org.apache.sling.jcr.jackrabbit.accessmanager with parameters of type LocalRestrictionModifier and TypeMethodDescriptionstatic @NotNull LocalRestrictionLocalRestriction.cloneWithNewValues(@NotNull LocalRestriction lr, @NotNull javax.jcr.Value[] newValues) Clone from an existing object and then assign the new valuesMethod parameters in org.apache.sling.jcr.jackrabbit.accessmanager with type arguments of type LocalRestrictionModifier and TypeMethodDescriptionprotected Set<LocalRestriction>LocalPrivilege.mergeRestrictions(Set<LocalRestriction> currentRestrictions, Set<LocalRestriction> newRestrictions) booleanLocalPrivilege.sameAllowRestrictions(Set<LocalRestriction> otherAllowRestrictions) compares if restrictions present is same as specified restrictions in the supplied argumentbooleanLocalPrivilege.sameDenyRestrictions(Set<LocalRestriction> otherDenyRestrictions) compares if restrictions present is same as specified restrictions in the supplied argumentvoidLocalPrivilege.setAllowRestrictions(Set<LocalRestriction> restrictions) voidLocalPrivilege.setDenyRestrictions(Set<LocalRestriction> restrictions) 
- 
Uses of LocalRestriction in org.apache.sling.jcr.jackrabbit.accessmanager.postMethods in org.apache.sling.jcr.jackrabbit.accessmanager.post that return LocalRestrictionModifier and TypeMethodDescriptionprotected LocalRestrictionModifyAceServlet.toLocalRestriction(@NotNull SlingHttpServletRequest request, @NotNull Map<String, org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinition> srMap, @NotNull String restrictionName, @NotNull String paramName) Construct a LocalRestriction using data a request parameterMethods in org.apache.sling.jcr.jackrabbit.accessmanager.post that return types with arguments of type LocalRestrictionModifier and TypeMethodDescriptionprotected Set<LocalRestriction>ModifyAceServlet.postedRestrictionsForPrivilege(@NotNull SlingHttpServletRequest request, @NotNull Map<String, org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinition> srMap, @NotNull javax.jcr.security.Privilege forPrivilege, @NotNull org.apache.sling.jcr.jackrabbit.accessmanager.post.ModifyAceServlet.PrivilegeValues forAllowOrDeny, @NotNull Set<LocalRestriction> generalRestrictions) Populate the restrictions that that were posted and applicable to the requested privilegeMethod parameters in org.apache.sling.jcr.jackrabbit.accessmanager.post with type arguments of type LocalRestrictionModifier and TypeMethodDescriptionprotected voidModifyAceServlet.addAces(@NotNull String resourcePath, @NotNull Principal principal, @NotNull Map<Set<LocalRestriction>, List<LocalPrivilege>> restrictionsToLocalPrivilegesMap, boolean isAllow, @NotNull org.apache.jackrabbit.api.security.JackrabbitAccessControlList acl, Map<javax.jcr.security.Privilege, Integer> privilegeLongestDepthMap) Add ACEs for the specified principal to the ACL.protected voidModifyPrincipalAceServlet.addAces(@NotNull String resourcePath, @NotNull Principal principal, @NotNull Map<Set<LocalRestriction>, List<LocalPrivilege>> restrictionsToLocalPrivilegesMap, boolean isAllow, @NotNull org.apache.jackrabbit.api.security.JackrabbitAccessControlList acl, Map<javax.jcr.security.Privilege, Integer> privilegeLongestDepthMap) Override to ensure we do not add enty that denies privileges which is not allowed in a principal ACEprotected voidAbstractGetAclServlet.addRestrictions(jakarta.json.JsonObjectBuilder privilegeObj, String key, Set<LocalRestriction> restrictions) Deprecated.protected voidModifyAceServlet.applyPrivilegeAndRestrictions(@NotNull Map<javax.jcr.security.Privilege, LocalPrivilege> privilegeToLocalPrivilegesMap, @NotNull javax.jcr.security.Privilege p, boolean allow, @NotNull Set<LocalRestriction> allowRestrictions, boolean deny, @NotNull Set<LocalRestriction> denyRestrictions) Apply the privilege and restrictions to the local privilegesprotected Set<LocalRestriction>ModifyAceServlet.postedRestrictionsForPrivilege(@NotNull SlingHttpServletRequest request, @NotNull Map<String, org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionDefinition> srMap, @NotNull javax.jcr.security.Privilege forPrivilege, @NotNull org.apache.sling.jcr.jackrabbit.accessmanager.post.ModifyAceServlet.PrivilegeValues forAllowOrDeny, @NotNull Set<LocalRestriction> generalRestrictions) Populate the restrictions that that were posted and applicable to the requested privilege
JsonConvert.addRestrictions(JsonObjectBuilder, String, Set)instead