/** * Instantiates a new Cas protocol view. * * @param templateName the template name * @param applicationContext the application context * @param templateEngine the template engine * @param properties the properties */ public CasProtocolView(final String templateName, final ApplicationContext applicationContext, final SpringTemplateEngine templateEngine, final ThymeleafProperties properties) { super(templateName); setApplicationContext(applicationContext); setTemplateEngine(templateEngine); setCharacterEncoding(properties.getEncoding().displayName()); setLocale(Locale.getDefault()); }
public ThymeLeafConfigurer(SpringTemplateEngine springTemplateEngine, OghamCommonTemplateProperties templateProperties, OghamEmailProperties emailProperties, OghamSmsProperties smsProperties, ThymeleafProperties springProperties) { super(); this.springTemplateEngine = springTemplateEngine; this.templateProperties = templateProperties; this.emailProperties = emailProperties; this.smsProperties = smsProperties; this.springProperties = springProperties; }