PropertyName equals() using the optimized == comparision of intern():ed String references fails to comply with the desired definition of equals, eg when using JNDIPrincipalStore. SVN r429274 introduces this regression. Previous PropertyName equals() method using String.equals() works as intended. Suggest either reverting r429274, reviewing PropertyName .intern() usage altogether or applying attached patch. See also http://mail-archives.apache.org/mod_mbox/jakarta-slide-dev/200706.mbox/%3c4682B978.5090607@apache.org%3e
Created attachment 20426 [details] Reverting to String equals() comparision in PropertyName#equals()