What does tomcat do to ensure that you're logged in while using the j_security_check ? We're trying to transition users from non-logged in to logged in, but we've got a fair amt. of portions of the site that should be accessible from both states (non-logged in and logged in)
Is there something, programmatically, that's done, or is it something that tomcat simply places in the user's session? any advice or direction to the location in the API would be great.
Paul,
if you're logged in, request.getRemoteUser() returns the login name you gave. If you're not, it returns null.
There's nothing in the session that is available to you with session.getAttribute(), if that's what your question was.
Check out the java API for HttpServletRequest and ServletRequest.
Adam
-- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
