« Return to Thread: Sharing Session information between Rails (Jruby) and Java code in Tomcat/JBoss

Re: Sharing Session information between Rails (Jruby) and Java code in Tomcat/JBoss

by Brian Anderson-9 :: Rate this Message:

Reply to Author | View in Thread

Robert thanks for the response,

> When a container does authentication, the user name is usually passed
> using request.getRemoteUser to servlets.

This is for standard HTTP Authentication, correct? I should have
clarified that we have own user system that is based of of a web
login-form and then write some info to the session about who they are
and when their login will time out. So we are not using HTTP Auth.

> If you need direct access to the session, you could use
> $java_servlet_request to get the servlet request.

Oh this will simplify our code quite a bit! I'll give it a try!

-Brian

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

 « Return to Thread: Sharing Session information between Rails (Jruby) and Java code in Tomcat/JBoss