Uses of Class
com.broadleafcommerce.auth.resource.domain.User
Packages that use User
Package
Description
-
Uses of User in com.broadleafcommerce.auth.authorization.security.autoconfigure
Methods in com.broadleafcommerce.auth.authorization.security.autoconfigure that return types with arguments of type UserModifier and TypeMethodDescriptionprotected PasscodeService<PasswordToken,
User> OAuth2AuthorizationServerConfigurerCustomizer.getPasscodeService()
protected UserService<User>
OAuth2AuthorizationServerConfigurerCustomizer.getUserService()
Method parameters in com.broadleafcommerce.auth.authorization.security.autoconfigure with type arguments of type UserModifier and TypeMethodDescriptionSpringAuthorizationServerComponentsConfiguration.oAuth2AuthorizationServerConfigurerCustomizer
(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, SecurityService securityService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository, DefaultClientScopeAuthorizationCodeRequestConverter defaultClientScopeAuthorizationCodeRequestConverter, DefaultClientScopeClientCredentialsRequestConverter defaultClientScopeClientCredentialsRequestConverter, Consumer<org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeRequestAuthenticationContext> oAuth2AuthorizationCodeRequestAuthenticationValidator, TokenProperties tokenProperties, EmbeddedLoginProperties embeddedLoginProperties, EmbeddedLoginCodeAuthenticationConverter embeddedLoginCodeAuthenticationConverter, PasscodeService<PasswordToken, User> passcodeService, OAuth2UserDetailsService userDetailsService, UserService<User> userService, PublicRefreshPublicClientAuthenticationConverter authenticationConverter) SpringAuthorizationServerComponentsConfiguration.oAuth2AuthorizationServerConfigurerCustomizer
(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, SecurityService securityService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository, DefaultClientScopeAuthorizationCodeRequestConverter defaultClientScopeAuthorizationCodeRequestConverter, DefaultClientScopeClientCredentialsRequestConverter defaultClientScopeClientCredentialsRequestConverter, Consumer<org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeRequestAuthenticationContext> oAuth2AuthorizationCodeRequestAuthenticationValidator, TokenProperties tokenProperties, EmbeddedLoginProperties embeddedLoginProperties, EmbeddedLoginCodeAuthenticationConverter embeddedLoginCodeAuthenticationConverter, PasscodeService<PasswordToken, User> passcodeService, OAuth2UserDetailsService userDetailsService, UserService<User> userService, PublicRefreshPublicClientAuthenticationConverter authenticationConverter) Constructor parameters in com.broadleafcommerce.auth.authorization.security.autoconfigure with type arguments of type UserModifierConstructorDescriptionOAuth2AuthorizationServerConfigurerCustomizer
(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, SecurityService securityService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository, DefaultClientScopeAuthorizationCodeRequestConverter defaultClientScopeAuthorizationCodeRequestConverter, DefaultClientScopeClientCredentialsRequestConverter defaultClientScopeClientCredentialsRequestConverter, Consumer<org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeRequestAuthenticationContext> oAuth2AuthorizationCodeRequestAuthenticationValidator, TokenProperties tokenProperties, EmbeddedLoginProperties embeddedLoginProperties, EmbeddedLoginCodeAuthenticationConverter embeddedLoginCodeAuthenticationConverter, PasscodeService<PasswordToken, User> passcodeService, OAuth2UserDetailsService userDetailsService, UserService<User> userService, PublicRefreshPublicClientAuthenticationConverter publicClientAuthenticationConverter) OAuth2AuthorizationServerConfigurerCustomizer
(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, SecurityService securityService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository, DefaultClientScopeAuthorizationCodeRequestConverter defaultClientScopeAuthorizationCodeRequestConverter, DefaultClientScopeClientCredentialsRequestConverter defaultClientScopeClientCredentialsRequestConverter, Consumer<org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationCodeRequestAuthenticationContext> oAuth2AuthorizationCodeRequestAuthenticationValidator, TokenProperties tokenProperties, EmbeddedLoginProperties embeddedLoginProperties, EmbeddedLoginCodeAuthenticationConverter embeddedLoginCodeAuthenticationConverter, PasscodeService<PasswordToken, User> passcodeService, OAuth2UserDetailsService userDetailsService, UserService<User> userService, PublicRefreshPublicClientAuthenticationConverter publicClientAuthenticationConverter) -
Uses of User in com.broadleafcommerce.auth.authorization.security.embedded.autoconfigure
Methods in com.broadleafcommerce.auth.authorization.security.embedded.autoconfigure that return types with arguments of type UserModifier and TypeMethodDescriptionEmbeddedLoginAutoConfiguration.embeddedLoginAuthenticationSuccessHandler
(PasscodeService<PasswordToken, User> passcodeService, UserService<User> userService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) Method parameters in com.broadleafcommerce.auth.authorization.security.embedded.autoconfigure with type arguments of type UserModifier and TypeMethodDescriptionEmbeddedLoginAutoConfiguration.embeddedLoginAuthenticationSuccessHandler
(PasscodeService<PasswordToken, User> passcodeService, UserService<User> userService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) EmbeddedLoginAutoConfiguration.embeddedLoginAuthenticationSuccessHandler
(PasscodeService<PasswordToken, User> passcodeService, UserService<User> userService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Uses of User in com.broadleafcommerce.auth.authorization.security.embedded.code
Constructor parameters in com.broadleafcommerce.auth.authorization.security.embedded.code with type arguments of type UserModifierConstructorDescriptionEmbeddedLoginCodeAuthenticationProvider
(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<? extends org.springframework.security.oauth2.core.OAuth2Token> tokenGenerator, TokenProperties tokenProperties, SecurityService securityService, PasscodeService<PasswordToken, User> passcodeService, OAuth2UserDetailsService userDetailsService, UserService<User> userService) EmbeddedLoginCodeAuthenticationProvider
(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<? extends org.springframework.security.oauth2.core.OAuth2Token> tokenGenerator, TokenProperties tokenProperties, SecurityService securityService, PasscodeService<PasswordToken, User> passcodeService, OAuth2UserDetailsService userDetailsService, UserService<User> userService) -
Uses of User in com.broadleafcommerce.auth.authorization.security.embedded.login
Classes in com.broadleafcommerce.auth.authorization.security.embedded.login with type parameters of type UserModifier and TypeClassDescriptionclass
EmbeddedLoginAuthenticationSuccessHandler<P extends PasswordToken,
U extends User> Writes a One-Time Passcode to the response on Embedded Login success. -
Uses of User in com.broadleafcommerce.auth.client.web.authentication.session
Constructor parameters in com.broadleafcommerce.auth.client.web.authentication.session with type arguments of type UserModifierConstructorDescriptionAbstractOAuthClientAuthenticationStrategyDelegate
(OAuth2UserDetailsService oAuth2UserDetailsService, UserRegistrationService<User> registrationService, AuthRegistrationProperties registrationProperties, AuthorizedClientService<AuthorizedClient> clientService, ClientIdentityProviderProperties clientProperties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, PasswordGenerator passwordGenerator) DefaultOIDCAuthenticationStrategyDelegate
(OAuth2UserDetailsService oAuth2UserDetailsService, UserRegistrationService<User> registrationService, AuthRegistrationProperties registrationProperties, AuthorizedClientService<AuthorizedClient> clientService, ClientIdentityProviderProperties clientProperties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, PasswordGenerator passwordGenerator) GithubOAuthClientAuthenticationStrategyDelegate
(OAuth2UserDetailsService oAuth2UserDetailsService, UserRegistrationService<User> registrationService, AuthRegistrationProperties registrationProperties, AuthorizedClientService<AuthorizedClient> clientService, ClientIdentityProviderProperties clientProperties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, PasswordGenerator passwordGenerator) GoogleOAuthClientAuthenticationStrategyDelegate
(OAuth2UserDetailsService oAuth2UserDetailsService, UserRegistrationService<User> registrationService, AuthRegistrationProperties registrationProperties, AuthorizedClientService<AuthorizedClient> clientService, ClientIdentityProviderProperties clientProperties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, PasswordGenerator passwordGenerator) -
Uses of User in com.broadleafcommerce.auth.passcode.service
Classes in com.broadleafcommerce.auth.passcode.service with type parameters of type UserModifier and TypeClassDescriptionclass
DefaultPasscodeService<P extends PasswordToken,
U extends User, D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable> interface
PasscodeService<P extends PasswordToken,
U extends User> This service provides methods for creating and consuming random passcodes. -
Uses of User in com.broadleafcommerce.auth.resource.service.validation
Methods in com.broadleafcommerce.auth.resource.service.validation with parameters of type UserModifier and TypeMethodDescriptionprotected void
UserValidator.validatePermissions
(User businessInstance, org.springframework.validation.Errors errors) protected void
UserValidator.validateServiceIdAndType
(User user, org.springframework.validation.Errors errors) -
Uses of User in com.broadleafcommerce.auth.resource.web.endpoint
Methods in com.broadleafcommerce.auth.resource.web.endpoint that return UserModifier and TypeMethodDescriptionUserEndpoint.createUser
(User user, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) UserEndpoint.getUser
(String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) UserEndpoint.replaceUser
(String id, User user, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Methods in com.broadleafcommerce.auth.resource.web.endpoint that return types with arguments of type UserModifier and TypeMethodDescriptionprotected UserPasswordService<PasswordToken,
User> UserEndpoint.getUserPasswordService()
protected UserService<User>
UserEndpoint.getUserSvc()
org.springframework.data.domain.Page<User>
UserEndpoint.readAllUsers
(org.springframework.data.domain.Pageable page, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Methods in com.broadleafcommerce.auth.resource.web.endpoint with parameters of type UserModifier and TypeMethodDescriptionUserEndpoint.createUser
(User user, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) UserEndpoint.replaceUser
(String id, User user, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Constructor parameters in com.broadleafcommerce.auth.resource.web.endpoint with type arguments of type UserModifierConstructorDescriptionUserEndpoint
(UserService<User> userSvc, UserPasswordService<PasswordToken, User> userPasswordService, AuthorizedClientService<AuthorizedClient> clientService) UserEndpoint
(UserService<User> userSvc, UserPasswordService<PasswordToken, User> userPasswordService, AuthorizedClientService<AuthorizedClient> clientService) -
Uses of User in com.broadleafcommerce.auth.security.service
Methods in com.broadleafcommerce.auth.security.service with parameters of type UserModifier and TypeMethodDescriptionprotected Collection<String>
DefaultPrivilegeService.getAccountRoles
(User user) Get aUser's
account roles for the active account.DefaultPrivilegeService.getAccountWithAncestors
(User user) Get a list of Account ids for the active account id and any parent accounts.AccountAncestorService.getAllActiveAccountIdsForUser
(User user) Get the set of account ids for all accounts where the user has an activeAccountRole
.DefaultAccountAncestorService.getAllActiveAccountIdsForUser
(User user) AccountAncestorService.getAllActiveAccountRoleIdsForUser
(User user) Get the set of role ids for all of a user's activeAccountRoles
.DefaultAccountAncestorService.getAllActiveAccountRoleIdsForUser
(User user) protected Set<UserPermissionRef>
DefaultPrivilegeService.getAllFlatPermissions
(@NonNull User user, @NonNull AuthorizationServer server, @NonNull Collection<UserRole> userAndServerRolesWithAncestors) Gets a set of all flat permissions fromgetPermissions()
,AuthorizationServer.getDefaultUserPermissions()
, and permissions from the given roles.AccountAncestorService.getAllUserRolesForAccount
(User user, String accountId) Gets all the user'sAccountRoles
given anaccountId
including inherited roles from ancestor accounts.DefaultAccountAncestorService.getAllUserRolesForAccount
(User user, String accountId) DefaultPrivilegeService.getHydratedPrivileges
(@NonNull User user, @NonNull String serverId) Determine restrictions, flat permissions, restricted roles, and restricted permissions for aUser
and on anAuthorizationServer
.DefaultPrivilegeService.getRoleIds
(@NonNull User user) Get the set of all of a user's roles, including account roles for the active account.DefaultPrivilegeService.getUserPrivilegeSummary
(@NonNull User user, @NonNull String serverId) PrivilegeService.getUserPrivilegeSummary
(@NonNull User user, @NonNull String serverId) Gets aPrivilegeSummary
of user's consolidated authorities, restrictions, and restricted authorities.boolean
AccountAncestorService.userHasAccessToRequestedAccount
(String requestedAccountId, User user) Determine if the user has access to the given account or any parent of the given account.boolean
DefaultAccountAncestorService.userHasAccessToRequestedAccount
(String requestedAccountId, User user) -
Uses of User in com.broadleafcommerce.auth.server.service.anonymization
Methods in com.broadleafcommerce.auth.server.service.anonymization that return types with arguments of type UserModifier and TypeMethodDescriptionprotected UserService<User>
UserAnonymizationHandler.getUserService()
Methods in com.broadleafcommerce.auth.server.service.anonymization with parameters of type UserModifier and TypeMethodDescriptionprotected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
UserAnonymizationHandler.handleRecords
(String boundedContextIdentifier, User member) Constructor parameters in com.broadleafcommerce.auth.server.service.anonymization with type arguments of type User -
Uses of User in com.broadleafcommerce.auth.user.autoconfigure
Method parameters in com.broadleafcommerce.auth.user.autoconfigure with type arguments of type UserModifier and TypeMethodDescriptionImpersonationConfiguration.defaultImpersonationClaimsEnhancer
(AuthorizationServerProperties properties, UserService<User> userService, UserRoleService<UserRole> roleService, UserRoleAncestryHydrationService roleAncestryHydrationService) ImpersonationConfiguration.impersonationRequestValidator
(UserService<User> userService, AuthorizedClientService<AuthorizedClient> authorizedClientService, AuthorizationServerService<AuthorizationServer> authorizationServerService, ClientRedirectService clientRedirectService) OAuth2UserDetailsAutoConfiguration.oAuth2UserDetailsService
(UserService<User> userService, AuthorizedClientService<AuthorizedClient> clientService, PrivilegeService privilegeService) -
Uses of User in com.broadleafcommerce.auth.user.domain
Methods in com.broadleafcommerce.auth.user.domain that return UserMethods in com.broadleafcommerce.auth.user.domain with parameters of type UserModifier and TypeMethodDescriptionvoid
The user that made the requestConstructors in com.broadleafcommerce.auth.user.domain with parameters of type User -
Uses of User in com.broadleafcommerce.auth.user.endpoint
Methods in com.broadleafcommerce.auth.user.endpoint that return UserModifier and TypeMethodDescriptionprotected User
DefaultImpersonationRequestValidator.getCsrUser
(String userId) Methods in com.broadleafcommerce.auth.user.endpoint with parameters of type UserModifier and TypeMethodDescriptionprotected boolean
DefaultImpersonationRequestValidator.isNotAuthorizedForApplication
(User user, String applicationId) Constructor parameters in com.broadleafcommerce.auth.user.endpoint with type arguments of type UserModifierConstructorDescriptionDefaultImpersonationRequestValidator
(UserService<User> userService, AuthorizedClientService<AuthorizedClient> authorizedClientService, AuthorizationServerService<AuthorizationServer> authorizationServerService, ClientRedirectService clientRedirectService) -
Uses of User in com.broadleafcommerce.auth.user.listener
Methods in com.broadleafcommerce.auth.user.listener that return UserModifier and TypeMethodDescriptionprotected User
AdminUserPersistenceHandler.buildUserForCreate
(AdminUser request, Instant lastUpdated) protected @NotNull User
CustomerPersistenceHandler.handleUserLockoutIfNecessary
(Customer customer, User user) Methods in com.broadleafcommerce.auth.user.listener that return types with arguments of type UserModifier and TypeMethodDescriptionAdminUserPersistenceHandler.findExistingAdminUser
(String serviceId) protected UserService<User>
AdminUserPersistenceHandler.getUserService()
protected UserService<User>
CustomerPersistenceHandler.getUserService()
protected UserService<User>
SegmentMemberPersistenceHandler.getUserService()
Methods in com.broadleafcommerce.auth.user.listener with parameters of type UserModifier and TypeMethodDescriptionprotected void
AdminUserPersistenceHandler.attemptCreateOrThrow
(@NonNull User newUser) For creation, we need a guarantee that only one attempt will succeed even in the event of concurrent duplicate messages or out-of-order messages.protected void
AdminUserPersistenceHandler.attemptReplaceOrThrow
(@NonNull String id, @NonNull User replacement, @NonNull Instant changeTimestamp) We cannot perform a normal "create or update" save operation here due to concurrency concerns.SegmentMemberPersistenceHandler.getCustomerSegments
(User user) protected @NotNull User
CustomerPersistenceHandler.handleUserLockoutIfNecessary
(Customer customer, User user) protected boolean
CustomerPersistenceHandler.mapAdditionalAttributes
(@NonNull Customer customer, @NonNull User user) protected boolean
AdminUserPersistenceHandler.mapUpdatesFromRequest
(AdminUser request, User target) Perform any necessary updates of the admin user.protected void
AdminUserPersistenceHandler.modifyForArchival
(User target) Mimic whatUserService.archive(String)
would do to mark this record as archived.protected void
CustomerPersistenceHandler.notifyNewCustomerUserCreated
(User user, Customer customer) protected void
AdminUserPersistenceHandler.performArchivalReplacementIfEligible
(@NonNull User existing, @NonNull Instant changeTimestamp) protected void
AdminUserPersistenceHandler.performReplacementIfEligible
(@NonNull User existing, @NonNull AdminUser request, @NonNull Instant changeTimestamp) protected boolean
AdminUserPersistenceHandler.updatePermissions
(AdminUser request, User user) We will not validate these references by querying for them, as the associated permissions may not yet be synchronized to the authentication service.protected boolean
CustomerPersistenceHandler.updateUserFields
(Customer customer, User user) Updates user fields that auth is concerned with.protected boolean
AdminUserPersistenceHandler.updateUserInfo
(AdminUser request, User user) protected boolean
AdminUserPersistenceHandler.updateUserRestrictedPermissions
(AdminUser request, User user) protected boolean
AdminUserPersistenceHandler.updateUserRestrictedRoles
(AdminUser request, User user) protected boolean
AdminUserPersistenceHandler.updateUserRestrictions
(AdminUser request, User user) protected boolean
AdminUserPersistenceHandler.updateUserRoles
(AdminUser request, User user) We will not validate these references by querying for them, as the associated roles may not yet be synchronized to the authentication service.protected boolean
AdminUserPersistenceHandler.updateUserStatus
(AdminUser request, User user) protected boolean
AdminUserPersistenceHandler.updateUserTenantRestrictions
(AdminUser request, User user) Constructor parameters in com.broadleafcommerce.auth.user.listener with type arguments of type UserModifierConstructorDescriptionAdminUserPersistenceHandler
(UserService<User> userService, AuthorizedClientService<AuthorizedClient> clientService, com.fasterxml.jackson.databind.ObjectMapper mapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserLockoutService userLockoutService) CustomerPersistenceHandler
(UserService<User> userService, AuthorizedClientService<AuthorizedClient> clientService, ApplicationService<Application> applicationService, UserCreationProducer userCreationProducer, com.fasterxml.jackson.databind.ObjectMapper objectMapper, UserLockoutService userLockoutService) SegmentMemberPersistenceHandler
(UserService<User> userService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Uses of User in com.broadleafcommerce.auth.user.listener.autoconfigure
Method parameters in com.broadleafcommerce.auth.user.listener.autoconfigure with type arguments of type UserModifier and TypeMethodDescriptionAuthDataUpdatePersistenceHandlerAutoConfiguration.adminUserPersistenceHandler
(UserService<User> userService, AuthorizedClientService<AuthorizedClient> clientService, com.fasterxml.jackson.databind.ObjectMapper mapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserLockoutService userLockoutService) AuthDataUpdatePersistenceHandlerAutoConfiguration.customerPersistenceHandler
(UserService<User> userService, AuthorizedClientService<AuthorizedClient> clientService, ApplicationService<Application> applicationService, UserCreationProducer userCreationProducer, com.fasterxml.jackson.databind.ObjectMapper objectMapper, UserLockoutService userLockoutService) AuthDataUpdatePersistenceHandlerAutoConfiguration.segmentMemberPersistenceHandler
(UserService<User> userService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Uses of User in com.broadleafcommerce.auth.user.messaging
Methods in com.broadleafcommerce.auth.user.messaging that return UserMethods in com.broadleafcommerce.auth.user.messaging that return types with arguments of type UserModifier and TypeMethodDescriptionprotected UserService<User>
CartApprovalRequestEventListener.getUserService()
Methods in com.broadleafcommerce.auth.user.messaging with parameters of type UserModifier and TypeMethodDescriptionprotected CartApprovalRequestEvent.ApproverRef
CartApprovalRequestEventListener.buildApproverRef
(@NonNull User user) void
Constructor parameters in com.broadleafcommerce.auth.user.messaging with type arguments of type UserModifierConstructorDescriptionCartApprovalRequestEventListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, UserService<User> userService, UserRoleService<UserRole> userRoleService, AccountRoleService<AccountRole> accountRoleService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, CartApprovalRequestNotificationProducer cartApprovalRequestNotificationProducer, AccountAncestorService accountAncestorService) ClearCustomerSegmentEventListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, UserService<User> userService) -
Uses of User in com.broadleafcommerce.auth.user.messaging.autoconfigure
Method parameters in com.broadleafcommerce.auth.user.messaging.autoconfigure with type arguments of type UserModifier and TypeMethodDescriptionAuthUserMessagingAutoConfiguration.cartApprovalRequestEventListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, UserService<User> userService, UserRoleService<UserRole> userRoleService, AccountRoleService<AccountRole> accountRoleService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, CartApprovalRequestNotificationProducer cartApprovalRequestNotificationProducer, AccountAncestorService accountAncestorService) AuthUserMessagingAutoConfiguration.clearCustomerSegmentEventListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, UserService<User> userService) -
Uses of User in com.broadleafcommerce.auth.user.provider.jpa.domain
Methods in com.broadleafcommerce.auth.user.provider.jpa.domain with type parameters of type UserModifier and TypeMethodDescriptionJpaUser.toMeParentUserBackReferenceAdder
(org.modelmapper.spi.MappingContext<U, J> mappingContext) Methods in com.broadleafcommerce.auth.user.provider.jpa.domain that return UserModifier and TypeMethodDescriptionprotected User
JpaUser.pruneArchivedReferences
(org.modelmapper.spi.MappingContext<JpaUser, User> mappingContext) Used as theTypeMap.setPostConverter(Converter)
forJpaUser.fromMe()
.Method parameters in com.broadleafcommerce.auth.user.provider.jpa.domain with type arguments of type UserModifier and TypeMethodDescriptionprotected User
JpaUser.pruneArchivedReferences
(org.modelmapper.spi.MappingContext<JpaUser, User> mappingContext) Used as theTypeMap.setPostConverter(Converter)
forJpaUser.fromMe()
. -
Uses of User in com.broadleafcommerce.auth.user.service
Classes in com.broadleafcommerce.auth.user.service with type parameters of type UserModifier and TypeClassDescriptionclass
DefaultUserService<P extends User,
D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable> interface
UserMessagingService<D extends User>
interface
UserService<P extends User>
Methods in com.broadleafcommerce.auth.user.service that return UserModifier and TypeMethodDescriptionManually lock a userprotected User
DefaultUserAttributesRequestHandler.readUserById
(String userId) Retrieve the requested User to add additional attributes.DefaultUserLockoutService.unlockUser
(User user) UserLockoutService.unlockUser
(User user) Manually unlock a userMethods in com.broadleafcommerce.auth.user.service that return types with arguments of type UserModifier and TypeMethodDescriptionprotected UserService<User>
DefaultAccountMemberRoleChangeRequestHandler.getUserService()
protected UserService<User>
DefaultAccountUpdateRequestHandler.getUserService()
protected UserService<User>
DefaultOAuth2UserDetailsService.getUserService()
protected UserService<User>
DefaultUserAttributesRequestHandler.getUserService()
protected UserService<User>
DefaultUserLockoutService.getUserService()
DefaultUserLockoutService.unlockUserIfEligible
(String username, String clientId) UserLockoutService.unlockUserIfEligible
(String username, String clientId) If a user is eligbile for unlocking, unlock them.Methods in com.broadleafcommerce.auth.user.service with parameters of type UserModifier and TypeMethodDescriptionprotected void
DefaultImpersonationClaimsEnhancer.addCsrClaims
(ImpersonationRequestToken impersonationRequestToken, User csr, Map<String, Object> enhancedClaims) protected void
DefaultImpersonationClaimsEnhancer.addWhitelistedAuthorities
(Map<String, Object> enhancedClaims, User user) protected com.broadleafcommerce.data.tracking.core.context.ContextInfo
DefaultUserMessagingService.buildContextInfo
(User user, String clientId) protected OAuth2UserDetails
DefaultOAuth2UserDetailsService.buildUserDetails
(User user, String clientId, String serverId) boolean
DefaultUserLockoutService.canResetPassword
(User user) boolean
UserLockoutService.canResetPassword
(User user) Return true if this user can reset their password.void
DefaultUserLockoutService.createLoginAttempt
(User user, String loginAttemptResult) void
UserLockoutService.createLoginAttempt
(User user, String loginAttemptResult) Create a user login attempt.Manually lock a userprotected void
DefaultUserAttributesRequestHandler.putRequestedUserAttributes
(User user, Map<String, Object> attributesToAdd) Save the new attributes into theUser's
attributes map.void
DefaultUserMessagingService.sendPasswordChangedEmail
(@NonNull User user, @NonNull String clientId) void
DefaultUserMessagingService.sendResetPasswordEmail
(@NonNull User user, @NonNull String token, @NonNull String clientId) protected void
DefaultUserLockoutService.throwIfLocked
(int attempts, String username, AuthorizationServer server, User user) DefaultUserLockoutService.unlockUser
(User user) UserLockoutService.unlockUser
(User user) Manually unlock a userDefaultUserLockoutService.unlockUserOnPasswordResetIfEligible
(User user) UserLockoutService.unlockUserOnPasswordResetIfEligible
(User user) After a password reset, unlock the user if they're eligible.protected boolean
DefaultUserLockoutService.userShouldBeUnlocked
(User user, AuthorizationServer server) Constructor parameters in com.broadleafcommerce.auth.user.service with type arguments of type UserModifierConstructorDescriptionDefaultAccountMemberRoleChangeRequestHandler
(UserService<User> userService, UserRoleService<UserRole> userRoleService) DefaultAccountUpdateRequestHandler
(AccountRoleService<AccountRole> accountRoleService, CustomerAccountService<CustomerAccount> customerAccountService, UserService<User> userService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) DefaultImpersonationClaimsEnhancer
(AuthorizationServerProperties properties, UserService<User> userService, UserRoleService<UserRole> userRoleService, UserRoleAncestryHydrationService roleAncestryHydrationService) DefaultOAuth2UserDetailsService
(UserService<User> userService, AuthorizedClientService<AuthorizedClient> clientService, PrivilegeService privilegeService) DefaultUserAttributesRequestHandler
(UserService<User> userService) DefaultUserLockoutService
(UserService<User> userService, UserLoginAttemptService<UserLoginAttempt> userLoginAttemptService, AuthorizedClientService<AuthorizedClient> clientService, AuthorizationServerService<AuthorizationServer> serverService, UserLockoutProperties userLockoutProperties) -
Uses of User in com.broadleafcommerce.auth.user.service.autoconfigure
Methods in com.broadleafcommerce.auth.user.service.autoconfigure that return types with arguments of type UserModifier and TypeMethodDescription<D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable>
PasscodeService<PasswordToken,User> AuthServiceServiceAutoConfiguration.passcodeService
(SimplePayloadMapper mapper, PasswordTokenRepository<D> passwordTokenRepository, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, PasswordTokenProperties passwordTokenProperties) AuthServiceServiceAutoConfiguration.registrationService
(UserService<User> userService, AuthorizedClientService<AuthorizedClient> clientService, AuthorizationServerService<AuthorizationServer> serverService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, RegistrationValidator registrationValidator, UserRegistrationProducer userRegistrationProducer, AuthRegistrationProperties registrationProperties, ApplicationService<Application> applicationService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) AuthServiceServiceAutoConfiguration.userMessagingService
(AuthorizedClientService<AuthorizedClient> clientService, AuthorizationServerService<AuthorizationServer> serverService, com.broadleafcommerce.common.messaging.authentication.AuthenticationMessageProducer messageProducer, com.broadleafcommerce.common.extension.TypeFactory typeFactory) AuthServiceServiceAutoConfiguration.userPasswordService
(UserService<User> userService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, UserMessagingService<User> messageService, ResetPasswordFormValidator<PasswordToken> resetPasswordFormValidator, ChangePasswordFormValidator changePasswordFormValidator, UserLockoutService userLockoutService, PasscodeService<PasswordToken, User> defaultPasscodeService) <D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable>
UserService<User>AuthServiceServiceAutoConfiguration.userService
(AuthorizedClientService<AuthorizedClient> clientService, UserRepository<D> userRepository, com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidatorManager validatorManager, SimplePayloadMapper simplePayloadMapper, UserUpdateProducer userUpdateProducer) Method parameters in com.broadleafcommerce.auth.user.service.autoconfigure with type arguments of type UserModifier and TypeMethodDescriptionAuthServiceServiceAutoConfiguration.accountMemberRoleChangeRequestHandler
(UserService<User> userService, UserRoleService<UserRole> userRoleService) AuthServiceServiceAutoConfiguration.accountStatusChangeRequestHandler
(AccountRoleService<AccountRole> accountRoleService, CustomerAccountService<CustomerAccount> customerAccountService, UserService<User> userService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) AuthServiceServiceAutoConfiguration.registrationService
(UserService<User> userService, AuthorizedClientService<AuthorizedClient> clientService, AuthorizationServerService<AuthorizationServer> serverService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, RegistrationValidator registrationValidator, UserRegistrationProducer userRegistrationProducer, AuthRegistrationProperties registrationProperties, ApplicationService<Application> applicationService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) AuthServiceServiceAutoConfiguration.userClaimsRequestHandler
(UserService<User> userService) AuthServiceServiceAutoConfiguration.userLockoutService
(UserService<User> userService, UserLoginAttemptService<UserLoginAttempt> loginAttemptService, AuthorizedClientService<AuthorizedClient> clientService, AuthorizationServerService<AuthorizationServer> serverService, UserLockoutProperties userLockoutProperties) AuthServiceServiceAutoConfiguration.userPasswordService
(UserService<User> userService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, UserMessagingService<User> messageService, ResetPasswordFormValidator<PasswordToken> resetPasswordFormValidator, ChangePasswordFormValidator changePasswordFormValidator, UserLockoutService userLockoutService, PasscodeService<PasswordToken, User> defaultPasscodeService) AuthServiceServiceAutoConfiguration.userPasswordService
(UserService<User> userService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, UserMessagingService<User> messageService, ResetPasswordFormValidator<PasswordToken> resetPasswordFormValidator, ChangePasswordFormValidator changePasswordFormValidator, UserLockoutService userLockoutService, PasscodeService<PasswordToken, User> defaultPasscodeService) AuthServiceServiceAutoConfiguration.userPasswordService
(UserService<User> userService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, UserMessagingService<User> messageService, ResetPasswordFormValidator<PasswordToken> resetPasswordFormValidator, ChangePasswordFormValidator changePasswordFormValidator, UserLockoutService userLockoutService, PasscodeService<PasswordToken, User> defaultPasscodeService) -
Uses of User in com.broadleafcommerce.auth.user.service.password
Classes in com.broadleafcommerce.auth.user.service.password with type parameters of type UserModifier and TypeClassDescriptionclass
DefaultUserPasswordService<P extends PasswordToken,
U extends User, D extends com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware & com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable> class
DefaultUserRegistrationService<P extends User>
interface
UserPasswordService<P extends PasswordToken,
U extends User> interface
UserRegistrationService<P extends User>
Registers new users into the user data storeMethods in com.broadleafcommerce.auth.user.service.password with parameters of type UserModifier and TypeMethodDescriptionprotected void
DefaultUserRegistrationService.setContexts
(User user, UserRegistration userRegistration) -
Uses of User in com.broadleafcommerce.auth.user.session
Methods in com.broadleafcommerce.auth.user.session that return UserModifier and TypeMethodDescriptionprotected User
FormLoginAuthenticationFilter.checkIfUserPasswordIsExpired
(User user) Checks if the user requires their password to be reset because it has expired.Methods in com.broadleafcommerce.auth.user.session that return types with arguments of type UserModifier and TypeMethodDescriptionprotected UserService<User>
FormLoginAuthenticationFilter.getUserService()
Methods in com.broadleafcommerce.auth.user.session with parameters of type UserModifier and TypeMethodDescriptionprotected User
FormLoginAuthenticationFilter.checkIfUserPasswordIsExpired
(User user) Checks if the user requires their password to be reset because it has expired.Method parameters in com.broadleafcommerce.auth.user.session with type arguments of type UserModifier and TypeMethodDescriptionvoid
FormLoginAuthenticationFilter.setUserService
(UserService<User> userService) -
Uses of User in com.broadleafcommerce.auth.user.session.token.enhancer
Methods in com.broadleafcommerce.auth.user.session.token.enhancer that return UserModifier and TypeMethodDescriptionUserContext.getCurrentUser()
AbstractUserAccessTokenEnhancer.getUser
(org.springframework.security.core.Authentication userPrincipal) Retrieve the current authenticatedUser
.Methods in com.broadleafcommerce.auth.user.session.token.enhancer that return types with arguments of type UserModifier and TypeMethodDescriptionprotected UserService<User>
AbstractUserAccessTokenEnhancer.getUserService()
Methods in com.broadleafcommerce.auth.user.session.token.enhancer with parameters of type UserModifier and TypeMethodDescriptionUserAccessTokenEnhancer.getAdditionalAttributeClaims
(@NonNull User user) If the user type is known, then this will checkUserMappingProperties
for any additional attributes that have been mapped onto theUser
that should be included as a claim.protected boolean
CustomerContextAccessTokenEnhancer.isAssignedToApplication
(User user) protected void
UserAccessTokenEnhancer.putServiceIdClaim
(Map<String, Object> userData, User user) void
UserContext.setCurrentUser
(User currentUser) Constructor parameters in com.broadleafcommerce.auth.user.session.token.enhancer with type arguments of type UserModifierConstructorDescriptionAbstractUserAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility) AccountIdAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility, AccountAncestorService accountAncestorService) CustomerContextAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility, ApplicationService<Application> applicationService) CustomerSegmentsAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility) TenantPropertiesAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility) UserAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility) UserRestrictionAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility, PermissionRepository permissionRepository, SecurityService securityService) -
Uses of User in com.broadleafcommerce.auth.user.session.token.enhancer.autoconfigure
Method parameters in com.broadleafcommerce.auth.user.session.token.enhancer.autoconfigure with type arguments of type UserModifier and TypeMethodDescriptionTokenEnhancerAutoConfiguration.accountIdAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility, AccountAncestorService accountAncestorService) TokenEnhancerAutoConfiguration.customerContextAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility, ApplicationService<Application> applicationService) TokenEnhancerAutoConfiguration.customerSegmentsAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility) TokenEnhancerAutoConfiguration.tenantPropertiesAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility) TokenEnhancerAutoConfiguration.userAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility) TokenEnhancerAutoConfiguration.userRestrictionAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility, PermissionRepository permissionRepository, SecurityService securityService) -
Uses of User in com.broadleafcommerce.auth.user.validation
Methods in com.broadleafcommerce.auth.user.validation with parameters of type UserModifier and TypeMethodDescriptionboolean
DefaultPasswordRequestValidator.isPasswordReusedInvalidly
(@NonNull User user, String password) boolean
PasswordRequestValidator.isPasswordReusedInvalidly
(User user, String password) Determines whether the password has been reused by theUser
invalidly.void
ChangePasswordFormValidator.validate
(User currentUser, ChangePasswordForm changePasswordForm, org.springframework.validation.Errors errors) Verifies that all of the supplied fields in the givenChangePasswordForm
are correct, placing any errors into the givenErrors
.void
DefaultChangePasswordFormValidator.validate
(User currentUser, ChangePasswordForm changePasswordForm, org.springframework.validation.Errors errors) void
DefaultResetPasswordFormValidator.validate
(@NonNull List<P> passwordTokens, @NonNull ResetPasswordForm resetPasswordForm, @NonNull org.springframework.validation.Errors errors, @NonNull User user) void
ResetPasswordFormValidator.validate
(List<P> tokens, ResetPasswordForm resetPasswordForm, org.springframework.validation.Errors errors, User user) Validates a password reset form.protected void
DefaultChangePasswordFormValidator.validateCurrentPassword
(@NonNull User currentUser, @NonNull ChangePasswordForm changePasswordForm, String currentPasswordFieldName, @NonNull org.springframework.validation.Errors errors) protected void
DefaultChangePasswordFormValidator.validatedNewPasswordIsNotReused
(@NonNull User user, String password, @NonNull org.springframework.validation.Errors errors) Validates that the new password does not match any of thehistorical passwords
.protected void
DefaultResetPasswordFormValidator.validatedNewPasswordIsNotReused
(@NonNull User user, String password, @NonNull org.springframework.validation.Errors errors) Validates that the new password does not match any of thehistorical passwords
. -
Uses of User in com.broadleafcommerce.auth.user.web.authentication.session
Methods in com.broadleafcommerce.auth.user.web.authentication.session that return types with arguments of type UserModifier and TypeMethodDescriptionprotected UserRegistrationService<User>
AbstractAuthenticationStrategyDelegate.getRegistrationService()
Constructor parameters in com.broadleafcommerce.auth.user.web.authentication.session with type arguments of type UserModifierConstructorDescriptionAbstractAuthenticationStrategyDelegate
(OAuth2UserDetailsService oAuth2UserDetailsService, UserRegistrationService<User> registrationService, AuthRegistrationProperties registrationProperties, AuthorizedClientService<AuthorizedClient> clientService, ClientIdentityProviderProperties clientProperties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, PasswordGenerator passwordGenerator) -
Uses of User in com.broadleafcommerce.auth.user.web.endpoint
Methods in com.broadleafcommerce.auth.user.web.endpoint that return UserModifier and TypeMethodDescriptionprotected User
EmbeddedRegistrationController.registerUser
(UserRegistration user, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Deprecated.EmbeddedRegistrationController.registerUser
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, UserRegistration userRegistration, String clientId) Methods in com.broadleafcommerce.auth.user.web.endpoint that return types with arguments of type UserModifier and TypeMethodDescriptionprotected PasscodeService<PasswordToken,
User> PasscodeEndpoint.getPasscodeService()
protected UserRegistrationService<User>
EmbeddedRegistrationController.getRegistrationService()
protected UserRegistrationService<User>
RegistrationFormController.getRegistrationService()
protected UserPasswordService<PasswordToken,
User> AuthenticationController.getUserPasswordService()
protected UserPasswordService<PasswordToken,
User> EmbeddedAuthenticationController.getUserPasswordService()
protected UserService<User>
PasscodeEndpoint.getUserService()
Constructor parameters in com.broadleafcommerce.auth.user.web.endpoint with type arguments of type UserModifierConstructorDescriptionAuthenticationController
(UserPasswordService<PasswordToken, User> userPasswordService, ClientRedirectService redirectService, UserLoginService loginService, UserLoginProperties properties, AuthorizedClientService<AuthorizedClient> clientService, ClientIdentityProviderProperties clientProperties, BroadleafClientRegistrationRepository clientRegistrationRepository, com.broadleafcommerce.common.extension.TypeFactory typeFactory) EmbeddedAuthenticationController
(UserPasswordService<PasswordToken, User> userPasswordService, UserLoginProperties properties, UserLoginService loginService, AuthorizationServerService<AuthorizationServer> authorizationServerService, AuthorizedClientService<AuthorizedClient> authorizedClientService) EmbeddedRegistrationController
(UserRegistrationService<User> registrationService, UserLoginProperties properties, UserLoginService loginService, EmbeddedLoginProperties embeddedLoginProperties) PasscodeEndpoint
(PasscodeService<PasswordToken, User> passcodeService, UserService<User> userService) PasscodeEndpoint
(PasscodeService<PasswordToken, User> passcodeService, UserService<User> userService) RegistrationFormController
(UserRegistrationService<User> registrationService, AuthenticationLogoutHandler authenticationLogoutHandler, AuthorizedClientService<AuthorizedClient> clientService, UserLoginProperties properties, ClientRedirectService redirectService, UserLoginService loginService, ApplicationService<Application> applicationService) UserInfoEndpoint
(UserService<User> userService)
RegistrationFormController
.