When running a Policy Server, at times the user changes its password for one with the character £ or €, then the last character of that password gets trimmed in the DataBase User Store.
To illustrate :
The user <user>@mail.example.com changes its password to
"<value£value>".
The password in the DataBase User Store gets set to
"<value£>".
The last "value" gets removed after the £ character.
When changing the user password through AdminUI, then the password gets correctly updated in the database without missing characters.
The issue only occurs in the Customized journey where the page
http://server.example.com/password/change
which put the old and new passord in one encrypted value which it posts to:
http://server.example.com/pw/PWS.fcc
and
http://server.example.com/passwordchange/PSWDChangeServlet?SMENC=UTF-8&SMTOKEN=$SM$<value>&USERNAME=<user>@mail.example.com&SMAUTHREASON=23&SMAGENTNAME=<agent>&TARGET=$SM$http%3A%2F%2Fserver.example.com%2FApp%2F
PSWDChangeServlet is a class of jpw.jar.
Java and CGI password services are deprecated since 2004 (1).
So to get continuity in the development and bug fixed, use the FCC password services (ie.: smpwservices.fcc) (2)(3).
As PWS.fcc is deprecated, change the code in order to use smpwservices.fcc instead of PWS.fcc to solve the issue.
Out of the box smpwservices.fcc doesn't show that issue.