1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

(Keycloak) Freemarker Template system properties and environment variables

Discussão em 'StackOverflow' iniciado por Stack, Maio 18, 2021.

  1. Stack

    Stack Membro Participativo

    We wanted to work on the Templates and tried to get the system properties that we set earlier in the standalone.xml file like this.

    </extensions>
    <system-properties>
    <property name="testProp" value="TestVal"/>
    </system-properties>


    In the Docs of Keycloak its described like the following.

    • ${some.system.property} - for system properties
    • ${env.ENV_VAR} - for environment variables.

    But nothing worked for us. We always get the following error Message “An internal server error has occurred”. What is the right way to get the system properties and the environment variables in the Freemarker Template?

    Continue reading...

Compartilhe esta Página