Thu, 28 Jan 2016 10:58:07 +0100[ChangePassword] Fixed code after code review.
Jonathan Bueno <jonathan.bueno@openbravo.com> [Thu, 28 Jan 2016 10:58:07 +0100] rev 28667
[ChangePassword] Fixed code after code review.

Username is not cleaned in case of invalid user/password.
Added check in LoginHandler to avoid security problem when changing password.
Deleted unused params in getUpdatePasswordDate method.
Login param changed to username in getUpdatePasswordDate method.
Deleted UserLock delay because has been already done (getUpdatePasswordDate and updatePassword methods).
Updated javadoc in getUpdatePasswordDate method.
Corrections in OBCriteria, using eq instead of like, using property of User PROPERTY_USERNAME.
Refactor in Dates in getUpdatePasswordDate method.
Deleted comments.
Now gets the pasword value from password field instead of user field (Both have the same content when updating the password).
Removed strange vars names like strUser and strPass.
setAdminMode and restorePreviousMode moved to updatePassword method.
Replaced vars.getLanguage() with language var where possible.
Updated javadoc in updatePassword method.
getUpdatePasswordDate method moved to DefaultAuthenticationManager and changed visibility to private.
updatePassword method moved to LoginHandler and changed visibility to private.
AuthenticationExpiryPasswordException is now a subclass of authentication exception.
Strings compared with === in js(Login.html).
Using single quotes '' for js strings.

Fri, 22 Jan 2016 12:22:19 +0100[ChangePassword] Merge with pi
Jonathan Bueno <jonathan.bueno@openbravo.com> [Fri, 22 Jan 2016 12:22:19 +0100] rev 28666
[ChangePassword] Merge with pi

Fri, 22 Jan 2016 12:16:40 +0100[ChangePassword] Fixed trigger to work with oracle
Jonathan Bueno <jonathan.bueno@openbravo.com> [Fri, 22 Jan 2016 12:16:40 +0100] rev 28665
[ChangePassword] Fixed trigger to work with oracle

Changed logic of trigger

Fri, 22 Jan 2016 10:19:07 +0100[ChangePassword] Merge with pi
Jonathan Bueno <jonathan.bueno@openbravo.com> [Fri, 22 Jan 2016 10:19:07 +0100] rev 28664
[ChangePassword] Merge with pi

Fri, 22 Jan 2016 09:15:57 +0100[ChangePassword] Fixed trigger to work with oracle
Jonathan Bueno <jonathan.bueno@openbravo.com> [Fri, 22 Jan 2016 09:15:57 +0100] rev 28663
[ChangePassword] Fixed trigger to work with oracle

Deleted return new;

Thu, 21 Jan 2016 10:56:25 +0100[ChangePassword] Merge with pi
Jonathan Bueno <jonathan.bueno@openbravo.com> [Thu, 21 Jan 2016 10:56:25 +0100] rev 28662
[ChangePassword] Merge with pi

Thu, 21 Jan 2016 10:17:24 +0100[ChangePassword] Fixed trigger to work with oracle
Jonathan Bueno <jonathan.bueno@openbravo.com> [Thu, 21 Jan 2016 10:17:24 +0100] rev 28661
[ChangePassword] Fixed trigger to work with oracle

Wed, 20 Jan 2016 13:38:41 +0100[ChangePassword] Solved null value in users fields, added columns from last merge
Jonathan Bueno <jonathan.bueno@openbravo.com> [Wed, 20 Jan 2016 13:38:41 +0100] rev 28660
[ChangePassword] Solved null value in users fields, added columns from last merge

Wed, 20 Jan 2016 12:36:52 +0100[ChangePassword] Merge with pi
Jonathan Bueno <jonathan.bueno@openbravo.com> [Wed, 20 Jan 2016 12:36:52 +0100] rev 28659
[ChangePassword] Merge with pi

Tue, 19 Jan 2016 10:38:46 +0100[ChangePassword] Fixed issue on WebServices
Guillermo Gil <guillermo.gil@openbravo.com> [Tue, 19 Jan 2016 10:38:46 +0100] rev 28658
[ChangePassword] Fixed issue on WebServices

There is no session if you are not logged in Openbravo.
Use SeguridadData instead of OBCriteria.