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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to