Shibboleth header attributes not being sent to all pages -


i have following configuration in apache in service provider:

<location /login >     authtype shibboleth     shibrequiresession on     shibuseheaders on     require valid-user </location> 

after authentication, tried access headers in page, did not exist. looks additional configuration required in apache.

how configure shibboleth triggers @ /login , yet other pages have access headers?

assuming using java fetch shibboleth parameters;

  • shibboleth attributes can fetched ajp, have have ajp enabled in server.
  • in shibboleth sp's shibboleth2.xml file's applicationdefaults tag add parameter - attributeprefix="ajp_", send parameters ajp.
  • in apache enable mod_proxy_ajp module , pass ajp via

    proxypass /my-application/login ajp://localhost:8009/my-application/login

  • even if done, shibboleth parameters won't display directly under parameters.keyset(). if parameters.get(key) return value sent shib.
  • above behaviour may vary different servers; i.e. may need values parameters.get("ajp_"+key). p.s. check in both header , request object.

Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

c# - MSDN OneNote Api: Navigate to never before opened page without opening a OneNote Application Window -