users@glassfish.java.net

Re: Principals returns empty after custom login using JAAS

From: <glassfish_at_javadesktop.org>
Date: Tue, 08 Dec 2009 01:27:00 PST

Is there a possibility that the code that tries to obtain the Subject is called before the SecurityContext is even set for the first time after redeployment? If that happens, then the principals would not be obtained before the SecurityContext is set.
[Message sent by forum member 'nitkal' ]

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