users@glassfish.java.net

Re: HttpServletRequest.isUserInRole() always returns false

From: <forums_at_java.net>
Date: Fri, 10 Jun 2011 02:39:53 -0500 (CDT)

Hi,

The problem could be specific to your application. IsUserInRole works as
expected for a sample app in both GF  v2.1.1 and 3.1. Could you please check
if the app clears the subject/principal after a successful login or if there
is a cache issue?

Thanks

Nithya 


--
[Message sent by forum member 'nitkal']
View Post: http://forums.java.net/node/807670