Class ImpersonationConfiguration
java.lang.Object
com.broadleafcommerce.auth.user.autoconfigure.ImpersonationConfiguration
- Author:
- Nick Crum (ncrum)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefaultImpersonationClaimsEnhancer
(AuthorizationServerProperties properties, UserService<User> userService, UserRoleService<UserRole> roleService, UserRoleAncestryHydrationService roleAncestryHydrationService) impersonationRequestValidator
(UserService<User> userService, AuthorizedClientService<AuthorizedClient> authorizedClientService, AuthorizationServerService<AuthorizationServer> authorizationServerService, ClientRedirectService clientRedirectService) impersonationService
(List<ImpersonationClaimsEnhancer> claimsEnhancers, StatelessUtil statelessUtil)
-
Constructor Details
-
ImpersonationConfiguration
public ImpersonationConfiguration()
-
-
Method Details
-
defaultImpersonationClaimsEnhancer
@Bean @ConditionalOnMissingBean public ImpersonationClaimsEnhancer defaultImpersonationClaimsEnhancer(AuthorizationServerProperties properties, UserService<User> userService, UserRoleService<UserRole> roleService, UserRoleAncestryHydrationService roleAncestryHydrationService) -
impersonationService
@Bean @ConditionalOnMissingBean public ImpersonationService impersonationService(List<ImpersonationClaimsEnhancer> claimsEnhancers, StatelessUtil statelessUtil) -
impersonationRequestValidator
@Bean @ConditionalOnMissingBean public ImpersonationRequestValidator impersonationRequestValidator(UserService<User> userService, AuthorizedClientService<AuthorizedClient> authorizedClientService, AuthorizationServerService<AuthorizationServer> authorizationServerService, ClientRedirectService clientRedirectService)
-