[ https://issues.apache.org/jira/browse/SHIRO-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899281#action_12899281 ]
Peter Ladanyi commented on SHIRO-188: ------------------------------------- Kalle, U r probably right about the initiator of change ..that should be client, but lets consider that if the credential validation takes some time like 5 to 15 sec. and u have on Glassfish only 5 threads to handle requests,you will probably decide to do the validation asynchronously and that means that u need to be able to modify also "detached sessions". > Asynchronous change of Subject. (hybrid session management) > ----------------------------------------------------------- > > Key: SHIRO-188 > URL: https://issues.apache.org/jira/browse/SHIRO-188 > Project: Shiro > Issue Type: Improvement > Reporter: Peter Ladanyi > > I have procedure that needs to asynchronously modify principals of current > subjects. > My code is running in web container so i have shiro filter that does the > usual thing reconstructs subject and binds it to thread local and then does > the clean up. I have found that to be able do such thing i need to run in > native session mode. Where the shiro does the session management, what is > not really the preferred way because of bypassing web container session > management. > Maybe there should be kind of hybrid session management that will do possible > to change also detached session (after do filter is called) . -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.