Re: Security roles

2007-09-28 Thread janbanan
Cleaned up the naming/casing of the roles, it works and now I feel dumb. Thanks a lot! David Delbecq-2 wrote: > > request.isUserInRole is the way to go. If you don't get "true", i > suggest you first check getRemoteUser() to see if user is authenticated. > Then check you correctly spelled rol

Re: Security roles

2007-09-28 Thread David Delbecq
request.isUserInRole is the way to go. If you don't get "true", i suggest you first check getRemoteUser() to see if user is authenticated. Then check you correctly spelled role name, including case. Then check you have correct role mapping in web.xml (mapping from realm role names to webapp role) a