On Tue, Mar 31, 2009 at 2:37 AM, Maciej Pigulski <[email protected]>wrote:
> > I had problems with getting to Subjects session to store the authorization > info - SecurityUtils.getSubject() was returning a null value. I guess the > issue is that this object does not exist in this stage, but I couldn't get > any other idea how to get into the Session object. That is extremely odd. There should _always_ be a Subject for any thread's execution. If one does not exist at the time getSubject() is called, it should have been created automatically. Are you running in a webapp or a standalone application? Regards, Les
