@NonNullApi
Package com.broadleafcommerce.auth.security.service
- Author:
- Jeff Fischer
-
Interface Summary Interface Description PrivilegeService A service that contains various utility functions related toRestriction
,RestrictedRole
, andRestrictedPermission
.SecurityService 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.UserLoginService Service for doing user authentication actionsUserPermissionService<P extends UserPermission> Provides CRUD management operations onUserPermission
.UserRoleService<P extends UserRole> -
Class Summary Class Description DefaultAuthorizationCodeServices Implementation ofAuthorizationCodeServices
that better handles ourAuthCode
domain compared to the Spring providedJdbcAuthorizationCodeServices
.DefaultPrivilegeService DefaultPrivilegeService.PrivilegeHydrationResult 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.DefaultSecurityService Default implementation of the security service that utilizes the security context and various repositories in order to assess the user's privileges.DefaultUserLoginService 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> PrivilegeSummary A data structure used byDefaultOAuth2UserDetailsService
andPrivilegeService
to hold all the authorities, restrictions, and restricted authorities of aUser
.SecurityServiceOAuth2RequestFactory A custom request factory implementation that utilizesSecurityService
to check that the requested scopes are valid for the request and current user.SimplePayloadMapper