tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denny Lee <>
Subject isUserInRole
Date Fri, 04 Feb 2005 15:49:35 GMT
Thanks for you reply.  I have not tried
request.isUserInRole("Denny").  I was under the
impression that role has to do with being admin or
user.  I can get the user name through the
request.getRemoteUser() but I am still stuck with the
role thing.
Subject:	 RE: isUserInRole question
Date:	Fri, 4 Feb 2005 08:35:22 +0530

Plain Text Attachment [ Download File | Save to my
Yahoo! Briefcase ]

Hi Denny,

U hav to use request.isUserInRole("Denny") to compare
whether the user
logged in is Denny or not


-----Original Message-----
From: Mario Winterer []
Sent: Friday, February 04, 2005 3:13 AM
To: Tomcat Users List
Subject: Re: isUserInRole question

Hi Denny!

Which Realm do you use in server.xml? What are your

Please post your configurations!!!



>Thanks for your reply.  When I use IE to bring up the

>page I get a dialogbox asking for user name and

>password.  If I put in a user name and password of a

>user on the workstation I can login.  The page shows

>the correct user name and says that I have

>successfully logged in.  But I get 2 false for the

>isUserInRole statements.  I don't know why that is




To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message