Bug 46101 - org.apache.xml.security.utils.IdResolver is not thread safe
Summary: org.apache.xml.security.utils.IdResolver is not thread safe
Status: RESOLVED FIXED
Alias: None
Product: Security - Now in JIRA
Classification: Unclassified
Component: Signature (show other bugs)
Version: Java 1.4.2
Hardware: All All
: P2 major
Target Milestone: ---
Assignee: XML Security Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
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.