Details
-
Bug
-
Resolution: Fixed
-
Critical
-
13.1-rc-1
-
Unknown
-
N/A
-
N/A
-
Description
Since XWIKI-18267 (13.1RC1), the APIs of xwiki-platform-security-authentication-api which were in the org.xwiki.security.authentication.api package have been deprecated and moved to xwiki-platform-legacy-security-authentication-api, which weaves xwiki-platform-security-authentication-api and adds back those deprecated APIs (and the matching components).
But xwiki-platform-legacy-security-authentication-api was never added to the XWiki WAR: the WAR ships the plain xwiki-platform-security-authentication-api instead. So the following deprecated APIs and components are missing from XWiki since 13.1RC1:
- org.xwiki.security.authentication.api.AuthenticationConfiguration
- org.xwiki.security.authentication.api.AuthenticationFailureEvent
- org.xwiki.security.authentication.api.AuthenticationFailureLimitReachedEvent
- org.xwiki.security.authentication.api.AuthenticationFailureManager
- org.xwiki.security.authentication.api.AuthenticationFailureStrategy
STEPS TO REPRODUCE:
- Install an extension written for XWiki < 13.1 which uses one of those APIs (e.g. injects an org.xwiki.security.authentication.api.AuthenticationFailureManager or implements org.xwiki.security.authentication.api.AuthenticationFailureStrategy)
EXPECTED RESULTS: The extension works, thanks to the legacy module.
ACTUAL RESULTS: The extension fails to load or to work (NoClassDefFoundError, missing component).
Attachments
Issue Links
- is caused by
-
XWIKI-18267 security-authentication-api is using a bad package name.
-
- Closed
-