You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Sean Mullan <Se...@Sun.COM> on 2004/08/05 16:37:38 UTC

[Java] Problem in config.xml with multiple provider entries

Currently, the org/apache/xml/security/resource/config.xml does not 
handle multiple Provider entries with the same Id very well. Sun's 
"RsaSign" provider is implemented by a different class depending if you 
are using JDK 1.4 or 1.5, so that is why multiple entries are required. 
However, currently the last entry overwrites any previous entries, so 
you are forced to deploy a separate xmlsec.jar with a different 
config.xml for each JDK version, which is awkward.

Vishal Mahajan has a fix for this problem and will be putting it back soon.

--Sean

Re: [Java] Problem in config.xml with multiple provider entries

Posted by Vishal Mahajan <Vi...@Sun.COM>.
Berin,

I think you fixed this problem sometime back by putting a patch in 
JCEMapper. Just wanted to confirm.

Vishal

Sean Mullan wrote:

> Currently, the org/apache/xml/security/resource/config.xml does not 
> handle multiple Provider entries with the same Id very well. Sun's 
> "RsaSign" provider is implemented by a different class depending if 
> you are using JDK 1.4 or 1.5, so that is why multiple entries are 
> required. However, currently the last entry overwrites any previous 
> entries, so you are forced to deploy a separate xmlsec.jar with a 
> different config.xml for each JDK version, which is awkward.
>
> Vishal Mahajan has a fix for this problem and will be putting it back 
> soon.
>
> --Sean





Re: [Java] Problem in config.xml with multiple provider entries

Posted by Davanum Srinivas <da...@gmail.com>.
+1 from me.

-- dims

On Thu, 05 Aug 2004 10:37:38 -0400, Sean Mullan <se...@sun.com> wrote:
> Currently, the org/apache/xml/security/resource/config.xml does not
> handle multiple Provider entries with the same Id very well. Sun's
> "RsaSign" provider is implemented by a different class depending if you
> are using JDK 1.4 or 1.5, so that is why multiple entries are required.
> However, currently the last entry overwrites any previous entries, so
> you are forced to deploy a separate xmlsec.jar with a different
> config.xml for each JDK version, which is awkward.
> 
> Vishal Mahajan has a fix for this problem and will be putting it back soon.
> 
> --Sean
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/