[
https://issues.apache.org/jira/browse/WICKET-5688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113670#comment-14113670
]
Martin Grigorov commented on WICKET-5688:
-----------------------------------------
The same change can be applied to 6.x without the API changes, i.e.
IPageManager#sessionExpired(String) will do the same as the new #clear() method
ignoring the passed sessionId.
I think it is a good fix!
> Restore the functionality an IPageManager to be able to clean all data/pages
> for the current session
> -----------------------------------------------------------------------------------------------------
>
> Key: WICKET-5688
> URL: https://issues.apache.org/jira/browse/WICKET-5688
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.0.0-M2
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
>
> As agreed at http://markmail.org/message/gcqk5hilaxo2jo7t
> IPageManager#sessionExpired(String sessionId) should be reworked to
> IPageManager#clear().
> The new method intentionally doesn't receive the sessionId as a parameter
> because the sessionId could be replaced by the web container for security
> reasons. The implementation of #clear() knows how to find the sessionId used
> to store the pages for the current http session.
--
This message was sent by Atlassian JIRA
(v6.2#6252)