JBoss Community

Re: LoginModule defined with cached=true, but called between web and ejb container

created by Patrick Garner in PicketBox Development - View the full discussion

I think the problem is that SessionManager#logout (which programmatically logs out the user e.g. HttpServletRequest#logout)) is invoked before invoking LoginHistoryService#create.  SessionManager is a CDI bean and LoginHistoryService is SLSB.  I think the "Invalid User" is a result of logout removing the principal prior to invoking create on the SLSB.

 

I'm looking into it, but want to let you know now what I think the problem is before you waste time on this.

Reply to this message by going to Community

Start a new discussion in PicketBox Development at Community