I'm using FORM authentication under Tomcat 5. Everything works fine, but I'm trying to get the name of the logged in user, as it's stored in the session authentication. Is there a Principal, or Identity instance I can grab from the session in order to display the currently logged in user?
posted 9 years ago
HttpServletRequest has the getUserPrincipal and getRemoteUser methods, which return this information.