Branch: refs/heads/XWIKI-17510
Home:
https://github.com/xwiki/xwiki-platform
Commit: 7f0a3ca72c3d3c2d28a59627cf63d7f7965eafbb
https://github.com/xwiki/xwiki-platform/commit/7f0a3ca72c3d3c2d28a59627cf63…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2023-10-20 (Fri, 20 Oct 2023)
Changed paths:
M
xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-ui/src/main/resources/XWiki/Registration.xml
M
xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/RegisterAction.java
A
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-api/src/main/java/org/xwiki/security/authentication/RegistrationConfiguration.java
A
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-default/src/main/java/org/xwiki/security/authentication/internal/DefaultRegistrationConfiguration.java
A
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-default/src/main/java/org/xwiki/security/authentication/internal/RegistrationConfigurationSource.java
M
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-default/src/main/resources/META-INF/components.txt
A
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-script/src/main/java/org/xwiki/security/authentication/script/RegistrationScriptService.java
M
xwiki-platform-core/xwiki-platform-security/xwiki-platform-security-authentication/xwiki-platform-security-authentication-script/src/main/resources/META-INF/components.txt
M
xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/passwd.vm
M
xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/register_macros.vm
M
xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/resetpasswordinline.vm
Log Message:
-----------
XWIKI-17510: The reset password functionality is not affected by password strength
rules
* Provide new APIs for accessing RegistrationConfiguration
* Define a script service to access this API from scripts
* Rewrite velocity macro #loadConfig to exploit this new API and to
remove unused arguments
* Use the new API also in oldcore where needed
WIP: Coverage is not yet met. And missing execution of integration tests
to validate everything. Also some properties from RegistrationConfig
have not been exposed yet. This probably need to be also done.