Class GenerateRegistrationUrlMethod
java.lang.Object
ch.tocco.nice2.optional.sso.impl.freemarker.GenerateRegistrationUrlMethod
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel
,freemarker.template.TemplateMethodModelEx
,freemarker.template.TemplateModel
public class GenerateRegistrationUrlMethod
extends Object
implements freemarker.template.TemplateMethodModelEx
method to generate a sso registration url
usage:
${generateRegistrationUrl(openIdLinkInformation)} ← uses the installation base url
${generateRegistrationUrl(openIdLinkInformation, "http://test-url.com")} ← uses the 2nd parameter as base url
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GenerateRegistrationUrlMethod
public GenerateRegistrationUrlMethod()
-
-
Method Details
-
exec
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModel
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModelEx
-