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> Implementation ofAuthorizationCodeServicesthat better handles ourAuthCodedomain compared to the Spring providedJdbcAuthorizationCodeServices.An intermediary data structure used internally byPrivilegeServiceto hold all the restrictions, flat permissions, restricted roles, and restricted permissions of auser entityand permissions from aserver entityto prevent querying the data multiple times.Default implementation of the security service that utilizes the security context and various repositories in order to assess the user's privileges.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 byDefaultOAuth2UserDetailsServiceandPrivilegeServiceto 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.A custom request factory implementation that utilizesSecurityServiceto check that the requested scopes are valid for the request and current user.Service for doing user authentication actionsUserPermissionService<P extends UserPermission>Provides CRUD management operations onUserPermission.UserRoleService<P extends UserRole>