Uses of Class
com.broadleafcommerce.auth.resource.domain.User
Package
Description
-
Uses of User in com.broadleafcommerce.auth.authorization.security.autoconfigure
Modifier and TypeMethodDescriptionprotected PasscodeService<PasswordToken,
User> OAuth2AuthorizationServerConfigurerCustomizer.getPasscodeService()
protected UserService<User>
OAuth2AuthorizationServerConfigurerCustomizer.getUserService()
Modifier 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) ModifierConstructorDescriptionOAuth2AuthorizationServerConfigurerCustomizer
(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
Modifier and TypeMethodDescriptionEmbeddedLoginAutoConfiguration.embeddedLoginAuthenticationSuccessHandler
(PasscodeService<PasswordToken, User> passcodeService, UserService<User> userService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) Modifier 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
ModifierConstructorDescriptionEmbeddedLoginCodeAuthenticationProvider
(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
Modifier 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
ModifierConstructorDescriptionAbstractOAuthClientAuthenticationStrategyDelegate
(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
Modifier 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
Modifier 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
Modifier 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) Modifier 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) Modifier 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) ModifierConstructorDescriptionUserEndpoint
(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
Modifier 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
Modifier and TypeMethodDescriptionprotected UserService<User>
UserAnonymizationHandler.getUserService()
Modifier and TypeMethodDescriptionprotected List<com.broadleafcommerce.common.privacy.anonymization.AnonymizationRecord>
UserAnonymizationHandler.handleRecords
(String boundedContextIdentifier, User member) -
Uses of User in com.broadleafcommerce.auth.user.autoconfigure
Modifier 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
Modifier and TypeMethodDescriptionvoid
The user that made the request -
Uses of User in com.broadleafcommerce.auth.user.endpoint
Modifier and TypeMethodDescriptionprotected User
DefaultImpersonationRequestValidator.getCsrUser
(String userId) Modifier and TypeMethodDescriptionprotected boolean
DefaultImpersonationRequestValidator.isNotAuthorizedForApplication
(User user, String applicationId) ModifierConstructorDescriptionDefaultImpersonationRequestValidator
(UserService<User> userService, AuthorizedClientService<AuthorizedClient> authorizedClientService, AuthorizationServerService<AuthorizationServer> authorizationServerService, ClientRedirectService clientRedirectService) -
Uses of User in com.broadleafcommerce.auth.user.listener
Modifier and TypeMethodDescriptionprotected User
AdminUserPersistenceHandler.buildUserForCreate
(AdminUser request, Instant lastUpdated) protected @NotNull User
CustomerPersistenceHandler.handleUserLockoutIfNecessary
(Customer customer, User user) Modifier and TypeMethodDescriptionAdminUserPersistenceHandler.findExistingAdminUser
(String serviceId) protected UserService<User>
AdminUserPersistenceHandler.getUserService()
protected UserService<User>
CustomerPersistenceHandler.getUserService()
protected UserService<User>
SegmentMemberPersistenceHandler.getUserService()
Modifier 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) ModifierConstructorDescriptionAdminUserPersistenceHandler
(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
Modifier 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
Modifier and TypeMethodDescriptionprotected UserService<User>
CartApprovalRequestEventListener.getUserService()
Modifier and TypeMethodDescriptionprotected CartApprovalRequestEvent.ApproverRef
CartApprovalRequestEventListener.buildApproverRef
(@NonNull User user) void
ModifierConstructorDescriptionCartApprovalRequestEventListener
(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
Modifier 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
Modifier and TypeMethodDescriptionJpaUser.toMeParentUserBackReferenceAdder
(org.modelmapper.spi.MappingContext<U, J> mappingContext) Modifier and TypeMethodDescriptionprotected User
JpaUser.pruneArchivedReferences
(org.modelmapper.spi.MappingContext<JpaUser, User> mappingContext) Used as theTypeMap.setPostConverter(Converter)
forJpaUser.fromMe()
.Modifier 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
Modifier 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>
Modifier 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 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.Modifier 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) ModifierConstructorDescriptionDefaultAccountMemberRoleChangeRequestHandler
(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
Modifier 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) Modifier 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
Modifier 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 storeModifier and TypeMethodDescriptionprotected void
DefaultUserRegistrationService.setContexts
(User user, UserRegistration userRegistration) -
Uses of User in com.broadleafcommerce.auth.user.session
Modifier and TypeMethodDescriptionprotected User
FormLoginAuthenticationFilter.checkIfUserPasswordIsExpired
(User user) Checks if the user requires their password to be reset because it has expired.Modifier and TypeMethodDescriptionprotected UserService<User>
FormLoginAuthenticationFilter.getUserService()
Modifier and TypeMethodDescriptionprotected User
FormLoginAuthenticationFilter.checkIfUserPasswordIsExpired
(User user) Checks if the user requires their password to be reset because it has expired.Modifier and TypeMethodDescriptionvoid
FormLoginAuthenticationFilter.setUserService
(UserService<User> userService) -
Uses of User in com.broadleafcommerce.auth.user.session.token.enhancer
Modifier and TypeMethodDescriptionUserContext.getCurrentUser()
AbstractUserAccessTokenEnhancer.getUser
(org.springframework.security.core.Authentication userPrincipal) Retrieve the current authenticatedUser
.Modifier and TypeMethodDescriptionprotected UserService<User>
AbstractUserAccessTokenEnhancer.getUserService()
Modifier 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) ModifierConstructorDescriptionAbstractUserAccessTokenEnhancer
(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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionprotected UserRegistrationService<User>
AbstractAuthenticationStrategyDelegate.getRegistrationService()
ModifierConstructorDescriptionAbstractAuthenticationStrategyDelegate
(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
Modifier 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) Modifier 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()
ModifierConstructorDescriptionAuthenticationController
(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
.