Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

request.setRemoteUser(p)

Schehl, Micah

2004-04-22

Replies:


How can I programmatically set a user in the Tomcat container? i.e.
request.setRemoteUser(p); I know that doesn't exist, but that is
essentially what I need to do.

My scenario is that I want to send a 1024-bit key to a user. That user
would send that key to a specific servlet. The servlet would take the key
and lookup the user's information and programmatically log them into Tomcat.

On subsequent page requests, the request.getRemoteUser() would give me back
the user.

Thank you for any help,
Micah

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.