I have a DynamicForm which submits and saves information to a database. It has a Datasource in which we have a password field declared like this:
DataSourceTextField password = new DataSourceTextField("password", "Password");
password.setType(FieldType.PASSWORD);
password.setStoreWithHash(HashAlgorithm.MD5);
My impression was that setStoreWithHash would send the password already encrypted using MD5 hashing during a ADD or UPDATE operation (if I understood correctly from the Javadocs). However it doesn´t seem to have any effect. When the form gets submitted it send the data through HTTP to the server but the password remains exactly the same as I typed it in.
Has anybody tried this?
Thanks,
DataSourceTextField password = new DataSourceTextField("password", "Password");
password.setType(FieldType.PASSWORD);
password.setStoreWithHash(HashAlgorithm.MD5);
My impression was that setStoreWithHash would send the password already encrypted using MD5 hashing during a ADD or UPDATE operation (if I understood correctly from the Javadocs). However it doesn´t seem to have any effect. When the form gets submitted it send the data through HTTP to the server but the password remains exactly the same as I typed it in.
Has anybody tried this?
Thanks,
Comment