aspose file tools*
The moose likes Tomcat and the fly likes Reading Environment variable  and Set it in HttpRequest Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Reading Environment variable  and Set it in HttpRequest" Watch "Reading Environment variable  and Set it in HttpRequest" New topic
Author

Reading Environment variable and Set it in HttpRequest

Don Redd
Ranch Hand

Joined: Jan 05, 2012
Posts: 82


hi ,

I am using siteminder to implement SSO functionality to my WebApp , Also, I am using Apache and Tomact with connector mod_jk. when ever user login in using SiteMinder, site minder sets environment varibles related to user info( like user_id, user_name....etc), Now, I want to read them and pass them in request to tomcat, so that ,I can have my own implementation of access control for internal resources.


Thanks in Advance, Please let me know if you need more details.




Regards,
Don
,Red..
Don Redd
Ranch Hand

Joined: Jan 05, 2012
Posts: 82


FYI:

I just found that, we can achieve this by using mod_jk directive JkEnvVar .....







Thanks
Don.
Red.,


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading Environment variable and Set it in HttpRequest
 
Similar Threads
How to take dynamic values of textboxes to Action class
Transaction ManageMent in Spring with Hibernate
Killing cookies when session is invalidated
IDE
Problem in siteminder installation