Package org.keycloak.theme.freemarker
Class DefaultFreeMarkerProvider
- java.lang.Object
-
- org.keycloak.theme.freemarker.DefaultFreeMarkerProvider
-
- All Implemented Interfaces:
Provider
,FreeMarkerProvider
public class DefaultFreeMarkerProvider extends Object implements FreeMarkerProvider
-
-
Constructor Summary
Constructors Constructor Description DefaultFreeMarkerProvider(ConcurrentHashMap<String,freemarker.template.Template> cache, KeycloakSanitizerMethod kcSanitizeMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String
processTemplate(Object data, String templateName, Theme theme)
-
-
-
Constructor Detail
-
DefaultFreeMarkerProvider
public DefaultFreeMarkerProvider(ConcurrentHashMap<String,freemarker.template.Template> cache, KeycloakSanitizerMethod kcSanitizeMethod)
-
-
Method Detail
-
processTemplate
public String processTemplate(Object data, String templateName, Theme theme) throws FreeMarkerException
- Specified by:
processTemplate
in interfaceFreeMarkerProvider
- Throws:
FreeMarkerException
-
-