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
  • Constructor Details

    • GenerateRegistrationUrlMethod

      public GenerateRegistrationUrlMethod()
  • Method Details

    • exec

      public Object exec(List params)
      Specified by:
      exec in interface freemarker.template.TemplateMethodModel
      Specified by:
      exec in interface freemarker.template.TemplateMethodModelEx