This content has been marked as final.
Show 2 replies
-
1. Re: picketlink.xml and variable reference syntax ${}
damaru Feb 28, 2016 12:07 AM (in response to garcimouche)I just came across the same problem. I'd like to use environment variables in my picketlink.xml because I'm deploying in Docker.
I guess that just isn't supported? Did you find another solution?
thanks
Michael Davis
-
2. Re: picketlink.xml and variable reference syntax ${}
matteo.pelucco Apr 12, 2017 8:47 AM (in response to damaru)Yes, they are used and they reference System Environment variables.
So, basically, you can launch your JBoss / Tomcat / whatever with some env variables (like: env.prod.picketlink.idp = "myprodwebsite") and reference it with ${env.prod.picketlink.idp::defaultvalue}.
Here some hint: picketlink/StringUtil.java at master · picketlink/picketlink · GitHub
Hope this helps,
Matteo