Patrick Garner [
https://community.jboss.org/people/pgarner] created the discussion
"Re: LoginModule defined with cached=true, but called between web and ejb
container"
To view the discussion, visit:
https://community.jboss.org/message/775210#775210
--------------------------------------------------------------
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
[
https://community.jboss.org/message/775210#775210]
Start a new discussion in PicketBox Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]