Uses of Class
com.broadleafcommerce.auth.resource.domain.Restriction
Package
Description
-
Uses of Restriction in com.broadleafcommerce.auth.resource.domain
Modifier and TypeMethodDescriptionRestrictedPermission.getRestriction()
Represents the restriction on this permission.RestrictedRole.getRestriction()
Represents the restriction on this role.Modifier and TypeMethodDescriptionUser.getRestrictions()
The data restrictions that control the data this user is permitted to access.Modifier and TypeMethodDescriptionvoid
RestrictedPermission.setRestriction
(Restriction restriction) Represents the restriction on this permission.void
RestrictedRole.setRestriction
(Restriction restriction) Represents the restriction on this role.Modifier 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
Modifier and TypeMethodDescriptionDefaultPrivilegeService.PrivilegeHydrationResult.getRestrictions()
Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionprotected Restriction
AdminUserPersistenceHandler.toAuthRestriction
(AdminRestriction adminRestriction) protected Restriction
AdminUserPersistenceHandler.toAuthRestriction
(String restrictionType, Set<String> restrictionTargets)