Class TokenEnhancerAutoConfiguration
java.lang.Object
com.broadleafcommerce.auth.user.session.token.enhancer.autoconfigure.TokenEnhancerAutoConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccountIdAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility, AccountAncestorService accountAncestorService) authoritiesAccessTokenEnhancer
(SecurityService securityService, TokenEnhancerUtility tokenEnhancerUtility) clientPermissionsAccessTokenEnhancer
(PrivilegeService privilegeService, TokenEnhancerUtility tokenEnhancerUtility, TokenProperties tokenProperties, AuthorizedClientService<AuthorizedClient> authorizedClientService) clientRestrictionAccessTokenEnhancer
(AuthorizationServerService<AuthorizationServer> authorizationServerService, AuthorizedClientService<AuthorizedClient> authorizedClientService, TokenEnhancerUtility tokenEnhancerUtility, SecurityService securityService) customerContextAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility, ApplicationService<Application> applicationService) customerSegmentsAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility) impersonationAccessTokenEnhancer
(TokenEnhancerUtility tokenEnhancerUtility) org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.JwtEncodingContext>
jwtCustomizer
(List<JwtAccessTokenEnhancer> customizers) registeredClaimsAccessTokenEnhancer
(AuthorizationServerProperties authorizationServerSecurityProperties, AuthorizedClientService<AuthorizedClient> authorizedClientService, org.springframework.core.env.Environment env) tenantPropertiesAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility) userAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility) userRestrictionAccessTokenEnhancer
(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility, PermissionRepository permissionRepository, SecurityService securityService)
-
Constructor Details
-
TokenEnhancerAutoConfiguration
public TokenEnhancerAutoConfiguration()
-
-
Method Details
-
userContext
-
jwtCustomizer
@Bean @ConditionalOnMissingBean public org.springframework.security.oauth2.server.authorization.token.OAuth2TokenCustomizer<org.springframework.security.oauth2.server.authorization.token.JwtEncodingContext> jwtCustomizer(@Autowired(required=false) List<JwtAccessTokenEnhancer> customizers) -
tokenEnhancerUtility
-
accountIdAccessTokenEnhancer
@Bean @ConditionalOnMissingBean public AccountIdAccessTokenEnhancer accountIdAccessTokenEnhancer(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility, AccountAncestorService accountAncestorService) -
authoritiesAccessTokenEnhancer
@Bean @ConditionalOnMissingBean public AuthoritiesAccessTokenEnhancer authoritiesAccessTokenEnhancer(SecurityService securityService, TokenEnhancerUtility tokenEnhancerUtility) -
clientPermissionsAccessTokenEnhancer
@Bean @ConditionalOnMissingBean public ClientPermissionsAccessTokenEnhancer clientPermissionsAccessTokenEnhancer(PrivilegeService privilegeService, TokenEnhancerUtility tokenEnhancerUtility, TokenProperties tokenProperties, AuthorizedClientService<AuthorizedClient> authorizedClientService) -
clientRestrictionAccessTokenEnhancer
@Bean @ConditionalOnMissingBean public ClientRestrictionAccessTokenEnhancer clientRestrictionAccessTokenEnhancer(AuthorizationServerService<AuthorizationServer> authorizationServerService, AuthorizedClientService<AuthorizedClient> authorizedClientService, TokenEnhancerUtility tokenEnhancerUtility, SecurityService securityService) -
customerContextAccessTokenEnhancer
@Bean @ConditionalOnMissingBean public CustomerContextAccessTokenEnhancer customerContextAccessTokenEnhancer(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility, ApplicationService<Application> applicationService) -
customerSegmentsAccessTokenEnhancer
@Bean @ConditionalOnMissingBean public CustomerSegmentsAccessTokenEnhancer customerSegmentsAccessTokenEnhancer(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility) -
impersonationAccessTokenEnhancer
@Bean @ConditionalOnMissingBean public ImpersonationAccessTokenEnhancer impersonationAccessTokenEnhancer(TokenEnhancerUtility tokenEnhancerUtility) -
randomTokenEnhancer
-
registeredClaimsAccessTokenEnhancer
@Bean @ConditionalOnMissingBean public RegisteredClaimsAccessTokenEnhancer registeredClaimsAccessTokenEnhancer(AuthorizationServerProperties authorizationServerSecurityProperties, AuthorizedClientService<AuthorizedClient> authorizedClientService, org.springframework.core.env.Environment env) -
tenantPropertiesAccessTokenEnhancer
@Bean @ConditionalOnMissingBean public TenantPropertiesAccessTokenEnhancer tenantPropertiesAccessTokenEnhancer(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility) -
userRestrictionAccessTokenEnhancer
@Bean @ConditionalOnMissingBean public UserRestrictionAccessTokenEnhancer userRestrictionAccessTokenEnhancer(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility, PermissionRepository permissionRepository, SecurityService securityService) -
userAccessTokenEnhancer
@Bean @ConditionalOnMissingBean public UserAccessTokenEnhancer userAccessTokenEnhancer(UserService<User> userService, TokenEnhancerUtility tokenEnhancerUtility)
-