Package org.keycloak.theme.freemarker
Class DefaultFreeMarkerProvider
java.lang.Object
org.keycloak.theme.freemarker.DefaultFreeMarkerProvider
- All Implemented Interfaces:
Provider
,FreeMarkerProvider
-
Constructor Summary
ConstructorDescriptionDefaultFreeMarkerProvider
(ConcurrentHashMap<String, freemarker.template.Template> cache, KeycloakSanitizerMethod kcSanitizeMethod) -
Method Summary
-
Constructor Details
-
DefaultFreeMarkerProvider
public DefaultFreeMarkerProvider(ConcurrentHashMap<String, freemarker.template.Template> cache, KeycloakSanitizerMethod kcSanitizeMethod)
-
-
Method Details
-
processTemplate
public String processTemplate(Object data, String templateName, Theme theme) throws FreeMarkerException - Specified by:
processTemplate
in interfaceFreeMarkerProvider
- Throws:
FreeMarkerException
-
close
public void close()
-