Class ImpersonationConfiguration
- java.lang.Object
-
- com.broadleafcommerce.auth.user.autoconfigure.ImpersonationConfiguration
-
@Configuration public class ImpersonationConfiguration extends Object
- Author:
- Nick Crum (ncrum)
-
-
Constructor Summary
Constructors Constructor Description ImpersonationConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImpersonationClaimsEnhancer
defaultImpersonationClaimsEnhancer(AuthorizationServerProperties properties, UserService<User> userService, UserRoleService<UserRole> roleService, UserRoleAncestryHydrationService roleAncestryHydrationService)
ImpersonationRequestValidator
impersonationRequestValidator(UserService<User> userService, AuthorizedClientService<AuthorizedClient> authorizedClientService, AuthorizationServerService<AuthorizationServer> authorizationServerService, org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService, org.springframework.security.oauth2.provider.endpoint.RedirectResolver redirectResolver)
ImpersonationService
impersonationService(List<ImpersonationClaimsEnhancer> claimsEnhancers, StatelessUtil statelessUtil)
-
-
-
Method Detail
-
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, org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService, org.springframework.security.oauth2.provider.endpoint.RedirectResolver redirectResolver)
-
-