Uses of Class
com.broadleafcommerce.auth.resource.domain.UserPermissionRef
-
-
Uses of UserPermissionRef in com.broadleafcommerce.auth.resource.domain
Methods in com.broadleafcommerce.auth.resource.domain that return UserPermissionRef Modifier and Type Method Description UserPermissionRef
RestrictedPermission. getPermission()
Represents the permission that is being restricted.UserPermissionRef
UserPermission. toRef()
Methods in com.broadleafcommerce.auth.resource.domain that return types with arguments of type UserPermissionRef Modifier and Type Method Description Set<UserPermissionRef>
User. getPermissions()
The permissions that this user is directly assigned (in addition to permissions granted throughUser.roles
).Set<UserPermissionRef>
UserRole. getPermissions()
The permissions that this role has been directly assigned.Methods in com.broadleafcommerce.auth.resource.domain with parameters of type UserPermissionRef Modifier and Type Method Description void
RestrictedPermission. setPermission(UserPermissionRef permission)
Represents the permission that is being restricted.Method parameters in com.broadleafcommerce.auth.resource.domain with type arguments of type UserPermissionRef Modifier and Type Method Description void
User. setPermissions(Set<UserPermissionRef> permissions)
The permissions that this user is directly assigned (in addition to permissions granted throughUser.roles
).void
UserRole. setPermissions(Set<UserPermissionRef> permissions)
The permissions that this role has been directly assigned. -
Uses of UserPermissionRef in com.broadleafcommerce.auth.security.service
Methods in com.broadleafcommerce.auth.security.service that return types with arguments of type UserPermissionRef Modifier and Type Method Description protected Set<UserPermissionRef>
DefaultPrivilegeService. getAllFlatPermissions(@NonNull User user, @NonNull AuthorizationServer server, @NonNull Collection<UserRole> userAndServerRolesWithAncestors)
Gets a set of all flat permissions fromUser.getPermissions()
,AuthorizationServer.getDefaultUserPermissions()
, and permissions from the given roles.protected Set<UserPermissionRef>
DefaultPrivilegeService. getAllFlatPermissions(@NonNull Collection<UserRole> roles)
Gets a set of allUserRole.getPermissions()
from the given rolesSet<UserPermissionRef>
DefaultPrivilegeService.PrivilegeHydrationResult. getFlatPermissions()
protected Set<UserPermissionRef>
DefaultPrivilegeService. getPermissionsFromRestrictedPrivileges(@NonNull DefaultPrivilegeService.PrivilegeHydrationResult privilegeHydrationResult)
Gets all the permissions from restricted roles and their ancestors, and restricted permissions.Method parameters in com.broadleafcommerce.auth.security.service with type arguments of type UserPermissionRef Modifier and Type Method Description protected Map<String,Map<String,Set<String>>>
DefaultPrivilegeService. getRestrictionTypeAndTargetsByPermissionName(@NonNull Set<UserPermissionRef> flatPermissions, @NonNull Set<Restriction> restrictions)
Maps eachUserPermissionRef
with all ofRestriction
.void
DefaultPrivilegeService.PrivilegeHydrationResult. setFlatPermissions(Set<UserPermissionRef> flatPermissions)
Constructor parameters in com.broadleafcommerce.auth.security.service with type arguments of type UserPermissionRef Constructor Description PrivilegeHydrationResult(Set<UserPermissionRef> flatPermissions, Set<Restriction> restrictions, Set<RestrictedRole> restrictedRoles, Map<String,Collection<UserRole>> restrictedRoleWithAncestorsByRestrictedRoleId, Set<RestrictedPermission> restrictedPermissions)
-
Uses of UserPermissionRef in com.broadleafcommerce.auth.server.domain
Methods in com.broadleafcommerce.auth.server.domain that return types with arguments of type UserPermissionRef Modifier and Type Method Description Set<UserPermissionRef>
AuthorizationServer. getDefaultUserPermissions()
The default permissions a user is assigned when authenticating against this server.Method parameters in com.broadleafcommerce.auth.server.domain with type arguments of type UserPermissionRef Modifier and Type Method Description void
AuthorizationServer. setDefaultUserPermissions(Set<UserPermissionRef> defaultUserPermissions)
The default permissions a user is assigned when authenticating against this server. -
Uses of UserPermissionRef in com.broadleafcommerce.auth.tenant.service
Methods in com.broadleafcommerce.auth.tenant.service that return types with arguments of type UserPermissionRef Modifier and Type Method Description protected Set<UserPermissionRef>
DefaultAuthServerCreationHandler. getDefaultPermissions(DefaultAuthServerProperties.AuthServerProperties defaultAuthServerProperties)
-
Uses of UserPermissionRef in com.broadleafcommerce.auth.user.listener
Methods in com.broadleafcommerce.auth.user.listener that return UserPermissionRef Modifier and Type Method Description protected UserPermissionRef
AdminUserPersistenceHandler. toAuthPermissionRef(AdminPermissionRef adminPermissionRef)
Deprecated.Since 1.7.0.protected UserPermissionRef
AdminUserPersistenceHandler. toAuthPermissionRef(String id)
Method parameters in com.broadleafcommerce.auth.user.listener with type arguments of type UserPermissionRef Modifier and Type Method Description protected boolean
AdminUserPersistenceHandler. arePermissionsEqual(Set<UserPermissionRef> newPermissions, Set<UserPermissionRef> existingPermissions)
-