users@glassfish.java.net

getUserPrincipal() returns null and isUserInRole() returns false always

From: <glassfish_at_javadesktop.org>
Date: Mon, 28 Dec 2009 12:37:24 PST

This problem has been present for a while, in all versions since glassfish 2.1 to the very latest 2.1.1.

Checking Sun's web site I saw they have the following patch for this problem listed as:

4022 getUserPrincipal() returns null for Servlet WebServices and isUserInRole() returns false always

Is there any workaround for this? or when will this get fixed in the community version?

By the way, GF v3 doesn't have this problem.

thanks

JC
[Message sent by forum member 'jcferrer' (blindacrobat_at_sbcglobal.net)]

http://forums.java.net/jive/thread.jspa?messageID=377844