Using more recent Apache XML Security Libraries with JDK 6 or JDK 7

This question has come up in user forums quite a bit: "how can I use a more recent Apache XML Security library with the XML Signature APIs (JSR 105) in JDK 6 and JDK 7?"

Most of the time, you will not need to do this. Our JDK 6/7 XML Signature implementation is based on Apache XML Security and we try to keep up with the latest release. However, there may be a bug fix or new algorithm that you really need and are willing to depend on a more recent version of the Apache XML Security library that has that fix.  Here is what you need to do if so:

And that's it. You can also use the java.endorsed.dirs  system property to point to different directory containing the jars above.

Comments:

this is a very useful post
But I think it will work by default on most vendors
http://www.thejavacode.com

Posted by Java Programming Tutorials on September 26, 2010 at 12:18 AM EDT #

this is a very useful post
But I think it will work by default on most vendors

Posted by Java Programming Tutorials on September 26, 2010 at 12:18 AM EDT #

this is a very useful post
But I think it will work by default on most vendors

Posted by Java Programming Tutorials on September 26, 2010 at 12:19 AM EDT #

this is a very useful post
But I think it will work by default on most vendors

Posted by Java Programming on September 26, 2010 at 12:19 AM EDT #

this is a very useful post
But I think it will work by default on most vendors

Posted by Java Programming on September 26, 2010 at 12:19 AM EDT #

this is a very useful post
But I think it will work by default on most vendors

Posted by Java Programming on September 26, 2010 at 12:20 AM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Sean Mullan

Search

Top Tags
Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today