Package com.broadleafcommerce.auth.security.service
@NonNullApi
package com.broadleafcommerce.auth.security.service
- Author:
- Jeff Fischer
-
ClassDescriptionCommon functionality for evaluating account accessAccountRoleService<P extends AccountRole>Methods to read and update
AccountRoles
.DefaultAccountRoleService<P extends AccountRole,D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable> An intermediary data structure used internally byPrivilegeService
to hold all the restrictions, flat permissions, restricted roles, and restricted permissions of auser entity
and permissions from aserver entity
to prevent querying the data multiple times.Methods for filtering scopes and permissions from what is accessible to what is requested or relevant.DefaultUserPermissionService<P extends UserPermission,D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable> DefaultUserRoleService<P extends UserRole,D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable> A service that contains various utility functions related toRestriction
,RestrictedRole
, andRestrictedPermission
.A data structure used byDefaultOAuth2UserDetailsService
andPrivilegeService
to hold all the authorities, restrictions, and restricted authorities of aUser
.Service used during the authorization flow to assess the privileges of the current user in order to filter the requested scopes or retrieve the permissions for an access token.Service for doing user authentication actionsUserPermissionService<P extends UserPermission>Provides CRUD management operations onUserPermission
.UserRoleService<P extends UserRole>