Uses of Class
com.broadleafcommerce.auth.security.service.DefaultPrivilegeService.PrivilegeHydrationResult
-
Uses of DefaultPrivilegeService.PrivilegeHydrationResult in com.broadleafcommerce.auth.security.service
Modifier and TypeMethodDescriptionDefaultPrivilegeService.getHydratedPrivileges
(@NonNull User user, @NonNull String serverId) Determine restrictions, flat permissions, restricted roles, and restricted permissions for aUser
and on anAuthorizationServer
.Modifier and TypeMethodDescriptionDefaultPrivilegeService.getAllAuthorities
(@NonNull DefaultPrivilegeService.PrivilegeHydrationResult privilegeHydrationResult) Gets all the authorities from the flat permissions, permissions from restricted roles, and permissions from restricted permissions.protected Set<UserPermissionRef>
DefaultPrivilegeService.getPermissionsFromRestrictedPrivileges
(@NonNull DefaultPrivilegeService.PrivilegeHydrationResult privilegeHydrationResult) Gets all the permissions from restricted roles and their ancestors, and restricted permissions.DefaultPrivilegeService.getRestrictionTypeAndTargetsByPermissionName
(@NonNull DefaultPrivilegeService.PrivilegeHydrationResult privilegeHydrationResult) Gets a consolidated map of restricted permissions with the combination of flat permissions and restrictions, restricted roles, and restricted permissions from aUser
.DefaultPrivilegeService.getRestrictionTypeAndTargetsByPermissionNameForRestrictedPermissions
(@NonNull DefaultPrivilegeService.PrivilegeHydrationResult privilegeHydrationResult) Converts the Set ofRestrictedPermission
to a Map with the structure of: { permissionName: { restrictionType: [restrictionTargets] } }.DefaultPrivilegeService.getRestrictionTypeAndTargetsByPermissionNameForRestrictedRoles
(@NonNull DefaultPrivilegeService.PrivilegeHydrationResult privilegeHydrationResult)