Class AuthServiceTemplateAutoConfiguration
java.lang.Object
com.broadleafcommerce.auth.user.web.autoconfigure.AuthServiceTemplateAutoConfiguration
@AutoConfiguration(after=org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration.class)
@ConditionalOnClass({org.thymeleaf.templatemode.TemplateMode.class,org.thymeleaf.spring6.SpringTemplateEngine.class})
public class AuthServiceTemplateAutoConfiguration
extends Object
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbroadleafDialect
(ClientRedirectService redirectService, VerifyRedirectCookieProperties properties) org.thymeleaf.spring6.templateresolver.SpringResourceTemplateResolver
broadleafOAuth2DefaultTemplateResolver
(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties properties) broadleafTemplateResolver
(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties properties, AuthorizedClientService<AuthorizedClient> clientService, AuthorizationServerService<AuthorizationServer> serverService) oAuth2ClientIdTemplateEngine
(org.thymeleaf.spring6.SpringTemplateEngine templateEngine) oAuth2DefaultTemplateResolver
(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties properties, AuthorizedClientService<AuthorizedClient> clientService, AuthorizationServerService<AuthorizationServer> serverService) variableExpressionObjectFactory
(ClientRedirectService redirectService, VerifyRedirectCookieProperties properties) static org.springframework.beans.factory.config.BeanPostProcessor
viewResolverPostProcessor
(OAuth2ClientIdTemplateEngine templateEngine) We need to tell the view resolvers to use our new engine
-
Constructor Details
-
AuthServiceTemplateAutoConfiguration
public AuthServiceTemplateAutoConfiguration()
-
-
Method Details
-
variableExpressionObjectFactory
@Bean @ConditionalOnMissingBean(BroadleafVariableExpressionObjectFactory.class) public BroadleafVariableExpressionObjectFactory variableExpressionObjectFactory(ClientRedirectService redirectService, VerifyRedirectCookieProperties properties) -
broadleafDialect
@Bean @ConditionalOnMissingBean public BroadleafDialect broadleafDialect(ClientRedirectService redirectService, VerifyRedirectCookieProperties properties) -
oAuth2ClientIdTemplateEngine
@Bean public OAuth2ClientIdTemplateEngine oAuth2ClientIdTemplateEngine(org.thymeleaf.spring6.SpringTemplateEngine templateEngine) -
viewResolverPostProcessor
@Bean public static org.springframework.beans.factory.config.BeanPostProcessor viewResolverPostProcessor(OAuth2ClientIdTemplateEngine templateEngine) We need to tell the view resolvers to use our new engine -
oAuth2DefaultTemplateResolver
@Bean public OAuth2ClientTemplateResolver oAuth2DefaultTemplateResolver(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties properties, AuthorizedClientService<AuthorizedClient> clientService, AuthorizationServerService<AuthorizationServer> serverService) -
broadleafTemplateResolver
@Bean public OAuth2ClientTemplateResolver broadleafTemplateResolver(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties properties, AuthorizedClientService<AuthorizedClient> clientService, AuthorizationServerService<AuthorizationServer> serverService) -
broadleafOAuth2DefaultTemplateResolver
@Bean public org.thymeleaf.spring6.templateresolver.SpringResourceTemplateResolver broadleafOAuth2DefaultTemplateResolver(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties properties)
-