To migrate Java thin clients that are enabled for OS400 password encoding, use the following information to modify the Java client invocation so that the os400.security.password properties are no longer set on the invocation.
In Version 5 and later, the value of the os400.security.password.validation.list.object property is dependant upon the property value passed to the thin client using the JAVA_FLAGS environment variable. The JAVA_FLAGS environment variable is set by the setupClient script. The setupClient script calls the setupCmdLine script, which is where the value for the os400.security.password.validation.list.object property is set. For example, if a Version 6.x Base Edition Java client is passed -profileName default, then the setupClient script calls the profile_root/default/bin/setupCmdLine file.
java -classpath $MY_CLIENT_CLASSES:app_server_root/classes/wsa400.jar:$WAS_CLASSPATH \ $CLIENTSAS $JAVA_FLAGS \ -Djava.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory \ -Djava.naming.provider.url=iiop://server1:10151 \ MyClientClass $*