Customize sources for ldap password attribute?

Hi,

We’ve created a new attribute in our schema called radiusPassword for Wifi usage. We use attribute userPassword for mail and Intranet access. We don’t want to use such an attribute for chat access. I didn’t find a way for openfire use radiusPassword instead userPassword. So I’ve edited the sources, the file ./work/classes/org/jivesoftware/openfire/auth/JDBCAuthProvider.class which has userPassword and replaced by radiusPassword. But that didn’t work.

Could you tell me how can I customize the sources for openfire uses other attribute for password, if I can do that from configuration interface it would be great, also.

Thanks in advance.