Class TokenEnhancerAutoConfiguration
- java.lang.Object
-
- com.broadleafcommerce.auth.user.session.token.enhancer.autoconfigure.TokenEnhancerAutoConfiguration
-
@Configuration public class TokenEnhancerAutoConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description TokenEnhancerAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientRestrictionTokenEnhancer
clientRestrictionTokenEnhancer(AuthorizationServerService<AuthorizationServer> authorizationServerService, AuthorizedClientService<AuthorizedClient> authorizedClientService, PermissionRepository permissionRepository)
CustomerContextTokenEnhancer
customerContextTokenEnhancer(ApplicationService<Application> applicationService)
CustomerSegmentsTokenEnhancer
customerSegmentsTokenEnhancer()
ImpersonationTokenEnhancer
impersonationTokenEnhancer()
RegisteredClaimsTokenEnhancer
oAuth2PropertiesTokenEnhancer(AuthorizationServerProperties securityProps, org.springframework.core.env.Environment env)
TenantPropertiesTokenEnhancer
tenantPropertiesTokenEnhancer()
UserContext
userContext()
UserTokenEnhancer
userDataTokenEnhancer()
UserRestrictionTokenEnhancer
userRestrictionTokenEnhancer(PermissionRepository permissionRepository)
-
-
-
Method Detail
-
userContext
@Bean @Scope(scopeName="request", proxyMode=TARGET_CLASS) public UserContext userContext()
-
customerContextTokenEnhancer
@Bean public CustomerContextTokenEnhancer customerContextTokenEnhancer(ApplicationService<Application> applicationService)
-
customerSegmentsTokenEnhancer
@Bean @ConditionalOnMissingBean public CustomerSegmentsTokenEnhancer customerSegmentsTokenEnhancer()
-
impersonationTokenEnhancer
@Bean @ConditionalOnMissingBean public ImpersonationTokenEnhancer impersonationTokenEnhancer()
-
oAuth2PropertiesTokenEnhancer
@Bean @ConditionalOnMissingBean public RegisteredClaimsTokenEnhancer oAuth2PropertiesTokenEnhancer(AuthorizationServerProperties securityProps, org.springframework.core.env.Environment env)
-
userDataTokenEnhancer
@Bean @ConditionalOnMissingBean public UserTokenEnhancer userDataTokenEnhancer()
-
tenantPropertiesTokenEnhancer
@Bean @ConditionalOnMissingBean public TenantPropertiesTokenEnhancer tenantPropertiesTokenEnhancer()
-
userRestrictionTokenEnhancer
@Bean @ConditionalOnMissingBean public UserRestrictionTokenEnhancer userRestrictionTokenEnhancer(PermissionRepository permissionRepository)
-
clientRestrictionTokenEnhancer
@Bean @ConditionalOnMissingBean public ClientRestrictionTokenEnhancer clientRestrictionTokenEnhancer(AuthorizationServerService<AuthorizationServer> authorizationServerService, AuthorizedClientService<AuthorizedClient> authorizedClientService, PermissionRepository permissionRepository)
-
-