For username...
java.security.Principal principal =
HttpSession.getRequest().getUserPrincipal();
if( principal!=null )
{
userName = principal.getName();
}
To determine if user is in a specific role...the following call will return
true/false...
HttpSession.getRequest().isUserInRole(rol
are you using only tomcat ? more details please ... your question does not
provide an helpful clue ...
Guru
- Original Message -
From: "Christopher Molnar" <[EMAIL PROTECTED]>
To:
Sent: Monday, July 11, 2005 9:14 PM
Subject: Remote Username
I have a quick question and hope that so