tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: Tomcat Multi-Tier Authentication
Date Wed, 26 Nov 2003 21:02:06 GMT
HttpServletRequest.getUserPrincipal()
or
HttpServletRequest.getRemoteUser()

-Tim

Hart, Justin wrote:

> Is there anywhere in tomcat that there is convenient access to:
> 	1)  The authenticated principal
> 	2)  The session
> 	3)  The private credentials associated with the principal
> 
> Or even just the username, password and session?  I want to authenticate a user to my
database (IE, the guy who logs into the site logs into the database software as well), and
associate this connection with the session ID (the database connection occurs in some RMI
routines).



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message