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'sapplicationdefaults
tag add parameter -attributeprefix="ajp_"
, send parameters ajp. in apache enable
mod_proxy_ajp
module , pass ajp viaproxypass /my-application/login ajp://localhost:8009/my-application/login
- even if done, shibboleth parameters won't display directly under
parameters.keyset()
. ifparameters.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 bothheader
,request
object.
Comments
Post a Comment