Re: Automathic user authentication

2001-05-14 Thread Nathan Coast
the method will return null if the user is not authenticated. There is also the method java.security.principal user = HttpServletRequest.getUserPrincipal() which returns the current user (if logged in). have a read of the "security" chapter of the servlet spec (chapter 11 in 2.2, chapter 12

Automathic user authentication

2001-05-13 Thread LORENA MASSIMO
hi everibody, i'm developing for myintranet a web app based on apache/tomcat/struts. My users are using NT Wks on a NT Domain. I'm trying to auto-authenticate the users using the NT Logon User. Somebody told me to use the following jsp code String logon_user = Request.ServerVariables("LOGON_USER