You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working to integrate a jruby/rails 3 app with Shibboleth, and I ran into an issue where I couldn't access the environment variables Apache was sending to the container (in my case tomcat7/trinidad).
I tracked it down to the way Rack::Handler::Servlet::DefaultEnv exposes those properties.
There's no logic to specifically check for attributes not returned from getAttributeNames. In my case, the following patch fixed the problem for me, though I'm not sure if it's the best approach:
I'm currently working to integrate a jruby/rails 3 app with Shibboleth, and I ran into an issue where I couldn't access the environment variables Apache was sending to the container (in my case tomcat7/trinidad).
I tracked it down to the way Rack::Handler::Servlet::DefaultEnv exposes those properties.
According to this: http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/connector/Request.html#getAttributeNames%28%29 some attribute names may not be returned from the java request.getAttributeNames.
There's no logic to specifically check for attributes not returned from getAttributeNames. In my case, the following patch fixed the problem for me, though I'm not sure if it's the best approach:
Thanks,
Dan
The text was updated successfully, but these errors were encountered: