[
https://issues.apache.org/jira/browse/OAK-6146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15997099#comment-15997099
]
angela commented on OAK-6146:
-----------------------------
[~alex.parvulescu], as discussed that sounds reasonable to me.
> LoginModuleImpl could also clear local state after successful commit
> --------------------------------------------------------------------
>
> Key: OAK-6146
> URL: https://issues.apache.org/jira/browse/OAK-6146
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core, security
> Reporter: Alex Parvulescu
> Assignee: Alex Parvulescu
> Priority: Minor
>
> It seems the {{LoginModuleImpl}} clears its state in the case of an {{abort}}
> (via the {{AbstractLoginModule}} or a successful {{commit}} that is coming
> from another module.
> A minor improvement here is that the login module doesn't need to hold on to
> the local state until logout (when the module is discarded), if the login
> went through on this module, so can clear state early on this execution
> branch as well.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)