You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2014/01/09 11:30:07 UTC
svn commit: r1556777 [21/23] - in /webservices/website/wss4j: ./ apidocs/
apidocs/org/apache/ws/security/ apidocs/org/apache/ws/security/action/
apidocs/org/apache/ws/security/action/class-use/
apidocs/org/apache/ws/security/cache/ apidocs/org/apache/w...
Modified: webservices/website/wss4j/xref-test/overview-summary.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref-test/overview-summary.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref-test/overview-summary.html (original)
+++ webservices/website/wss4j/xref-test/overview-summary.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference</title>
+ <title>Apache WSS4J 1.6.14 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
@@ -24,7 +24,7 @@
</ul>
</div>
- <h2>Apache WSS4J 1.6.13 Reference</h2>
+ <h2>Apache WSS4J 1.6.14 Reference</h2>
<table class="summary">
<thead>
@@ -104,6 +104,6 @@
</div>
<hr />
- Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: webservices/website/wss4j/xref/index.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/index.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/index.html (original)
+++ webservices/website/wss4j/xref/index.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference</title>
+ <title>Apache WSS4J 1.6.14 Reference</title>
</head>
<frameset cols="20%,80%">
<frameset rows="30%,70%">
Modified: webservices/website/wss4j/xref/org/apache/ws/security/WSDerivedKeyTokenPrincipal.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/WSDerivedKeyTokenPrincipal.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/WSDerivedKeyTokenPrincipal.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/WSDerivedKeyTokenPrincipal.html Thu Jan 9 10:29:54 2014
@@ -48,7 +48,7 @@
<a name="38" href="#38">38</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">int</strong> length;
<a name="39" href="#39">39</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">int</strong> offset;
<a name="40" href="#40">40</a> <strong class="jxr_keyword">private</strong> String basetokenId;
-<a name="41" href="#41">41</a> <strong class="jxr_keyword">private</strong> byte[] secret;
+<a name="41" href="#41">41</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">transient</strong> byte[] secret;
<a name="42" href="#42">42</a>
<a name="43" href="#43">43</a> <strong class="jxr_keyword">public</strong> String getLabel() {
<a name="44" href="#44">44</a> <strong class="jxr_keyword">return</strong> label;
Modified: webservices/website/wss4j/xref/org/apache/ws/security/WSUsernameTokenPrincipal.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/WSUsernameTokenPrincipal.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/WSUsernameTokenPrincipal.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/WSUsernameTokenPrincipal.html Thu Jan 9 10:29:54 2014
@@ -62,7 +62,7 @@
<a name="52" href="#52">52</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> serialVersionUID = 5608648208455259722L;
<a name="53" href="#53">53</a> <strong class="jxr_keyword">private</strong> String name;
<a name="54" href="#54">54</a> <strong class="jxr_keyword">private</strong> String nonce;
-<a name="55" href="#55">55</a> <strong class="jxr_keyword">private</strong> String password;
+<a name="55" href="#55">55</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">transient</strong> String password;
<a name="56" href="#56">56</a> <strong class="jxr_keyword">private</strong> String createdTime;
<a name="57" href="#57">57</a> <strong class="jxr_keyword">private</strong> String passwordType;
<a name="58" href="#58">58</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> digest = false;
Modified: webservices/website/wss4j/xref/org/apache/ws/security/action/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/action/package-frame.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/action/package-frame.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/action/package-frame.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.action</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.action</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/website/wss4j/xref/org/apache/ws/security/action/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/action/package-summary.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/action/package-summary.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/action/package-summary.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.action</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.action</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -102,6 +102,6 @@
</ul>
</div>
<hr />
- Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: webservices/website/wss4j/xref/org/apache/ws/security/cache/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/cache/package-frame.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/cache/package-frame.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/cache/package-frame.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.cache</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.cache</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/website/wss4j/xref/org/apache/ws/security/cache/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/cache/package-summary.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/cache/package-summary.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/cache/package-summary.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.cache</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.cache</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -67,6 +67,6 @@
</ul>
</div>
<hr />
- Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: webservices/website/wss4j/xref/org/apache/ws/security/components/crypto/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/components/crypto/package-frame.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/components/crypto/package-frame.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/components/crypto/package-frame.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.components.crypto</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.components.crypto</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/website/wss4j/xref/org/apache/ws/security/components/crypto/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/components/crypto/package-summary.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/components/crypto/package-summary.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/components/crypto/package-summary.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.components.crypto</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.components.crypto</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -127,6 +127,6 @@
</ul>
</div>
<hr />
- Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: webservices/website/wss4j/xref/org/apache/ws/security/conversation/dkalgo/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/conversation/dkalgo/package-frame.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/conversation/dkalgo/package-frame.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/conversation/dkalgo/package-frame.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.conversation.dkalgo</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.conversation.dkalgo</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/website/wss4j/xref/org/apache/ws/security/conversation/dkalgo/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/conversation/dkalgo/package-summary.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/conversation/dkalgo/package-summary.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/conversation/dkalgo/package-summary.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.conversation.dkalgo</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.conversation.dkalgo</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -72,6 +72,6 @@
</ul>
</div>
<hr />
- Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: webservices/website/wss4j/xref/org/apache/ws/security/conversation/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/conversation/package-frame.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/conversation/package-frame.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/conversation/package-frame.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.conversation</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.conversation</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/website/wss4j/xref/org/apache/ws/security/conversation/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/conversation/package-summary.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/conversation/package-summary.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/conversation/package-summary.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.conversation</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.conversation</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -72,6 +72,6 @@
</ul>
</div>
<hr />
- Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: webservices/website/wss4j/xref/org/apache/ws/security/handler/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/handler/package-frame.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/handler/package-frame.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/handler/package-frame.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.handler</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.handler</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/website/wss4j/xref/org/apache/ws/security/handler/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/handler/package-summary.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/handler/package-summary.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/handler/package-summary.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.handler</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.handler</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -77,6 +77,6 @@
</ul>
</div>
<hr />
- Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: webservices/website/wss4j/xref/org/apache/ws/security/message/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/message/package-frame.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/message/package-frame.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/message/package-frame.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.message</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.message</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/website/wss4j/xref/org/apache/ws/security/message/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/message/package-summary.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/message/package-summary.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/message/package-summary.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.message</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.message</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -137,6 +137,6 @@
</ul>
</div>
<hr />
- Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: webservices/website/wss4j/xref/org/apache/ws/security/message/token/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/message/token/package-frame.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/message/token/package-frame.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/message/token/package-frame.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.message.token</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.message.token</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/website/wss4j/xref/org/apache/ws/security/message/token/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/message/token/package-summary.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/message/token/package-summary.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/message/token/package-summary.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.message.token</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.message.token</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -137,6 +137,6 @@
</ul>
</div>
<hr />
- Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: webservices/website/wss4j/xref/org/apache/ws/security/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/package-frame.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/package-frame.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/package-frame.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/website/wss4j/xref/org/apache/ws/security/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/package-summary.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/package-summary.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/package-summary.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -162,6 +162,6 @@
</ul>
</div>
<hr />
- Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: webservices/website/wss4j/xref/org/apache/ws/security/processor/SAMLTokenProcessor.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/processor/SAMLTokenProcessor.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/processor/SAMLTokenProcessor.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/processor/SAMLTokenProcessor.html Thu Jan 9 10:29:54 2014
@@ -146,62 +146,68 @@
<a name="136" href="#136">136</a>
<a name="137" href="#137">137</a> Signature sig = assertion.getSignature();
<a name="138" href="#138">138</a> KeyInfo keyInfo = sig.getKeyInfo();
-<a name="139" href="#139">139</a> <a href="../../../../../org/apache/ws/security/saml/SAMLKeyInfo.html">SAMLKeyInfo</a> samlKeyInfo =
-<a name="140" href="#140">140</a> SAMLUtil.getCredentialDirectlyFromKeyInfo(
-<a name="141" href="#141">141</a> keyInfo.getDOM(), data
-<a name="142" href="#142">142</a> );
-<a name="143" href="#143">143</a>
-<a name="144" href="#144">144</a> <strong class="jxr_keyword">if</strong> (algorithmSuite != <strong class="jxr_keyword">null</strong>) {
-<a name="145" href="#145">145</a> <a href="../../../../../org/apache/ws/security/components/crypto/AlgorithmSuiteValidator.html">AlgorithmSuiteValidator</a> algorithmSuiteValidator = <strong class="jxr_keyword">new</strong>
-<a name="146" href="#146">146</a> <a href="../../../../../org/apache/ws/security/components/crypto/AlgorithmSuiteValidator.html">AlgorithmSuiteValidator</a>(algorithmSuite);
-<a name="147" href="#147">147</a>
-<a name="148" href="#148">148</a> PublicKey key = <strong class="jxr_keyword">null</strong>;
-<a name="149" href="#149">149</a> <strong class="jxr_keyword">if</strong> (samlKeyInfo.getCerts() != <strong class="jxr_keyword">null</strong> && samlKeyInfo.getCerts()[0] != <strong class="jxr_keyword">null</strong>) {
-<a name="150" href="#150">150</a> key = samlKeyInfo.getCerts()[0].getPublicKey();
-<a name="151" href="#151">151</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (samlKeyInfo.getPublicKey() != <strong class="jxr_keyword">null</strong>) {
-<a name="152" href="#152">152</a> key = samlKeyInfo.getPublicKey();
-<a name="153" href="#153">153</a> } <strong class="jxr_keyword">else</strong> {
-<a name="154" href="#154">154</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a>(
-<a name="155" href="#155">155</a> WSSecurityException.FAILURE, <span class="jxr_string">"invalidSAMLsecurity"</span>,
-<a name="156" href="#156">156</a> <strong class="jxr_keyword">new</strong> Object[]{<span class="jxr_string">"cannot get certificate or key"</span>}
-<a name="157" href="#157">157</a> );
-<a name="158" href="#158">158</a> }
-<a name="159" href="#159">159</a>
-<a name="160" href="#160">160</a> <em class="jxr_comment">// Not checking signature here, just marshalling into an XMLSignature</em>
-<a name="161" href="#161">161</a> <em class="jxr_comment">// structure for testing the transform/digest algorithms etc.</em>
-<a name="162" href="#162">162</a> XMLValidateContext context = <strong class="jxr_keyword">new</strong> DOMValidateContext(key, sig.getDOM());
-<a name="163" href="#163">163</a> context.setProperty(<span class="jxr_string">"org.apache.jcp.xml.dsig.secureValidation"</span>, Boolean.TRUE);
-<a name="164" href="#164">164</a> context.setProperty(<span class="jxr_string">"org.jcp.xml.dsig.secureValidation"</span>, Boolean.TRUE);
-<a name="165" href="#165">165</a>
-<a name="166" href="#166">166</a> XMLSignature xmlSignature;
-<a name="167" href="#167">167</a> <strong class="jxr_keyword">try</strong> {
-<a name="168" href="#168">168</a> xmlSignature = signatureFactory.unmarshalXMLSignature(context);
-<a name="169" href="#169">169</a> } <strong class="jxr_keyword">catch</strong> (MarshalException ex) {
-<a name="170" href="#170">170</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a>(
-<a name="171" href="#171">171</a> WSSecurityException.FAILED_CHECK, <span class="jxr_string">"invalidSAMLsecurity"</span>,
-<a name="172" href="#172">172</a> <strong class="jxr_keyword">new</strong> Object[]{<span class="jxr_string">"cannot get certificate or key"</span>}, ex
-<a name="173" href="#173">173</a> );
-<a name="174" href="#174">174</a> }
-<a name="175" href="#175">175</a>
-<a name="176" href="#176">176</a> algorithmSuiteValidator.checkSignatureAlgorithms(xmlSignature);
-<a name="177" href="#177">177</a> algorithmSuiteValidator.checkAsymmetricKeyLength(key);
-<a name="178" href="#178">178</a> }
-<a name="179" href="#179">179</a>
-<a name="180" href="#180">180</a> assertion.verifySignature(samlKeyInfo);
-<a name="181" href="#181">181</a> }
-<a name="182" href="#182">182</a> <em class="jxr_comment">// Parse the HOK subject if it exists</em>
-<a name="183" href="#183">183</a> assertion.parseHOKSubject(data, docInfo);
-<a name="184" href="#184">184</a>
-<a name="185" href="#185">185</a> <em class="jxr_comment">// Now delegate the rest of the verification to the Validator</em>
-<a name="186" href="#186">186</a> <a href="../../../../../org/apache/ws/security/validate/Credential.html">Credential</a> credential = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/validate/Credential.html">Credential</a>();
-<a name="187" href="#187">187</a> credential.setAssertion(assertion);
-<a name="188" href="#188">188</a> <strong class="jxr_keyword">if</strong> (validator != <strong class="jxr_keyword">null</strong>) {
-<a name="189" href="#189">189</a> <strong class="jxr_keyword">return</strong> validator.validate(credential, data);
-<a name="190" href="#190">190</a> }
-<a name="191" href="#191">191</a> <strong class="jxr_keyword">return</strong> credential;
-<a name="192" href="#192">192</a> }
-<a name="193" href="#193">193</a>
-<a name="194" href="#194">194</a> }
+<a name="139" href="#139">139</a> <strong class="jxr_keyword">if</strong> (keyInfo == <strong class="jxr_keyword">null</strong>) {
+<a name="140" href="#140">140</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a>(
+<a name="141" href="#141">141</a> WSSecurityException.FAILURE, <span class="jxr_string">"invalidSAMLsecurity"</span>,
+<a name="142" href="#142">142</a> <strong class="jxr_keyword">new</strong> Object[]{<span class="jxr_string">"cannot get certificate or key"</span>}
+<a name="143" href="#143">143</a> );
+<a name="144" href="#144">144</a> }
+<a name="145" href="#145">145</a> <a href="../../../../../org/apache/ws/security/saml/SAMLKeyInfo.html">SAMLKeyInfo</a> samlKeyInfo =
+<a name="146" href="#146">146</a> SAMLUtil.getCredentialFromKeyInfo(
+<a name="147" href="#147">147</a> keyInfo.getDOM(), data, docInfo, data.getWssConfig().isWsiBSPCompliant()
+<a name="148" href="#148">148</a> );
+<a name="149" href="#149">149</a>
+<a name="150" href="#150">150</a> <strong class="jxr_keyword">if</strong> (algorithmSuite != <strong class="jxr_keyword">null</strong>) {
+<a name="151" href="#151">151</a> <a href="../../../../../org/apache/ws/security/components/crypto/AlgorithmSuiteValidator.html">AlgorithmSuiteValidator</a> algorithmSuiteValidator = <strong class="jxr_keyword">new</strong>
+<a name="152" href="#152">152</a> <a href="../../../../../org/apache/ws/security/components/crypto/AlgorithmSuiteValidator.html">AlgorithmSuiteValidator</a>(algorithmSuite);
+<a name="153" href="#153">153</a>
+<a name="154" href="#154">154</a> PublicKey key = <strong class="jxr_keyword">null</strong>;
+<a name="155" href="#155">155</a> <strong class="jxr_keyword">if</strong> (samlKeyInfo.getCerts() != <strong class="jxr_keyword">null</strong> && samlKeyInfo.getCerts()[0] != <strong class="jxr_keyword">null</strong>) {
+<a name="156" href="#156">156</a> key = samlKeyInfo.getCerts()[0].getPublicKey();
+<a name="157" href="#157">157</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (samlKeyInfo.getPublicKey() != <strong class="jxr_keyword">null</strong>) {
+<a name="158" href="#158">158</a> key = samlKeyInfo.getPublicKey();
+<a name="159" href="#159">159</a> } <strong class="jxr_keyword">else</strong> {
+<a name="160" href="#160">160</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a>(
+<a name="161" href="#161">161</a> WSSecurityException.FAILURE, <span class="jxr_string">"invalidSAMLsecurity"</span>,
+<a name="162" href="#162">162</a> <strong class="jxr_keyword">new</strong> Object[]{<span class="jxr_string">"cannot get certificate or key"</span>}
+<a name="163" href="#163">163</a> );
+<a name="164" href="#164">164</a> }
+<a name="165" href="#165">165</a>
+<a name="166" href="#166">166</a> <em class="jxr_comment">// Not checking signature here, just marshalling into an XMLSignature</em>
+<a name="167" href="#167">167</a> <em class="jxr_comment">// structure for testing the transform/digest algorithms etc.</em>
+<a name="168" href="#168">168</a> XMLValidateContext context = <strong class="jxr_keyword">new</strong> DOMValidateContext(key, sig.getDOM());
+<a name="169" href="#169">169</a> context.setProperty(<span class="jxr_string">"org.apache.jcp.xml.dsig.secureValidation"</span>, Boolean.TRUE);
+<a name="170" href="#170">170</a> context.setProperty(<span class="jxr_string">"org.jcp.xml.dsig.secureValidation"</span>, Boolean.TRUE);
+<a name="171" href="#171">171</a>
+<a name="172" href="#172">172</a> XMLSignature xmlSignature;
+<a name="173" href="#173">173</a> <strong class="jxr_keyword">try</strong> {
+<a name="174" href="#174">174</a> xmlSignature = signatureFactory.unmarshalXMLSignature(context);
+<a name="175" href="#175">175</a> } <strong class="jxr_keyword">catch</strong> (MarshalException ex) {
+<a name="176" href="#176">176</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a>(
+<a name="177" href="#177">177</a> WSSecurityException.FAILED_CHECK, <span class="jxr_string">"invalidSAMLsecurity"</span>,
+<a name="178" href="#178">178</a> <strong class="jxr_keyword">new</strong> Object[]{<span class="jxr_string">"cannot get certificate or key"</span>}, ex
+<a name="179" href="#179">179</a> );
+<a name="180" href="#180">180</a> }
+<a name="181" href="#181">181</a>
+<a name="182" href="#182">182</a> algorithmSuiteValidator.checkSignatureAlgorithms(xmlSignature);
+<a name="183" href="#183">183</a> algorithmSuiteValidator.checkAsymmetricKeyLength(key);
+<a name="184" href="#184">184</a> }
+<a name="185" href="#185">185</a>
+<a name="186" href="#186">186</a> assertion.verifySignature(samlKeyInfo);
+<a name="187" href="#187">187</a> }
+<a name="188" href="#188">188</a> <em class="jxr_comment">// Parse the HOK subject if it exists</em>
+<a name="189" href="#189">189</a> assertion.parseHOKSubject(data, docInfo);
+<a name="190" href="#190">190</a>
+<a name="191" href="#191">191</a> <em class="jxr_comment">// Now delegate the rest of the verification to the Validator</em>
+<a name="192" href="#192">192</a> <a href="../../../../../org/apache/ws/security/validate/Credential.html">Credential</a> credential = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/validate/Credential.html">Credential</a>();
+<a name="193" href="#193">193</a> credential.setAssertion(assertion);
+<a name="194" href="#194">194</a> <strong class="jxr_keyword">if</strong> (validator != <strong class="jxr_keyword">null</strong>) {
+<a name="195" href="#195">195</a> <strong class="jxr_keyword">return</strong> validator.validate(credential, data);
+<a name="196" href="#196">196</a> }
+<a name="197" href="#197">197</a> <strong class="jxr_keyword">return</strong> credential;
+<a name="198" href="#198">198</a> }
+<a name="199" href="#199">199</a>
+<a name="200" href="#200">200</a> }
</pre>
<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
</html>
Modified: webservices/website/wss4j/xref/org/apache/ws/security/processor/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/processor/package-frame.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/processor/package-frame.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/processor/package-frame.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.processor</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.processor</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/website/wss4j/xref/org/apache/ws/security/processor/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/processor/package-summary.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/processor/package-summary.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/processor/package-summary.html Thu Jan 9 10:29:54 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>Apache WSS4J 1.6.13 Reference Package org.apache.ws.security.processor</title>
+ <title>Apache WSS4J 1.6.14 Reference Package org.apache.ws.security.processor</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
@@ -122,6 +122,6 @@
</ul>
</div>
<hr />
- Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.
+ Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.
</body>
</html>
\ No newline at end of file
Modified: webservices/website/wss4j/xref/org/apache/ws/security/saml/SAMLUtil.html
URL: http://svn.apache.org/viewvc/webservices/website/wss4j/xref/org/apache/ws/security/saml/SAMLUtil.html?rev=1556777&r1=1556776&r2=1556777&view=diff
==============================================================================
--- webservices/website/wss4j/xref/org/apache/ws/security/saml/SAMLUtil.html (original)
+++ webservices/website/wss4j/xref/org/apache/ws/security/saml/SAMLUtil.html Thu Jan 9 10:29:54 2014
@@ -363,85 +363,70 @@
<a name="353" href="#353">353</a> node = node.getNextSibling();
<a name="354" href="#354">354</a> }
<a name="355" href="#355">355</a>
-<a name="356" href="#356">356</a> <strong class="jxr_keyword">return</strong> getCredentialDirectlyFromKeyInfo(keyInfoElement, data);
-<a name="357" href="#357">357</a> }
-<a name="358" href="#358">358</a>
-<a name="359" href="#359">359</a> <em class="jxr_javadoccomment">/**</em>
-<a name="360" href="#360">360</a> <em class="jxr_javadoccomment"> * This method returns a SAMLKeyInfo corresponding to the credential found in the</em>
-<a name="361" href="#361">361</a> <em class="jxr_javadoccomment"> * KeyInfo (DOM Element) argument.</em>
-<a name="362" href="#362">362</a> <em class="jxr_javadoccomment"> * @param keyInfoElement The KeyInfo as a DOM Element</em>
-<a name="363" href="#363">363</a> <em class="jxr_javadoccomment"> * @param data The RequestData instance used to obtain configuration</em>
-<a name="364" href="#364">364</a> <em class="jxr_javadoccomment"> * @return The credential (as a SAMLKeyInfo object)</em>
-<a name="365" href="#365">365</a> <em class="jxr_javadoccomment"> * @throws WSSecurityException</em>
-<a name="366" href="#366">366</a> <em class="jxr_javadoccomment"> */</em>
-<a name="367" href="#367">367</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/ws/security/saml/SAMLKeyInfo.html">SAMLKeyInfo</a> getCredentialDirectlyFromKeyInfo(
-<a name="368" href="#368">368</a> Element keyInfoElement,
-<a name="369" href="#369">369</a> <a href="../../../../../org/apache/ws/security/handler/RequestData.html">RequestData</a> data
-<a name="370" href="#370">370</a> ) <strong class="jxr_keyword">throws</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a> {
-<a name="371" href="#371">371</a> <em class="jxr_comment">//</em>
-<a name="372" href="#372">372</a> <em class="jxr_comment">// Next marshal the KeyInfo DOM element into a javax KeyInfo object and get the</em>
-<a name="373" href="#373">373</a> <em class="jxr_comment">// (public key) credential</em>
-<a name="374" href="#374">374</a> <em class="jxr_comment">//</em>
-<a name="375" href="#375">375</a> X509Certificate[] certs = <strong class="jxr_keyword">null</strong>;
-<a name="376" href="#376">376</a> KeyInfoFactory keyInfoFactory = <strong class="jxr_keyword">null</strong>;
-<a name="377" href="#377">377</a> <strong class="jxr_keyword">try</strong> {
-<a name="378" href="#378">378</a> keyInfoFactory = KeyInfoFactory.getInstance(<span class="jxr_string">"DOM"</span>, <span class="jxr_string">"ApacheXMLDSig"</span>);
-<a name="379" href="#379">379</a> } <strong class="jxr_keyword">catch</strong> (NoSuchProviderException ex) {
-<a name="380" href="#380">380</a> keyInfoFactory = KeyInfoFactory.getInstance(<span class="jxr_string">"DOM"</span>);
-<a name="381" href="#381">381</a> }
-<a name="382" href="#382">382</a> XMLStructure keyInfoStructure = <strong class="jxr_keyword">new</strong> DOMStructure(keyInfoElement);
-<a name="383" href="#383">383</a>
-<a name="384" href="#384">384</a> <strong class="jxr_keyword">try</strong> {
-<a name="385" href="#385">385</a> javax.xml.crypto.dsig.keyinfo.KeyInfo keyInfo =
-<a name="386" href="#386">386</a> keyInfoFactory.unmarshalKeyInfo(keyInfoStructure);
-<a name="387" href="#387">387</a> List<?> list = keyInfo.getContent();
-<a name="388" href="#388">388</a>
-<a name="389" href="#389">389</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i < list.size(); i++) {
-<a name="390" href="#390">390</a> XMLStructure xmlStructure = (XMLStructure) list.get(i);
-<a name="391" href="#391">391</a> <strong class="jxr_keyword">if</strong> (xmlStructure instanceof KeyValue) {
-<a name="392" href="#392">392</a> PublicKey publicKey = ((KeyValue)xmlStructure).getPublicKey();
-<a name="393" href="#393">393</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/saml/SAMLKeyInfo.html">SAMLKeyInfo</a>(publicKey);
-<a name="394" href="#394">394</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (xmlStructure instanceof X509Data) {
-<a name="395" href="#395">395</a> List<?> x509Data = ((X509Data)xmlStructure).getContent();
-<a name="396" href="#396">396</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> j = 0; j < x509Data.size(); j++) {
-<a name="397" href="#397">397</a> Object x509obj = x509Data.get(j);
-<a name="398" href="#398">398</a> <strong class="jxr_keyword">if</strong> (x509obj instanceof X509Certificate) {
-<a name="399" href="#399">399</a> certs = <strong class="jxr_keyword">new</strong> X509Certificate[1];
-<a name="400" href="#400">400</a> certs[0] = (X509Certificate)x509obj;
-<a name="401" href="#401">401</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/saml/SAMLKeyInfo.html">SAMLKeyInfo</a>(certs);
-<a name="402" href="#402">402</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (x509obj instanceof X509IssuerSerial) {
-<a name="403" href="#403">403</a> <strong class="jxr_keyword">if</strong> (data.getSigCrypto() == <strong class="jxr_keyword">null</strong>) {
-<a name="404" href="#404">404</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a>(
-<a name="405" href="#405">405</a> WSSecurityException.FAILURE, <span class="jxr_string">"noSigCryptoFile"</span>
-<a name="406" href="#406">406</a> );
-<a name="407" href="#407">407</a> }
-<a name="408" href="#408">408</a> <a href="../../../../../org/apache/ws/security/components/crypto/CryptoType.html">CryptoType</a> cryptoType = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/components/crypto/CryptoType.html">CryptoType</a>(CryptoType.TYPE.ISSUER_SERIAL);
-<a name="409" href="#409">409</a> cryptoType.setIssuerSerial(
-<a name="410" href="#410">410</a> ((X509IssuerSerial)x509obj).getIssuerName(),
-<a name="411" href="#411">411</a> ((X509IssuerSerial)x509obj).getSerialNumber()
-<a name="412" href="#412">412</a> );
-<a name="413" href="#413">413</a> certs = data.getSigCrypto().getX509Certificates(cryptoType);
-<a name="414" href="#414">414</a> <strong class="jxr_keyword">if</strong> (certs == <strong class="jxr_keyword">null</strong> || certs.length < 1) {
-<a name="415" href="#415">415</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a>(
-<a name="416" href="#416">416</a> WSSecurityException.FAILURE, <span class="jxr_string">"invalidSAMLsecurity"</span>,
-<a name="417" href="#417">417</a> <strong class="jxr_keyword">new</strong> Object[]{<span class="jxr_string">"cannot get certificate or key"</span>}
-<a name="418" href="#418">418</a> );
-<a name="419" href="#419">419</a> }
-<a name="420" href="#420">420</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/saml/SAMLKeyInfo.html">SAMLKeyInfo</a>(certs);
-<a name="421" href="#421">421</a> }
-<a name="422" href="#422">422</a> }
-<a name="423" href="#423">423</a> }
-<a name="424" href="#424">424</a> }
-<a name="425" href="#425">425</a> } <strong class="jxr_keyword">catch</strong> (Exception ex) {
-<a name="426" href="#426">426</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a>(
-<a name="427" href="#427">427</a> WSSecurityException.FAILURE, <span class="jxr_string">"invalidSAMLsecurity"</span>,
-<a name="428" href="#428">428</a> <strong class="jxr_keyword">new</strong> Object[]{<span class="jxr_string">"cannot get certificate or key"</span>}, ex
-<a name="429" href="#429">429</a> );
-<a name="430" href="#430">430</a> }
-<a name="431" href="#431">431</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
-<a name="432" href="#432">432</a> }
-<a name="433" href="#433">433</a>
-<a name="434" href="#434">434</a> }
+<a name="356" href="#356">356</a> <em class="jxr_comment">//</em>
+<a name="357" href="#357">357</a> <em class="jxr_comment">// Next marshal the KeyInfo DOM element into a javax KeyInfo object and get the</em>
+<a name="358" href="#358">358</a> <em class="jxr_comment">// (public key) credential</em>
+<a name="359" href="#359">359</a> <em class="jxr_comment">//</em>
+<a name="360" href="#360">360</a> X509Certificate[] certs = <strong class="jxr_keyword">null</strong>;
+<a name="361" href="#361">361</a> KeyInfoFactory keyInfoFactory = <strong class="jxr_keyword">null</strong>;
+<a name="362" href="#362">362</a> <strong class="jxr_keyword">try</strong> {
+<a name="363" href="#363">363</a> keyInfoFactory = KeyInfoFactory.getInstance(<span class="jxr_string">"DOM"</span>, <span class="jxr_string">"ApacheXMLDSig"</span>);
+<a name="364" href="#364">364</a> } <strong class="jxr_keyword">catch</strong> (NoSuchProviderException ex) {
+<a name="365" href="#365">365</a> keyInfoFactory = KeyInfoFactory.getInstance(<span class="jxr_string">"DOM"</span>);
+<a name="366" href="#366">366</a> }
+<a name="367" href="#367">367</a> XMLStructure keyInfoStructure = <strong class="jxr_keyword">new</strong> DOMStructure(keyInfoElement);
+<a name="368" href="#368">368</a>
+<a name="369" href="#369">369</a> <strong class="jxr_keyword">try</strong> {
+<a name="370" href="#370">370</a> javax.xml.crypto.dsig.keyinfo.KeyInfo keyInfo =
+<a name="371" href="#371">371</a> keyInfoFactory.unmarshalKeyInfo(keyInfoStructure);
+<a name="372" href="#372">372</a> List<?> list = keyInfo.getContent();
+<a name="373" href="#373">373</a>
+<a name="374" href="#374">374</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i < list.size(); i++) {
+<a name="375" href="#375">375</a> XMLStructure xmlStructure = (XMLStructure) list.get(i);
+<a name="376" href="#376">376</a> <strong class="jxr_keyword">if</strong> (xmlStructure instanceof KeyValue) {
+<a name="377" href="#377">377</a> PublicKey publicKey = ((KeyValue)xmlStructure).getPublicKey();
+<a name="378" href="#378">378</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/saml/SAMLKeyInfo.html">SAMLKeyInfo</a>(publicKey);
+<a name="379" href="#379">379</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (xmlStructure instanceof X509Data) {
+<a name="380" href="#380">380</a> List<?> x509Data = ((X509Data)xmlStructure).getContent();
+<a name="381" href="#381">381</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> j = 0; j < x509Data.size(); j++) {
+<a name="382" href="#382">382</a> Object x509obj = x509Data.get(j);
+<a name="383" href="#383">383</a> <strong class="jxr_keyword">if</strong> (x509obj instanceof X509Certificate) {
+<a name="384" href="#384">384</a> certs = <strong class="jxr_keyword">new</strong> X509Certificate[1];
+<a name="385" href="#385">385</a> certs[0] = (X509Certificate)x509obj;
+<a name="386" href="#386">386</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/saml/SAMLKeyInfo.html">SAMLKeyInfo</a>(certs);
+<a name="387" href="#387">387</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (x509obj instanceof X509IssuerSerial) {
+<a name="388" href="#388">388</a> <strong class="jxr_keyword">if</strong> (data.getSigCrypto() == <strong class="jxr_keyword">null</strong>) {
+<a name="389" href="#389">389</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a>(
+<a name="390" href="#390">390</a> WSSecurityException.FAILURE, <span class="jxr_string">"noSigCryptoFile"</span>
+<a name="391" href="#391">391</a> );
+<a name="392" href="#392">392</a> }
+<a name="393" href="#393">393</a> <a href="../../../../../org/apache/ws/security/components/crypto/CryptoType.html">CryptoType</a> cryptoType = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/components/crypto/CryptoType.html">CryptoType</a>(CryptoType.TYPE.ISSUER_SERIAL);
+<a name="394" href="#394">394</a> cryptoType.setIssuerSerial(
+<a name="395" href="#395">395</a> ((X509IssuerSerial)x509obj).getIssuerName(),
+<a name="396" href="#396">396</a> ((X509IssuerSerial)x509obj).getSerialNumber()
+<a name="397" href="#397">397</a> );
+<a name="398" href="#398">398</a> certs = data.getSigCrypto().getX509Certificates(cryptoType);
+<a name="399" href="#399">399</a> <strong class="jxr_keyword">if</strong> (certs == <strong class="jxr_keyword">null</strong> || certs.length < 1) {
+<a name="400" href="#400">400</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a>(
+<a name="401" href="#401">401</a> WSSecurityException.FAILURE, <span class="jxr_string">"invalidSAMLsecurity"</span>,
+<a name="402" href="#402">402</a> <strong class="jxr_keyword">new</strong> Object[]{<span class="jxr_string">"cannot get certificate or key"</span>}
+<a name="403" href="#403">403</a> );
+<a name="404" href="#404">404</a> }
+<a name="405" href="#405">405</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/saml/SAMLKeyInfo.html">SAMLKeyInfo</a>(certs);
+<a name="406" href="#406">406</a> }
+<a name="407" href="#407">407</a> }
+<a name="408" href="#408">408</a> }
+<a name="409" href="#409">409</a> }
+<a name="410" href="#410">410</a> } <strong class="jxr_keyword">catch</strong> (Exception ex) {
+<a name="411" href="#411">411</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a>(
+<a name="412" href="#412">412</a> WSSecurityException.FAILURE, <span class="jxr_string">"invalidSAMLsecurity"</span>,
+<a name="413" href="#413">413</a> <strong class="jxr_keyword">new</strong> Object[]{<span class="jxr_string">"cannot get certificate or key"</span>}, ex
+<a name="414" href="#414">414</a> );
+<a name="415" href="#415">415</a> }
+<a name="416" href="#416">416</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a name="417" href="#417">417</a> }
+<a name="418" href="#418">418</a>
+<a name="419" href="#419">419</a> }
</pre>
<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
</html>