Bug 46101 - org.apache.xml.security.utils.IdResolver is not thread safe
org.apache.xml.security.utils.IdResolver is not thread safe
Status: RESOLVED FIXED
Product: Security - Now in JIRA
Classification: Unclassified
Component: Signature
Java 1.4.2
All All
: P2 major
: ---
Assigned To: XML Security Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-10-27 14:04 UTC by sean.mullan
Modified: 2008-10-27 14:07 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sean.mullan 2008-10-27 14:04:18 UTC
IdResolver is not thread-safe. It uses an unsynchronized WeakHashMap to store id/element mappings. Multiple threads running in parallel that use this class to register and retrieve id mappings can end up exhibiting erratic behavior.