Uses of Class
com.broadleafcommerce.auth.resource.domain.Restriction
Packages that use Restriction
Package
Description
-
Uses of Restriction in com.broadleafcommerce.auth.resource.domain
Methods in com.broadleafcommerce.auth.resource.domain that return RestrictionModifier and TypeMethodDescriptionRestrictedPermission.getRestriction()
Represents the restriction on this permission.RestrictedRole.getRestriction()
Represents the restriction on this role.Methods in com.broadleafcommerce.auth.resource.domain that return types with arguments of type RestrictionModifier and TypeMethodDescriptionUser.getRestrictions()
The data restrictions that control the data this user is permitted to access.Methods in com.broadleafcommerce.auth.resource.domain with parameters of type RestrictionModifier and TypeMethodDescriptionvoid
RestrictedPermission.setRestriction
(Restriction restriction) Represents the restriction on this permission.void
RestrictedRole.setRestriction
(Restriction restriction) Represents the restriction on this role.Method parameters in com.broadleafcommerce.auth.resource.domain with type arguments of type RestrictionModifier and TypeMethodDescriptionvoid
User.setRestrictions
(Set<Restriction> restrictions) The data restrictions that control the data this user is permitted to access. -
Uses of Restriction in com.broadleafcommerce.auth.security.service
Methods in com.broadleafcommerce.auth.security.service that return types with arguments of type RestrictionModifier and TypeMethodDescriptionDefaultPrivilegeService.PrivilegeHydrationResult.getRestrictions()
Methods in com.broadleafcommerce.auth.security.service with parameters of type RestrictionModifier and TypeMethodDescriptionprotected void
DefaultPrivilegeService.addRestrictionByExpandedPermissionNames
(@NonNull Map<String, Map<String, Set<String>>> restrictionTypeAndTargetsByPermissionName, @NonNull Restriction restriction, @NonNull String permissionName) Add both ALL_* permissions and expanded CRUD_* permissions with the given restriction to the map.protected void
DefaultPrivilegeService.addRestrictionToMap
(@NonNull Map<String, Set<String>> map, @NonNull Restriction restriction) AddRestriction
targets to the given Map by restriction type.Method parameters in com.broadleafcommerce.auth.security.service with type arguments of type RestrictionModifier and TypeMethodDescriptionDefaultPrivilegeService.getRestrictionTargetsByRestrictionType
(@NonNull Set<Restriction> restrictions) PrivilegeService.getRestrictionTargetsByRestrictionType
(@NonNull Set<Restriction> restrictions) Converts the Set ofRestriction
to a Map with the structure of: {restrictionType: [restrictionTargets]}.void
DefaultPrivilegeService.PrivilegeHydrationResult.setRestrictions
(Set<Restriction> restrictions) -
Uses of Restriction in com.broadleafcommerce.auth.user.listener
Methods in com.broadleafcommerce.auth.user.listener that return RestrictionModifier and TypeMethodDescriptionprotected Restriction
AdminUserPersistenceHandler.toAuthRestriction
(AdminRestriction adminRestriction) protected Restriction
AdminUserPersistenceHandler.toAuthRestriction
(String restrictionType, Set<String> restrictionTargets)