I am using the JTOpen API to access the AS400 system.
I can successfully change the active password of the AS400 user as follows:
AS400 system = new AS400("AS400SYSTEM", "AS400USER"); system.changePassword("OLDPASSWORD", "NEWPASSWORD");
On the other hand, when I try to change the password with an expired user in the same way, I get the following exception from the second line:
com.ibm.as400.access.AS400SecurityException: invalid password.
What do I need to do first?
source share