Skip to content
En échec

Changes

Summary

  1. Bug #14829 (details)
  2. Bug #14829 (details)
Commit 1c6f5f3a4155775cf6966a0002adfa75060e08b0 by Miguel Moquillon
Bug #14829

Refactor the credentials management API in order the handlers can
indicate if credentials pre-checking treatment has to be done before
invoking them. The refactor uses the Visitor pattern.

Now, when the user request a password reseting or a password change, if
the pair login/domain doesn't exist in Silverpeas, an error page is
displayed. The HTT response to the navigator doesn't change if there is
an error or not; only the content of the response (the document) change.
The error page instead of talking about the not found login identifier
for a given user domain, informs just the user its password change/reset
isn't allowed.
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/authentication/credentials/NewRegistrationHandler.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/authentication/credentials/ForgotPasswordHandler.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/authentication/CredentialsServlet.java (diff)
The file was addedcore-web/src/main/java/org/silverpeas/core/web/authentication/credentials/HttpFunctionHandler.java
The file was modifiedcore-war/src/main/webapp/defaultReInitPassword.jsp (diff)
The file was modifiedcore-configuration/src/main/config/properties/org/silverpeas/lookAndFeel/generalLook.properties (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/authentication/credentials/ChangePasswordFromLoginHandler.java (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/authentication/credentials/ChangePasswordFunctionHandler.java (diff)
The file was modifiedcore-web-test/src/main/resources/org/silverpeas/lookAndFeel/generalLook.properties (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/authentication/credentials/CredentialsFunctionHandler.java (diff)
The file was modifiedcore-configuration/src/main/config/properties/org/silverpeas/authentication/multilang/forgottenPasswordMail_fr.properties (diff)
The file was modifiedcore-configuration/src/main/config/properties/org/silverpeas/authentication/multilang/forgottenPasswordMail.properties (diff)
The file was addedcore-web/src/main/java/org/silverpeas/core/web/authentication/credentials/CredentialsFunctionFromLoginHandler.java
The file was addedcore-web/src/main/java/org/silverpeas/core/web/authentication/credentials/HttpFunctionHandlerRegistering.java
Commit 0c52bd9b74f78d9f1c6498b51c5fbd45d88bb1fe by Miguel Moquillon
Bug #14829

Now it isn't anymore possible to change his password through the login
form. This feature has been removed for security reasons.
To change his password, the user has either to reset it in the login form
(if this feature is enabled) or to change it in his profile page once
signed in Silverpeas.

When reseting his password with an invalid login id, the same message is
given than with a valid login id. So nobody cannot know if a user with
such a login id exists or not.
The file was modifiedcore-war/src/main/webapp/defaultLogin.jsp (diff)
The file was modifiedcore-test/src/main/resources/org/silverpeas/authentication/settings/authenticationSettings.properties (diff)
The file was modifiedcore-library/src/integration-test/resources/org/silverpeas/lookAndFeel/generalLook.properties (diff)
The file was modifiedcore-war/src/main/webapp/defaultReInitPassword.jsp (diff)
The file was modifiedcore-web-test/src/main/resources/org/silverpeas/lookAndFeel/generalLook.properties (diff)
The file was modifiedcore-services/chat/src/integration-test/resources/org/silverpeas/lookAndFeel/generalLook.properties (diff)
The file was modifiedcore-web/src/main/java/org/silverpeas/core/web/authentication/credentials/ForgotPasswordHandler.java (diff)
The file was modifiedcore-configuration/src/main/config/properties/org/silverpeas/authentication/settings/authenticationSettings.properties (diff)
The file was modifiedcore-services/chat/src/test/resources/org/silverpeas/lookAndFeel/generalLook.properties (diff)
The file was modifiedcore-library/src/test/resources/org/silverpeas/authentication/settings/authenticationSettings.properties (diff)
The file was modifiedcore-war/src/main/webapp/headLog.jsp (diff)
The file was modifiedcore-configuration/src/main/config/properties/org/silverpeas/authentication/multilang/forgottenPasswordMail.properties (diff)
The file was modifiedcore-services/workflow/src/integration-test/resources/org/silverpeas/lookAndFeel/generalLook.properties (diff)
The file was modifiedcore-configuration/src/main/config/properties/org/silverpeas/authentication/multilang/forgottenPasswordMail_fr.properties (diff)
The file was modifiedcore-library/src/test/resources/org/silverpeas/lookAndFeel/generalLook.properties (diff)
The file was modifiedcore-api/src/test/resources/org/silverpeas/authentication/settings/authenticationSettings.properties (diff)
The file was removedcore-web/src/main/java/org/silverpeas/core/web/authentication/credentials/ChangePasswordFromLoginHandler.java

Summary

  1. Remove some deprecated settings from properties files used in tests (details)
Commit 25f315d3fb930400589cbd974429d9bf0a93e680 by Miguel Moquillon
Remove some deprecated settings from properties files used in tests
The file was modifiedmailinglist/mailinglist-library/src/test/resources/org/silverpeas/lookAndFeel/generalLook.properties (diff)