Branch: refs/heads/XWIKI-22430
Home:
https://github.com/xwiki/xwiki-platform
Commit: 084ef7ff224f17b8123c7d7f098147bd21de3762
https://github.com/xwiki/xwiki-platform/commit/084ef7ff224f17b8123c7d7f0981…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2024-09-12 (Thu, 12 Sep 2024)
Changed paths:
R
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/user/UserAuthenticatedEventNotifier.java
A
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/user/UserAuthenticationEventNotifier.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiHibernateStore.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/user/impl/xwiki/MyBasicAuthenticator.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/user/impl/xwiki/MyFormAuthenticator.java
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/META-INF/components.txt
M
xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/store/XWikiHibernateStoreTest.java
A
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-api/src/main/java/org/xwiki/security/authentication/UserUnauthenticatedEvent.java
Log Message:
-----------
XWIKI-22430: Logging out does not unlock pages that were being edited
* Provide a new UserUnauthenticatedEvent to detect whenever a user
logged out, the same way that we have UserAuthenticatedEvent
* Trigger that new event when processing a logout in
MyFormAuthenticator
* Refactor the code in XWikiHibernateStore to listen for
UserUnauthenticatedEvent for cleaning the locks of a user, instead
of listening to an action event
* Rename UserAuthenticatedEventNotifier and use it for both
authenticated and unauthenticated events
* Fix test
Commit: c6571cfba13053ba107a43291b80813216cc8fa3
https://github.com/xwiki/xwiki-platform/commit/c6571cfba13053ba107a43291b80…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
A
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-api/src/main/java/org/xwiki/security/authentication/AbstractUserAuthenticationEvent.java
M
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-api/src/main/java/org/xwiki/security/authentication/UserAuthenticatedEvent.java
M
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-api/src/main/java/org/xwiki/security/authentication/UserUnauthenticatedEvent.java
Log Message:
-----------
XWIKI-22430: Logging out does not unlock pages that were being edited
* Provide an abstract event for authentication
Compare:
https://github.com/xwiki/xwiki-platform/compare/599461298b1d...c6571cfba130
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications