Uses of Class
com.broadleafcommerce.auth.resource.domain.Restriction
-
Packages that use Restriction Package Description com.broadleafcommerce.auth.resource.domain com.broadleafcommerce.auth.security.service com.broadleafcommerce.auth.user.listener -
-
Uses of Restriction in com.broadleafcommerce.auth.resource.domain
Methods in com.broadleafcommerce.auth.resource.domain that return Restriction Modifier and Type Method Description Restriction
RestrictedPermission. getRestriction()
Represents the restriction on this permission.Restriction
RestrictedRole. getRestriction()
Represents the restriction on this role.Methods in com.broadleafcommerce.auth.resource.domain that return types with arguments of type Restriction Modifier and Type Method Description Set<Restriction>
User. 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 Restriction Modifier and Type Method Description void
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 Restriction Modifier and Type Method Description void
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 Restriction Modifier and Type Method Description Set<Restriction>
DefaultPrivilegeService.PrivilegeHydrationResult. getRestrictions()
Methods in com.broadleafcommerce.auth.security.service with parameters of type Restriction Modifier and Type Method Description protected 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.Method parameters in com.broadleafcommerce.auth.security.service with type arguments of type Restriction Modifier and Type Method Description Map<String,Set<String>>
DefaultPrivilegeService. getRestrictionTargetsByRestrictionType(@NonNull Set<Restriction> restrictions)
Map<String,Set<String>>
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 Restriction Modifier and Type Method Description protected Restriction
AdminUserPersistenceHandler. toAuthRestriction(AdminRestriction adminRestriction)
protected Restriction
AdminUserPersistenceHandler. toAuthRestriction(String restrictionType, Set<String> restrictionTargets)
-