Project: Tomcat
Bug 18797 MemoryUserRule doesn't validate user attributes
Reported: 2003-04-08 06:33:14 | Status: resolved fixed

The implementation of org.apache.catalina.realm.MemoryRuleSet.begin dosen't validate the attribute values before adding a user to the MemoryRealm. If username or name are not present then a null username is used which can cause odd problems later on. Basically the method should check that parameters passed to MemoryRealm.addUser are not null before calling the method.

Files changed in fix:
java/org/apache/catalina/users/MemoryUserDatabase.java