Class AuthServiceTemplateAutoConfiguration
- java.lang.Object
-
- com.broadleafcommerce.auth.user.web.autoconfigure.AuthServiceTemplateAutoConfiguration
-
@Configuration @AutoConfigureAfter(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration.class) @ConditionalOnClass({org.thymeleaf.templatemode.TemplateMode.class,org.thymeleaf.spring5.SpringTemplateEngine.class}) public class AuthServiceTemplateAutoConfiguration extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
AuthServiceTemplateAutoConfiguration.ViewResolverPostProcessor
-
Constructor Summary
Constructors Constructor Description AuthServiceTemplateAutoConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BroadleafDialect
broadleafDialect(ClientRedirectService redirectService, VerifyRedirectCookieProperties properties)
org.thymeleaf.spring5.templateresolver.SpringResourceTemplateResolver
broadleafOAuth2DefaultTemplateResolver(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties properties)
OAuth2ClientTemplateResolver
broadleafTemplateResolver(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties properties, AuthorizedClientService<AuthorizedClient> clientService, AuthorizationServerService<AuthorizationServer> serverService)
OAuth2ClientIdTemplateEngine
oAuth2ClientIdTemplateEngine(org.thymeleaf.spring5.SpringTemplateEngine templateEngine)
OAuth2ClientTemplateResolver
oAuth2DefaultTemplateResolver(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties properties, AuthorizedClientService<AuthorizedClient> clientService, AuthorizationServerService<AuthorizationServer> serverService)
BroadleafVariableExpressionObjectFactory
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
-
-
-
Method Detail
-
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.spring5.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.spring5.templateresolver.SpringResourceTemplateResolver broadleafOAuth2DefaultTemplateResolver(org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties properties)
-
-