You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by co...@apache.org on 2009/07/28 15:24:03 UTC
svn commit: r798514 [38/44] - in /webservices/wss4j/site: ./ apidocs/
apidocs/org/apache/ws/axis/security/
apidocs/org/apache/ws/axis/security/class-use/
apidocs/org/apache/ws/axis/security/handler/
apidocs/org/apache/ws/axis/security/handler/class-use...
Modified: webservices/wss4j/site/xref/org/apache/ws/security/message/token/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/message/token/package-frame.html?rev=798514&r1=798513&r2=798514&view=diff
==============================================================================
--- webservices/wss4j/site/xref/org/apache/ws/security/message/token/package-frame.html (original)
+++ webservices/wss4j/site/xref/org/apache/ws/security/message/token/package-frame.html Tue Jul 28 13:23:48 2009
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.5.7 Reference Package org.apache.ws.security.message.token</title>
+ <title>WSS4J 1.5.8 Reference Package org.apache.ws.security.message.token</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/wss4j/site/xref/org/apache/ws/security/message/token/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/message/token/package-summary.html?rev=798514&r1=798513&r2=798514&view=diff
==============================================================================
--- webservices/wss4j/site/xref/org/apache/ws/security/message/token/package-summary.html (original)
+++ webservices/wss4j/site/xref/org/apache/ws/security/message/token/package-summary.html Tue Jul 28 13:23:48 2009
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.5.7 Reference Package org.apache.ws.security.message.token</title>
+ <title>WSS4J 1.5.8 Reference Package org.apache.ws.security.message.token</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/wss4j/site/xref/org/apache/ws/security/package-frame.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/package-frame.html?rev=798514&r1=798513&r2=798514&view=diff
==============================================================================
--- webservices/wss4j/site/xref/org/apache/ws/security/package-frame.html (original)
+++ webservices/wss4j/site/xref/org/apache/ws/security/package-frame.html Tue Jul 28 13:23:48 2009
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.5.7 Reference Package org.apache.ws.security</title>
+ <title>WSS4J 1.5.8 Reference Package org.apache.ws.security</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/wss4j/site/xref/org/apache/ws/security/package-summary.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/package-summary.html?rev=798514&r1=798513&r2=798514&view=diff
==============================================================================
--- webservices/wss4j/site/xref/org/apache/ws/security/package-summary.html (original)
+++ webservices/wss4j/site/xref/org/apache/ws/security/package-summary.html Tue Jul 28 13:23:48 2009
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
- <title>WSS4J 1.5.7 Reference Package org.apache.ws.security</title>
+ <title>WSS4J 1.5.8 Reference Package org.apache.ws.security</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: webservices/wss4j/site/xref/org/apache/ws/security/processor/BinarySecurityTokenProcessor.html
URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/processor/BinarySecurityTokenProcessor.html?rev=798514&r1=798513&r2=798514&view=diff
==============================================================================
--- webservices/wss4j/site/xref/org/apache/ws/security/processor/BinarySecurityTokenProcessor.html (original)
+++ webservices/wss4j/site/xref/org/apache/ws/security/processor/BinarySecurityTokenProcessor.html Tue Jul 28 13:23:48 2009
@@ -87,64 +87,68 @@
<a name="77" href="#77">77</a> Vector returnResults,
<a name="78" href="#78">78</a> <a href="../../../../../org/apache/ws/security/WSSConfig.html">WSSConfig</a> config
<a name="79" href="#79">79</a> ) <strong class="jxr_keyword">throws</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a> {
-<a name="80" href="#80">80</a> <strong class="jxr_keyword">this</strong>.getCertificatesTokenReference(elem, crypto);
-<a name="81" href="#81">81</a> returnResults.add(
-<a name="82" href="#82">82</a> 0,
-<a name="83" href="#83">83</a> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/WSSecurityEngineResult.html">WSSecurityEngineResult</a>(WSConstants.BST, <strong class="jxr_keyword">this</strong>.token, <strong class="jxr_keyword">this</strong>.certificates)
-<a name="84" href="#84">84</a> );
-<a name="85" href="#85">85</a> }
-<a name="86" href="#86">86</a>
-<a name="87" href="#87">87</a> <em class="jxr_javadoccomment">/**</em>
-<a name="88" href="#88">88</a> <em class="jxr_javadoccomment"> * Extracts the certificate(s) from the Binary Security token reference.</em>
-<a name="89" href="#89">89</a> <em class="jxr_javadoccomment"> *</em>
-<a name="90" href="#90">90</a> <em class="jxr_javadoccomment"> * @param elem The element containing the binary security token. This is</em>
-<a name="91" href="#91">91</a> <em class="jxr_javadoccomment"> * either X509 certificate(s) or a PKIPath. Any other token type</em>
-<a name="92" href="#92">92</a> <em class="jxr_javadoccomment"> * is ignored.</em>
-<a name="93" href="#93">93</a> <em class="jxr_javadoccomment"> * @throws WSSecurityException</em>
-<a name="94" href="#94">94</a> <em class="jxr_javadoccomment"> */</em>
-<a name="95" href="#95">95</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> getCertificatesTokenReference(Element elem, <a href="../../../../../org/apache/ws/security/components/crypto/Crypto.html">Crypto</a> crypto)
-<a name="96" href="#96">96</a> <strong class="jxr_keyword">throws</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a> {
-<a name="97" href="#97">97</a> <strong class="jxr_keyword">this</strong>.createSecurityToken(elem);
-<a name="98" href="#98">98</a> <strong class="jxr_keyword">if</strong> (token instanceof PKIPathSecurity) {
-<a name="99" href="#99">99</a> <strong class="jxr_keyword">this</strong>.certificates = ((PKIPathSecurity) token).getX509Certificates(false, crypto);
-<a name="100" href="#100">100</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (token instanceof X509Security) {
-<a name="101" href="#101">101</a> X509Certificate cert = ((X509Security) token).getX509Certificate(crypto);
-<a name="102" href="#102">102</a> <strong class="jxr_keyword">this</strong>.certificates = <strong class="jxr_keyword">new</strong> X509Certificate[1];
-<a name="103" href="#103">103</a> <strong class="jxr_keyword">this</strong>.certificates[0] = cert;
-<a name="104" href="#104">104</a> }
-<a name="105" href="#105">105</a> }
-<a name="106" href="#106">106</a>
-<a name="107" href="#107">107</a> <em class="jxr_javadoccomment">/**</em>
-<a name="108" href="#108">108</a> <em class="jxr_javadoccomment"> * Checks the <code>element</code> and creates appropriate binary security object.</em>
-<a name="109" href="#109">109</a> <em class="jxr_javadoccomment"> *</em>
-<a name="110" href="#110">110</a> <em class="jxr_javadoccomment"> * @param element The XML element that contains either a <code>BinarySecurityToken</em>
-<a name="111" href="#111">111</a> <em class="jxr_javadoccomment"> * </code> or a <code>PKIPath</code> element.</em>
-<a name="112" href="#112">112</a> <em class="jxr_javadoccomment"> * @throws WSSecurityException</em>
-<a name="113" href="#113">113</a> <em class="jxr_javadoccomment"> */</em>
-<a name="114" href="#114">114</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> createSecurityToken(Element element) <strong class="jxr_keyword">throws</strong> WSSecurityException {
-<a name="115" href="#115">115</a> <strong class="jxr_keyword">this</strong>.token = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/message/token/BinarySecurity.html">BinarySecurity</a>(element);
-<a name="116" href="#116">116</a> String type = token.getValueType();
-<a name="117" href="#117">117</a>
-<a name="118" href="#118">118</a> <strong class="jxr_keyword">if</strong> (X509Security.X509_V3_TYPE.equals(type)) {
-<a name="119" href="#119">119</a> <strong class="jxr_keyword">this</strong>.token = <strong class="jxr_keyword">new</strong> X509Security(element);
-<a name="120" href="#120">120</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (PKIPathSecurity.getType().equals(type)) {
-<a name="121" href="#121">121</a> <strong class="jxr_keyword">this</strong>.token = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/message/token/PKIPathSecurity.html">PKIPathSecurity</a>(element);
-<a name="122" href="#122">122</a> }
-<a name="123" href="#123">123</a> }
-<a name="124" href="#124">124</a>
-<a name="125" href="#125">125</a> <strong class="jxr_keyword">public</strong> String getType() {
-<a name="126" href="#126">126</a> <strong class="jxr_keyword">return</strong> type;
+<a name="80" href="#80">80</a> <strong class="jxr_keyword">if</strong> (crypto == <strong class="jxr_keyword">null</strong>) {
+<a name="81" href="#81">81</a> <strong class="jxr_keyword">this</strong>.getCertificatesTokenReference(elem, decCrypto);
+<a name="82" href="#82">82</a> } <strong class="jxr_keyword">else</strong> {
+<a name="83" href="#83">83</a> <strong class="jxr_keyword">this</strong>.getCertificatesTokenReference(elem, crypto);
+<a name="84" href="#84">84</a> }
+<a name="85" href="#85">85</a> returnResults.add(
+<a name="86" href="#86">86</a> 0,
+<a name="87" href="#87">87</a> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/WSSecurityEngineResult.html">WSSecurityEngineResult</a>(WSConstants.BST, <strong class="jxr_keyword">this</strong>.token, <strong class="jxr_keyword">this</strong>.certificates)
+<a name="88" href="#88">88</a> );
+<a name="89" href="#89">89</a> }
+<a name="90" href="#90">90</a>
+<a name="91" href="#91">91</a> <em class="jxr_javadoccomment">/**</em>
+<a name="92" href="#92">92</a> <em class="jxr_javadoccomment"> * Extracts the certificate(s) from the Binary Security token reference.</em>
+<a name="93" href="#93">93</a> <em class="jxr_javadoccomment"> *</em>
+<a name="94" href="#94">94</a> <em class="jxr_javadoccomment"> * @param elem The element containing the binary security token. This is</em>
+<a name="95" href="#95">95</a> <em class="jxr_javadoccomment"> * either X509 certificate(s) or a PKIPath. Any other token type</em>
+<a name="96" href="#96">96</a> <em class="jxr_javadoccomment"> * is ignored.</em>
+<a name="97" href="#97">97</a> <em class="jxr_javadoccomment"> * @throws WSSecurityException</em>
+<a name="98" href="#98">98</a> <em class="jxr_javadoccomment"> */</em>
+<a name="99" href="#99">99</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> getCertificatesTokenReference(Element elem, <a href="../../../../../org/apache/ws/security/components/crypto/Crypto.html">Crypto</a> crypto)
+<a name="100" href="#100">100</a> <strong class="jxr_keyword">throws</strong> <a href="../../../../../org/apache/ws/security/WSSecurityException.html">WSSecurityException</a> {
+<a name="101" href="#101">101</a> <strong class="jxr_keyword">this</strong>.createSecurityToken(elem);
+<a name="102" href="#102">102</a> <strong class="jxr_keyword">if</strong> (token instanceof PKIPathSecurity) {
+<a name="103" href="#103">103</a> <strong class="jxr_keyword">this</strong>.certificates = ((PKIPathSecurity) token).getX509Certificates(false, crypto);
+<a name="104" href="#104">104</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (token instanceof X509Security) {
+<a name="105" href="#105">105</a> X509Certificate cert = ((X509Security) token).getX509Certificate(crypto);
+<a name="106" href="#106">106</a> <strong class="jxr_keyword">this</strong>.certificates = <strong class="jxr_keyword">new</strong> X509Certificate[1];
+<a name="107" href="#107">107</a> <strong class="jxr_keyword">this</strong>.certificates[0] = cert;
+<a name="108" href="#108">108</a> }
+<a name="109" href="#109">109</a> }
+<a name="110" href="#110">110</a>
+<a name="111" href="#111">111</a> <em class="jxr_javadoccomment">/**</em>
+<a name="112" href="#112">112</a> <em class="jxr_javadoccomment"> * Checks the <code>element</code> and creates appropriate binary security object.</em>
+<a name="113" href="#113">113</a> <em class="jxr_javadoccomment"> *</em>
+<a name="114" href="#114">114</a> <em class="jxr_javadoccomment"> * @param element The XML element that contains either a <code>BinarySecurityToken</em>
+<a name="115" href="#115">115</a> <em class="jxr_javadoccomment"> * </code> or a <code>PKIPath</code> element.</em>
+<a name="116" href="#116">116</a> <em class="jxr_javadoccomment"> * @throws WSSecurityException</em>
+<a name="117" href="#117">117</a> <em class="jxr_javadoccomment"> */</em>
+<a name="118" href="#118">118</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> createSecurityToken(Element element) <strong class="jxr_keyword">throws</strong> WSSecurityException {
+<a name="119" href="#119">119</a> <strong class="jxr_keyword">this</strong>.token = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/message/token/BinarySecurity.html">BinarySecurity</a>(element);
+<a name="120" href="#120">120</a> String type = token.getValueType();
+<a name="121" href="#121">121</a>
+<a name="122" href="#122">122</a> <strong class="jxr_keyword">if</strong> (X509Security.X509_V3_TYPE.equals(type)) {
+<a name="123" href="#123">123</a> <strong class="jxr_keyword">this</strong>.token = <strong class="jxr_keyword">new</strong> X509Security(element);
+<a name="124" href="#124">124</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (PKIPathSecurity.getType().equals(type)) {
+<a name="125" href="#125">125</a> <strong class="jxr_keyword">this</strong>.token = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/message/token/PKIPathSecurity.html">PKIPathSecurity</a>(element);
+<a name="126" href="#126">126</a> }
<a name="127" href="#127">127</a> }
<a name="128" href="#128">128</a>
-<a name="129" href="#129">129</a> <strong class="jxr_keyword">public</strong> X509Certificate[] getCertificates() {
-<a name="130" href="#130">130</a> <strong class="jxr_keyword">return</strong> certificates;
+<a name="129" href="#129">129</a> <strong class="jxr_keyword">public</strong> String getType() {
+<a name="130" href="#130">130</a> <strong class="jxr_keyword">return</strong> type;
<a name="131" href="#131">131</a> }
<a name="132" href="#132">132</a>
-<a name="133" href="#133">133</a> <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/ws/security/message/token/BinarySecurity.html">BinarySecurity</a> getToken() {
-<a name="134" href="#134">134</a> <strong class="jxr_keyword">return</strong> token;
+<a name="133" href="#133">133</a> <strong class="jxr_keyword">public</strong> X509Certificate[] getCertificates() {
+<a name="134" href="#134">134</a> <strong class="jxr_keyword">return</strong> certificates;
<a name="135" href="#135">135</a> }
<a name="136" href="#136">136</a>
-<a name="137" href="#137">137</a> }
+<a name="137" href="#137">137</a> <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/ws/security/message/token/BinarySecurity.html">BinarySecurity</a> getToken() {
+<a name="138" href="#138">138</a> <strong class="jxr_keyword">return</strong> token;
+<a name="139" href="#139">139</a> }
+<a name="140" href="#140">140</a>
+<a name="141" href="#141">141</a> }
</pre>
<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org