Package com.broadleafcommerce.auth.security.service
@NonNullApi
package com.broadleafcommerce.auth.security.service
- Author:
- Jeff Fischer
-
ClassDescriptionAbstractExternalAdminUserHandler<T extends org.springframework.security.core.Authentication>Common 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> DefaultExternalRoleMappingService<P extends ExternalRoleMapping,D extends com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable & com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware> 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.This service providesUserMappingProperties.FieldMapping
objects built fromUserMappingProperties
defined through application properties.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> ExternalAdminUserHandler<T extends org.springframework.security.core.Authentication>This service handles creation and management admin users that login via third party authentication providers.ExternalRoleMappingService<D extends ExternalRoleMapping>Service to query for roles that map to other roles.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>