From e84ba19b683e947feb0f97f0b4f2efc004edae9b Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Mon, 9 Apr 2018 13:29:05 +0200 Subject: [PATCH] Filling exportedVars configuration User attributes are stored in "local session" so if we want to use attributes in CAS session we need to make them available in local session first --- tmpl/lmConf-1.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tmpl/lmConf-1.js b/tmpl/lmConf-1.js index 3c5819d..cc77f47 100644 --- a/tmpl/lmConf-1.js +++ b/tmpl/lmConf-1.js @@ -65,7 +65,11 @@ "cfgLog": "", "samlIDPSSODescriptorSingleLogoutServiceHTTPRedirect": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect;#PORTAL#/saml/singleLogout;#PORTAL#/saml/singleLogoutReturn", "exportedVars": { - "UA": "HTTP_USER_AGENT" + "UA": "HTTP_USER_AGENT", +%for att in %%casAttribute + "%%att": "%%att.casLDAPAttribute", +%end for +%%getSSOFilters }, "notificationStorage": "File", "applicationList": {