Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/SAMLTokenIssuerConfig.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/SAMLTokenIssuerConfig.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/SAMLTokenIssuerConfig.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/SAMLTokenIssuerConfig.html Mon Jan 18 23:07:55 2016 @@ -259,13 +259,24 @@ extends <a href="../../../../org/apache/ <td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#getCallbackHandlerName()">getCallbackHandlerName</a></strong>()</code> </td> </tr> <tr class="altColor"> +<td class="colFirst"><code>org.apache.ws.security.components.crypto.Crypto</code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#getIssuerCrypto(java.lang.ClassLoader)">getIssuerCrypto</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> classLoader)</code> +<div class="block">This method will create a Crypto object based on property values defined in cryptoElement or + cryptoPropertiesFile.</div> +</td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#getIssuerKeyAlias()">getIssuerKeyAlias</a></strong>()</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#getIssuerKeyPassword()">getIssuerKeyPassword</a></strong>()</code> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#getIssuerName()">getIssuerName</a></strong>()</code> </td> +</tr> <tr class="altColor"> <td class="colFirst"><code>org.apache.axis2.description.Parameter</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#getParameter()">getParameter</a></strong>()</code> @@ -287,43 +298,47 @@ extends <a href="../../../../org/apache/ </td> </tr> <tr class="rowColor"> +<td class="colFirst"><code><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#getTrustStorePropFile()">getTrustStorePropFile</a></strong>()</code> </td> +</tr> +<tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#setCallbackHander(org.apache.rahas.impl.util.SAMLCallbackHandler)">setCallbackHander</a></strong>(<a href="../../../../org/apache/rahas/impl/util/SAMLCallbackHandler.html" title="interface in org.apache.rahas.impl.util">SAMLCallbackHandler</a> callbackHandler)</code> <div class="block"><strong>Deprecated.</strong> </div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#setCallbackHandler(org.apache.rahas.impl.util.SAMLCallbackHandler)">setCallbackHandler</a></strong>(<a href="../../../../org/apache/rahas/impl/util/SAMLCallbackHandler.html" title="interface in org.apache.rahas.impl.util">SAMLCallbackHandler</a> callbackHandler)</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#setCallbackHandlerName(java.lang.String)">setCallbackHandlerName</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> callbackHandlerName)</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#setCryptoProperties(java.lang.String, java.util.Properties)">setCryptoProperties</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> providerClassName, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a> props)</code> <div class="block">Set crypto information using WSS4J mechanisms</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#setIssuerKeyAlias(java.lang.String)">setIssuerKeyAlias</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> issuerKeyAlias)</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#setIssuerKeyPassword(java.lang.String)">setIssuerKeyPassword</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> issuerKeyPassword)</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#setIssuerName(java.lang.String)">setIssuerName</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> issuerName)</code> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#setTrustedServices(java.util.Map)">setTrustedServices</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a> trustedServices)</code> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html#setTrustStorePropFile(java.lang.String)">setTrustStorePropFile</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trustStorePropFile)</code> </td> </tr> @@ -333,7 +348,7 @@ extends <a href="../../../../org/apache/ <!-- --> </a> <h3>Methods inherited from class org.apache.rahas.impl.<a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html" title="class in org.apache.rahas.impl">AbstractIssuerConfig</a></h3> -<code><a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getKeyComputation()">getKeyComputation</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getKeySize()">getKeySize</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getProofKeyType()">getProofKeyType</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setAddRequestedAttachedRef(boolean)">setAddRequestedAttachedRef</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setAddRequestedUnattachedRef(boolean)">setAddRequestedUnattachedRef</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setKeyComputation(int)">setKeyComputation</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setKeySize(int)">setKeySize</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setProofKeyType(java.lang.String)">setProofKeyType</a>, <a href="../../../../org/apache/rahas/impl/Abst ractIssuerConfig.html#setTtl(long)">setTtl</a></code></li> +<code><a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getCryptoElement()">getCryptoElement</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getCryptoPropertiesElement()">getCryptoPropertiesElement</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getCryptoPropertiesFile()">getCryptoPropertiesFile</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getKeyComputation()">getKeyComputation</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getKeySize()">getKeySize</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getProofKeyType()">getProofKeyType</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getTtl()">getTtl</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#isAddRequestedAttachedRef()">isAddRequestedAttachedRef</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#isAddRequested UnattachedRef()">isAddRequestedUnattachedRef</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setAddRequestedAttachedRef(boolean)">setAddRequestedAttachedRef</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setAddRequestedUnattachedRef(boolean)">setAddRequestedUnattachedRef</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setKeyComputation(int)">setKeyComputation</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setKeySize(int)">setKeySize</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setProofKeyType(java.lang.String)">setProofKeyType</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setTtl(long)">setTtl</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> @@ -657,6 +672,24 @@ public void setCallbackHander( <pre>public <a href="../../../../org/apache/rahas/impl/util/SAMLCallbackHandler.html" title="interface in org.apache.rahas.impl.util">SAMLCallbackHandler</a> getCallbackHandler()</pre> </li> </ul> +<a name="getIssuerName()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getIssuerName</h4> +<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getIssuerName()</pre> +</li> +</ul> +<a name="getTrustStorePropFile()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTrustStorePropFile</h4> +<pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getTrustStorePropFile()</pre> +</li> +</ul> <a name="setCallbackHandler(org.apache.rahas.impl.util.SAMLCallbackHandler)"> <!-- --> </a> @@ -687,7 +720,7 @@ public void setCallbackHander( <a name="getServiceCert(org.apache.ws.security.components.crypto.Crypto, java.lang.String)"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>getServiceCert</h4> <pre>public <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a> getServiceCert(org.apache.ws.security.components.crypto.Crypto crypto, @@ -701,6 +734,22 @@ public void setCallbackHander( <dd><code><a href="../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If unable to find certificate by given alias.</dd></dl> </li> </ul> +<a name="getIssuerCrypto(java.lang.ClassLoader)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getIssuerCrypto</h4> +<pre>public org.apache.ws.security.components.crypto.Crypto getIssuerCrypto(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> classLoader) + throws <a href="../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> +<div class="block">This method will create a Crypto object based on property values defined in cryptoElement or + cryptoPropertiesFile.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classLoader</code> - A class loader to pass into CryptoFactory.</dd> +<dt><span class="strong">Returns:</span></dt><dd>A Crypto object</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If an error occurred while creating the Crypto object.</dd></dl> +</li> +</ul> </li> </ul> </li>
Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/SCTIssuer.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/SCTIssuer.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/SCTIssuer.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/SCTIssuer.html Mon Jan 18 23:07:55 2016 @@ -277,7 +277,7 @@ implements <a href="../../../../org/apac <dt><span class="strong">Returns:</span></dt><dd>The response <code>soap:Envelope</code> for the given issue request.</dd> <dt><span class="strong">Throws:</span></dt> -<dd><code><a href="../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl> +<dd><code><a href="../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If an error occurred while creating the token.</dd></dl> </li> </ul> <a name="getResponseAction(org.apache.rahas.RahasData)"> @@ -296,7 +296,7 @@ implements <a href="../../../../org/apac <dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - A populated <code>RahasData</code> instance</dd> <dt><span class="strong">Returns:</span></dt><dd>Returns the <code>wsa:Action</code> of the response</dd> <dt><span class="strong">Throws:</span></dt> -<dd><code><a href="../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl> +<dd><code><a href="../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If an error occurred while during operation.</dd></dl> </li> </ul> <a name="setConfigurationFile(java.lang.String)"> @@ -314,7 +314,7 @@ implements <a href="../../../../org/apac <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/apache/rahas/TokenIssuer.html#setConfigurationFile(java.lang.String)">setConfigurationFile</a></code> in interface <code><a href="../../../../org/apache/rahas/TokenIssuer.html" title="interface in org.apache.rahas">TokenIssuer</a></code></dd> -<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/rahas/TokenIssuer.html#setConfigurationFile(java.lang.String)"><code>TokenIssuer.setConfigurationFile(java.lang.String)</code></a></dd></dl> +<dt><span class="strong">Parameters:</span></dt><dd><code>configFile</code> - Sets the token issuer configuration file.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/rahas/TokenIssuer.html#setConfigurationFile(java.lang.String)"><code>TokenIssuer.setConfigurationFile(java.lang.String)</code></a></dd></dl> </li> </ul> <a name="setConfigurationElement(org.apache.axiom.om.OMElement)"> @@ -351,7 +351,7 @@ implements <a href="../../../../org/apac <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/apache/rahas/TokenIssuer.html#setConfigurationParamName(java.lang.String)">setConfigurationParamName</a></code> in interface <code><a href="../../../../org/apache/rahas/TokenIssuer.html" title="interface in org.apache.rahas">TokenIssuer</a></code></dd> -<dt><span class="strong">See Also:</span></dt><dd><code>Parameter</code></dd></dl> +<dt><span class="strong">Parameters:</span></dt><dd><code>configParamName</code> - The configuration parameter to be set.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Parameter</code></dd></dl> </li> </ul> </li> Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/SCTIssuerConfig.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/SCTIssuerConfig.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/SCTIssuerConfig.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/SCTIssuerConfig.html Mon Jan 18 23:07:55 2016 @@ -180,7 +180,7 @@ extends <a href="../../../../org/apache/ <!-- --> </a> <h3>Methods inherited from class org.apache.rahas.impl.<a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html" title="class in org.apache.rahas.impl">AbstractIssuerConfig</a></h3> -<code><a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getKeyComputation()">getKeyComputation</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getKeySize()">getKeySize</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getProofKeyType()">getProofKeyType</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setAddRequestedAttachedRef(boolean)">setAddRequestedAttachedRef</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setAddRequestedUnattachedRef(boolean)">setAddRequestedUnattachedRef</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setKeyComputation(int)">setKeyComputation</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setKeySize(int)">setKeySize</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setProofKeyType(java.lang.String)">setProofKeyType</a>, <a href="../../../../org/apache/rahas/impl/Abst ractIssuerConfig.html#setTtl(long)">setTtl</a></code></li> +<code><a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getCryptoElement()">getCryptoElement</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getCryptoPropertiesElement()">getCryptoPropertiesElement</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getCryptoPropertiesFile()">getCryptoPropertiesFile</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getKeyComputation()">getKeyComputation</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getKeySize()">getKeySize</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getProofKeyType()">getProofKeyType</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#getTtl()">getTtl</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#isAddRequestedAttachedRef()">isAddRequestedAttachedRef</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#isAddRequested UnattachedRef()">isAddRequestedUnattachedRef</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setAddRequestedAttachedRef(boolean)">setAddRequestedAttachedRef</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setAddRequestedUnattachedRef(boolean)">setAddRequestedUnattachedRef</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setKeyComputation(int)">setKeyComputation</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setKeySize(int)">setKeySize</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setProofKeyType(java.lang.String)">setProofKeyType</a>, <a href="../../../../org/apache/rahas/impl/AbstractIssuerConfig.html#setTtl(long)">setTtl</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/class-use/SAMLTokenIssuerConfig.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/class-use/SAMLTokenIssuerConfig.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/class-use/SAMLTokenIssuerConfig.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/class-use/SAMLTokenIssuerConfig.html Mon Jan 18 23:07:55 2016 @@ -64,7 +64,79 @@ <div class="header"> <h2 title="Uses of Class org.apache.rahas.impl.SAMLTokenIssuerConfig" class="title">Uses of Class<br>org.apache.rahas.impl.SAMLTokenIssuerConfig</h2> </div> -<div class="classUseContainer">No usage of org.apache.rahas.impl.SAMLTokenIssuerConfig</div> +<div class="classUseContainer"> +<ul class="blockList"> +<li class="blockList"> +<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> +<caption><span>Packages that use <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Package</th> +<th class="colLast" scope="col">Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><a href="#org.apache.rahas.impl.util">org.apache.rahas.impl.util</a></td> +<td class="colLast"> </td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"> +<ul class="blockList"> +<li class="blockList"><a name="org.apache.rahas.impl.util"> +<!-- --> +</a> +<h3>Uses of <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a> in <a href="../../../../../org/apache/rahas/impl/util/package-summary.html">org.apache.rahas.impl.util</a></h3> +<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> +<caption><span>Methods in <a href="../../../../../org/apache/rahas/impl/util/package-summary.html">org.apache.rahas.impl.util</a> that return <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><code>protected static <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a></code></td> +<td class="colLast"><span class="strong">CommonUtil.</span><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#createTokenIssuerConfiguration(org.apache.axiom.om.OMElement)">createTokenIssuerConfiguration</a></strong>(org.apache.axiom.om.OMElement configElement)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected static <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a></code></td> +<td class="colLast"><span class="strong">CommonUtil.</span><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#createTokenIssuerConfiguration(org.apache.axis2.description.Parameter)">createTokenIssuerConfiguration</a></strong>(org.apache.axis2.description.Parameter messageContextParameter)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a></code></td> +<td class="colLast"><span class="strong">CommonUtil.</span><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#createTokenIssuerConfiguration(java.lang.String)">createTokenIssuerConfiguration</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> configFile)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a></code></td> +<td class="colLast"><span class="strong">CommonUtil.</span><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#getTokenIssuerConfiguration(org.apache.axiom.om.OMElement, java.lang.String, org.apache.axis2.description.Parameter)">getTokenIssuerConfiguration</a></strong>(org.apache.axiom.om.OMElement configElement, + <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> configFile, + org.apache.axis2.description.Parameter messageContextParameter)</code> +<div class="block">Creates the token issuer configuration.</div> +</td> +</tr> +</tbody> +</table> +<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> +<caption><span>Methods in <a href="../../../../../org/apache/rahas/impl/util/package-summary.html">org.apache.rahas.impl.util</a> with parameters of type <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/rahas/impl/util/SAMLCallbackHandler.html" title="interface in org.apache.rahas.impl.util">SAMLCallbackHandler</a></code></td> +<td class="colLast"><span class="strong">CommonUtil.</span><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#getSAMLCallbackHandler(org.apache.rahas.impl.SAMLTokenIssuerConfig, org.apache.rahas.RahasData)">getSAMLCallbackHandler</a></strong>(<a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a> tokenIssuerConfiguration, + <a href="../../../../../org/apache/rahas/RahasData.html" title="class in org.apache.rahas">RahasData</a> data)</code> +<div class="block">Gets the SAML callback handler.</div> +</td> +</tr> +</tbody> +</table> +</li> +</ul> +</li> +</ul> +</div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/package-summary.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/package-summary.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/package-summary.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/package-summary.html Mon Jan 18 23:07:55 2016 @@ -86,7 +86,9 @@ </tr> <tr class="altColor"> <td class="colFirst"><a href="../../../../org/apache/rahas/impl/SAML2TokenIssuer.html" title="class in org.apache.rahas.impl">SAML2TokenIssuer</a></td> -<td class="colLast"> </td> +<td class="colLast"> +<div class="block">WS-Trust based SAML2 token issuer.</div> +</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="../../../../org/apache/rahas/impl/SAMLTokenIssuer.html" title="class in org.apache.rahas.impl">SAMLTokenIssuer</a></td> Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/package-use.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/package-use.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/package-use.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/package-use.html Mon Jan 18 23:07:55 2016 @@ -78,6 +78,10 @@ <td class="colFirst"><a href="#org.apache.rahas.impl">org.apache.rahas.impl</a></td> <td class="colLast"> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><a href="#org.apache.rahas.impl.util">org.apache.rahas.impl.util</a></td> +<td class="colLast"> </td> +</tr> </tbody> </table> </li> @@ -103,6 +107,23 @@ </tr> </tbody> </table> +</li> +<li class="blockList"><a name="org.apache.rahas.impl.util"> +<!-- --> +</a> +<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> +<caption><span>Classes in <a href="../../../../org/apache/rahas/impl/package-summary.html">org.apache.rahas.impl</a> used by <a href="../../../../org/apache/rahas/impl/util/package-summary.html">org.apache.rahas.impl.util</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Class and Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colOne"><a href="../../../../org/apache/rahas/impl/class-use/SAMLTokenIssuerConfig.html#org.apache.rahas.impl.util">SAMLTokenIssuerConfig</a> +<div class="block">Configuration manager for the <code>SAMLTokenIssuer</code></div> +</td> +</tr> +</tbody> +</table> </li> </ul> </div> Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/AxiomParserPool.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/AxiomParserPool.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/AxiomParserPool.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/AxiomParserPool.html Mon Jan 18 23:07:55 2016 @@ -106,7 +106,7 @@ <br> <pre>public class <span class="strong">AxiomParserPool</span> extends org.opensaml.xml.parse.StaticBasicParserPool</pre> -<div class="block">Custom OpenSAML 1.x <code>ParserPool</code> implementation that uses a DOM aware Axiom implementation +<div class="block">Custom OpenSAML <code>ParserPool</code> implementation that uses a DOM aware Axiom implementation instead of requesting a <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/parsers/DocumentBuilderFactory.html?is-external=true" title="class or interface in javax.xml.parsers"><code>DocumentBuilderFactory</code></a> using JAXP.</div> </li> </ul> Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/CommonUtil.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/CommonUtil.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/CommonUtil.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/CommonUtil.html Mon Jan 18 23:07:55 2016 @@ -134,34 +134,58 @@ extends <a href="http://docs.oracle.com/ <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> +<td class="colFirst"><code>static org.opensaml.xml.XMLObject</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#buildXMLObject(javax.xml.namespace.QName)">buildXMLObject</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> objectQName)</code> +<div class="block">Builds the requested XMLObject.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected static <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#createTokenIssuerConfiguration(org.apache.axiom.om.OMElement)">createTokenIssuerConfiguration</a></strong>(org.apache.axiom.om.OMElement configElement)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected static <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#createTokenIssuerConfiguration(org.apache.axis2.description.Parameter)">createTokenIssuerConfiguration</a></strong>(org.apache.axis2.description.Parameter messageContextParameter)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected static <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#createTokenIssuerConfiguration(java.lang.String)">createTokenIssuerConfiguration</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> configFile)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static org.opensaml.xml.signature.KeyInfo</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#getCertificateBasedKeyInfo(java.security.cert.X509Certificate)">getCertificateBasedKeyInfo</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a> certificate)</code> +<div class="block">Creates the certificate based KeyInfo object.</div> +</td> +</tr> +<tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a></code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#getCertificateByAlias(org.apache.ws.security.components.crypto.Crypto, java.lang.String)">getCertificateByAlias</a></strong>(org.apache.ws.security.components.crypto.Crypto crypto, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> alias)</code> <div class="block">Gets the certificates chain by alias.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a>[]</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#getCertificatesByAlias(org.apache.ws.security.components.crypto.Crypto, java.lang.String)">getCertificatesByAlias</a></strong>(org.apache.ws.security.components.crypto.Crypto crypto, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> alias)</code> <div class="block">Gets the certificates chain by alias.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static org.apache.ws.security.components.crypto.Crypto</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#getCrypto(java.util.Properties, java.lang.ClassLoader)">getCrypto</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Properties.html?is-external=true" title="class or interface in java.util">Properties</a> properties, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> classLoader)</code> <div class="block">Constructs crypto configuration based on the given properties.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static org.apache.ws.security.components.crypto.Crypto</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#getCrypto(java.lang.String, java.lang.ClassLoader)">getCrypto</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> propertiesFile, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> classLoader)</code> <div class="block">Constructs crypto configuration based on the given properties.</div> </td> </tr> -<tr class="altColor"> +<tr class="rowColor"> <td class="colFirst"><code>static byte[]</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#getDecryptedBytes(javax.security.auth.callback.CallbackHandler, org.apache.ws.security.components.crypto.Crypto, org.w3c.dom.Node)">getDecryptedBytes</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/security/auth/callback/CallbackHandler.html?is-external=true" title="class or interface in javax.security.auth.callback">CallbackHandler</a> callbackHandler, org.apache.ws.security.components.crypto.Crypto crypto, @@ -169,12 +193,38 @@ extends <a href="http://docs.oracle.com/ <div class="block">Decrypts the EncryptedKey element and returns the secret that was used.</div> </td> </tr> -<tr class="rowColor"> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a></code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#getOMDOMDocument()">getOMDOMDocument</a></strong>()</code> <div class="block">This method creates a DOM compatible Axiom document.</div> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/rahas/impl/util/SAMLCallbackHandler.html" title="interface in org.apache.rahas.impl.util">SAMLCallbackHandler</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#getSAMLCallbackHandler(org.apache.rahas.impl.SAMLTokenIssuerConfig, org.apache.rahas.RahasData)">getSAMLCallbackHandler</a></strong>(<a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a> tokenIssuerConfiguration, + <a href="../../../../../org/apache/rahas/RahasData.html" title="class in org.apache.rahas">RahasData</a> data)</code> +<div class="block">Gets the SAML callback handler.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static org.opensaml.xml.signature.KeyInfo</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#getSymmetricKeyBasedKeyInfo(org.w3c.dom.Document, org.apache.rahas.RahasData, java.security.cert.X509Certificate, int, org.apache.ws.security.components.crypto.Crypto, int)">getSymmetricKeyBasedKeyInfo</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc, + <a href="../../../../../org/apache/rahas/RahasData.html" title="class in org.apache.rahas">RahasData</a> data, + <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a> serviceCert, + int keySize, + org.apache.ws.security.components.crypto.Crypto crypto, + int keyComputation)</code> +<div class="block">This method creates KeyInfo element of an assertion.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a></code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/CommonUtil.html#getTokenIssuerConfiguration(org.apache.axiom.om.OMElement, java.lang.String, org.apache.axis2.description.Parameter)">getTokenIssuerConfiguration</a></strong>(org.apache.axiom.om.OMElement configElement, + <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> configFile, + org.apache.axis2.description.Parameter messageContextParameter)</code> +<div class="block">Creates the token issuer configuration.</div> +</td> +</tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> @@ -299,7 +349,7 @@ extends <a href="http://docs.oracle.com/ <a name="getCrypto(java.lang.String, java.lang.ClassLoader)"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>getCrypto</h4> <pre>public static org.apache.ws.security.components.crypto.Crypto getCrypto(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> propertiesFile, @@ -313,6 +363,160 @@ extends <a href="http://docs.oracle.com/ <dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If an error occurred while creating the Crypto object.</dd></dl> </li> </ul> +<a name="getTokenIssuerConfiguration(org.apache.axiom.om.OMElement, java.lang.String, org.apache.axis2.description.Parameter)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTokenIssuerConfiguration</h4> +<pre>public static <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a> getTokenIssuerConfiguration(org.apache.axiom.om.OMElement configElement, + <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> configFile, + org.apache.axis2.description.Parameter messageContextParameter) + throws <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> +<div class="block">Creates the token issuer configuration. The configuration is created in following order, + 1. Try create token configuration using configuration OMElement + 2. Try create token configuration using a configuration file name + 3. Try create token configuration using a parameter name in message context. + The issuer configuration would look like as follows, + + <saml-issuer-config> + <issuerName>Test_STS</issuerName> + <issuerKeyAlias>ip</issuerKeyAlias> + <issuerKeyPassword>password</issuerKeyPassword> + <cryptoProperties> + <crypto provider="org.apache.ws.security.components.crypto.Merlin"> + <property name="org.apache.ws.security.crypto.merlin.keystore.type">JKS</property> + <property name="org.apache.ws.security.crypto.merlin.file">META-INF/rahas-sts.jks</property> + <property name="org.apache.ws.security.crypto.merlin.keystore.password">password</property> + </crypto> + </cryptoProperties> + <timeToLive>300000</timeToLive> + <keySize>256</keySize> + <addRequestedAttachedRef /> + <addRequestedUnattachedRef /> + <keyComputation>2</keyComputation> + <proofKeyType>BinarySecret</proofKeyType> + <trusted-services> + <service alias="bob">http://localhost:8080/axis2/services/STS</service> + </trusted-services> + </saml-issuer-config></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>configElement</code> - Configuration as an OMElement.</dd><dd><code>configFile</code> - Configuration as a file.</dd><dd><code>messageContextParameter</code> - Configuration as a message context parameter.</dd> +<dt><span class="strong">Returns:</span></dt><dd>Token issuer configuration as a SAMLTokenIssuerConfig object.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If an error occurred while creating SAMLTokenIssuerConfig object.</dd></dl> +</li> +</ul> +<a name="createTokenIssuerConfiguration(org.apache.axiom.om.OMElement)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createTokenIssuerConfiguration</h4> +<pre>protected static <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a> createTokenIssuerConfiguration(org.apache.axiom.om.OMElement configElement) + throws <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl> +</li> +</ul> +<a name="createTokenIssuerConfiguration(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createTokenIssuerConfiguration</h4> +<pre>protected static <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a> createTokenIssuerConfiguration(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> configFile) + throws <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl> +</li> +</ul> +<a name="createTokenIssuerConfiguration(org.apache.axis2.description.Parameter)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createTokenIssuerConfiguration</h4> +<pre>protected static <a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a> createTokenIssuerConfiguration(org.apache.axis2.description.Parameter messageContextParameter) + throws <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl> +</li> +</ul> +<a name="buildXMLObject(javax.xml.namespace.QName)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>buildXMLObject</h4> +<pre>public static org.opensaml.xml.XMLObject buildXMLObject(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> objectQName) + throws <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> +<div class="block">Builds the requested XMLObject.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>objectQName</code> - name of the XMLObject</dd> +<dt><span class="strong">Returns:</span></dt><dd>the build XMLObject</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If unable to find the appropriate builder.</dd></dl> +</li> +</ul> +<a name="getSymmetricKeyBasedKeyInfo(org.w3c.dom.Document, org.apache.rahas.RahasData, java.security.cert.X509Certificate, int, org.apache.ws.security.components.crypto.Crypto, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSymmetricKeyBasedKeyInfo</h4> +<pre>public static org.opensaml.xml.signature.KeyInfo getSymmetricKeyBasedKeyInfo(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc, + <a href="../../../../../org/apache/rahas/RahasData.html" title="class in org.apache.rahas">RahasData</a> data, + <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a> serviceCert, + int keySize, + org.apache.ws.security.components.crypto.Crypto crypto, + int keyComputation) + throws org.apache.ws.security.WSSecurityException, + <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> +<div class="block">This method creates KeyInfo element of an assertion. This is a facade, in which it calls + to other helper methods to create KeyInfo. The TokenIssuer will call this method to + create the KeyInfo.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>doc</code> - An Axiom based DOM Document.</dd><dd><code>data</code> - The ephemeral key which we use here need in encrypting the message also. Therefore + we need to save the ephemeral key in RahasData passed here.</dd><dd><code>serviceCert</code> - Public key used to encrypt the assertion is extracted from this certificate.</dd><dd><code>keySize</code> - Size of the key to be used</dd><dd><code>crypto</code> - The relevant private key</dd><dd><code>keyComputation</code> - Key computation mechanism.</dd> +<dt><span class="strong">Returns:</span></dt><dd>OpenSAML KeyInfo representation.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>org.apache.ws.security.WSSecurityException</code> - We use WSS4J to generate encrypted key. This exception will trigger if an + error occurs while generating the encrypted key.</dd> +<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If an error occurred while creating KeyInfo object.</dd></dl> +</li> +</ul> +<a name="getCertificateBasedKeyInfo(java.security.cert.X509Certificate)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCertificateBasedKeyInfo</h4> +<pre>public static org.opensaml.xml.signature.KeyInfo getCertificateBasedKeyInfo(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a> certificate) + throws <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> +<div class="block">Creates the certificate based KeyInfo object.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>certificate</code> - The public key certificate used to create the KeyInfo object.</dd> +<dt><span class="strong">Returns:</span></dt><dd>OpenSAML representation of KeyInfo object.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If an error occurred while creating the KeyInfo</dd></dl> +</li> +</ul> +<a name="getSAMLCallbackHandler(org.apache.rahas.impl.SAMLTokenIssuerConfig, org.apache.rahas.RahasData)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getSAMLCallbackHandler</h4> +<pre>public static <a href="../../../../../org/apache/rahas/impl/util/SAMLCallbackHandler.html" title="interface in org.apache.rahas.impl.util">SAMLCallbackHandler</a> getSAMLCallbackHandler(<a href="../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a> tokenIssuerConfiguration, + <a href="../../../../../org/apache/rahas/RahasData.html" title="class in org.apache.rahas">RahasData</a> data) + throws <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> +<div class="block">Gets the SAML callback handler. First checks whether there is a registered callback handler in token + issuer configuration. If not this will check whether there is a callback class configured in token issuer + configuration. If class name is specified this method will create an object of the class and will return. + If class name is also not specified this method will return null.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tokenIssuerConfiguration</code> - The SAML token issuer configuration.</dd><dd><code>data</code> - The RahasData.</dd> +<dt><span class="strong">Returns:</span></dt><dd>The SAMLCallbackHandler if configured in token issuer configuration, else null.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If an error occurred while loading class from class loader</dd></dl> +</li> +</ul> </li> </ul> </li> Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/SAML2Utils.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/SAML2Utils.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/SAML2Utils.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/SAML2Utils.html Mon Jan 18 23:07:55 2016 @@ -133,6 +133,26 @@ extends <a href="http://docs.oracle.com/ <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> +<td class="colFirst"><code>static org.opensaml.saml2.core.Assertion</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/SAML2Utils.html#createAssertion()">createAssertion</a></strong>()</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static org.opensaml.saml2.core.Conditions</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/SAML2Utils.html#createConditions(org.joda.time.DateTime, org.joda.time.DateTime)">createConditions</a></strong>(org.joda.time.DateTime creationTime, + org.joda.time.DateTime expirationTime)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static org.opensaml.saml2.core.Issuer</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/SAML2Utils.html#createIssuer(java.lang.String)">createIssuer</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> issuerName)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static org.opensaml.saml2.core.NameID</code></td> +<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/SAML2Utils.html#createNamedIdentifier(java.lang.String, java.lang.String)">createNamedIdentifier</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> principalName, + <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> format)</code> +<div class="block">Create named identifier.</div> +</td> +</tr> +<tr class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a></code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/SAML2Utils.html#getElementFromAssertion(org.opensaml.xml.XMLObject)">getElementFromAssertion</a></strong>(org.opensaml.xml.XMLObject xmlObj)</code> </td> </tr> @@ -216,14 +236,12 @@ extends <a href="http://docs.oracle.com/ <pre>public static <a href="../../../../../org/apache/rahas/impl/util/SAML2KeyInfo.html" title="class in org.apache.rahas.impl.util">SAML2KeyInfo</a> getSAML2KeyInfo(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true" title="class or interface in org.w3c.dom">Element</a> elem, org.apache.ws.security.components.crypto.Crypto crypto, <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/security/auth/callback/CallbackHandler.html?is-external=true" title="class or interface in javax.security.auth.callback">CallbackHandler</a> cb) - throws org.apache.ws.security.WSSecurityException, - <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> + throws org.apache.ws.security.WSSecurityException</pre> <div class="block">Extract certificates or the key available in the SAMLAssertion</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>elem</code> - </dd> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>elem</code> - The element to process.</dd><dd><code>crypto</code> - The crypto properties.</dd><dd><code>cb</code> - Callback class to get the Key</dd> <dt><span class="strong">Returns:</span></dt><dd>the SAML2 Key Info</dd> <dt><span class="strong">Throws:</span></dt> -<dd><code>org.apache.ws.security.WSSecurityException</code></dd> -<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl> +<dd><code>org.apache.ws.security.WSSecurityException</code> - If an error occurred while extracting KeyInfo.</dd></dl> </li> </ul> <a name="getSAML2KeyInfo(org.opensaml.saml2.core.Assertion, org.apache.ws.security.components.crypto.Crypto, javax.security.auth.callback.CallbackHandler)"> @@ -243,7 +261,7 @@ extends <a href="http://docs.oracle.com/ <a name="getSAML2SubjectConfirmationMethod(org.opensaml.saml2.core.Assertion)"> <!-- --> </a> -<ul class="blockListLast"> +<ul class="blockList"> <li class="blockList"> <h4>getSAML2SubjectConfirmationMethod</h4> <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getSAML2SubjectConfirmationMethod(org.opensaml.saml2.core.Assertion assertion)</pre> @@ -252,6 +270,59 @@ extends <a href="http://docs.oracle.com/ <dt><span class="strong">Returns:</span></dt><dd>Subject Confirmation method</dd></dl> </li> </ul> +<a name="createAssertion()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createAssertion</h4> +<pre>public static org.opensaml.saml2.core.Assertion createAssertion() + throws <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl> +</li> +</ul> +<a name="createIssuer(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createIssuer</h4> +<pre>public static org.opensaml.saml2.core.Issuer createIssuer(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> issuerName) + throws <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl> +</li> +</ul> +<a name="createConditions(org.joda.time.DateTime, org.joda.time.DateTime)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>createConditions</h4> +<pre>public static org.opensaml.saml2.core.Conditions createConditions(org.joda.time.DateTime creationTime, + org.joda.time.DateTime expirationTime) + throws <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> +<dl><dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code></dd></dl> +</li> +</ul> +<a name="createNamedIdentifier(java.lang.String, java.lang.String)"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>createNamedIdentifier</h4> +<pre>public static org.opensaml.saml2.core.NameID createNamedIdentifier(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> principalName, + <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> format) + throws <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> +<div class="block">Create named identifier.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>principalName</code> - Name of the subject.</dd><dd><code>format</code> - Format of the subject, whether it is an email, uid etc ...</dd> +<dt><span class="strong">Returns:</span></dt><dd>The NamedIdentifier object.</dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If unable to find the builder.</dd></dl> +</li> +</ul> </li> </ul> </li> Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/SAMLCallbackHandler.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/SAMLCallbackHandler.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/SAMLCallbackHandler.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/SAMLCallbackHandler.html Mon Jan 18 23:07:55 2016 @@ -142,10 +142,10 @@ <div class="block">SAMLCallback object has indicates what kind of data is required. if(callback.getCallbackType() == SAMLCallback.ATTR_CALLBACK) { - SAMLAttributeCallback attrCallback = (SAMLAttributeCallback)callback; - \//Retrieve required data from the RahasData inside SAMLAttributeCallback - \//Add your SAMLAttributes to the attrCallback here. - + SAMLAttributeCallback attrCallback = (SAMLAttributeCallback)callback; + \//Retrieve required data from the RahasData inside SAMLAttributeCallback + \//Add your SAMLAttributes to the attrCallback here. + }</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>callback</code> - </dd> <dt><span class="strong">Throws:</span></dt> Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/SAMLUtils.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/SAMLUtils.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/SAMLUtils.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/SAMLUtils.html Mon Jan 18 23:07:55 2016 @@ -141,18 +141,6 @@ extends <a href="http://docs.oracle.com/ </td> </tr> <tr class="rowColor"> -<td class="colFirst"><code>static org.opensaml.xml.XMLObject</code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/SAMLUtils.html#buildXMLObject(javax.xml.namespace.QName)">buildXMLObject</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> objectQName)</code> -<div class="block">Builds the requested XMLObject.</div> -</td> -</tr> -<tr class="altColor"> -<td class="colFirst"><code>static org.joda.time.DateTime</code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/SAMLUtils.html#convertToDateTime(java.util.Date)">convertToDateTime</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date)</code> -<div class="block">Converts java.util.Date to opensaml DateTime object.</div> -</td> -</tr> -<tr class="rowColor"> <td class="colFirst"><code>static org.opensaml.saml1.core.Assertion</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/SAMLUtils.html#createAssertion(java.lang.String, org.joda.time.DateTime, org.joda.time.DateTime, java.util.List)">createAssertion</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> issuerName, org.joda.time.DateTime notBefore, @@ -247,28 +235,11 @@ extends <a href="http://docs.oracle.com/ <td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/SAMLUtils.html#getCertChainCollection(java.security.cert.X509Certificate[])">getCertChainCollection</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a>[] issuerCerts)</code> </td> </tr> <tr class="altColor"> -<td class="colFirst"><code>static org.opensaml.xml.signature.KeyInfo</code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/SAMLUtils.html#getCertificateBasedKeyInfo(java.security.cert.X509Certificate)">getCertificateBasedKeyInfo</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a> certificate)</code> -<div class="block">Creates the certificate based KeyInfo object.</div> -</td> -</tr> -<tr class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/SAMLUtils.html#getSAML11SubjectConfirmationMethod(org.opensaml.saml1.core.Assertion)">getSAML11SubjectConfirmationMethod</a></strong>(org.opensaml.saml1.core.Assertion assertion)</code> <div class="block">Get subject confirmation method of the given SAML 1.1 Assertion.</div> </td> </tr> -<tr class="altColor"> -<td class="colFirst"><code>static org.opensaml.xml.signature.KeyInfo</code></td> -<td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/SAMLUtils.html#getSymmetricKeyBasedKeyInfo(org.w3c.dom.Document, org.apache.rahas.RahasData, java.security.cert.X509Certificate, int, org.apache.ws.security.components.crypto.Crypto, int)">getSymmetricKeyBasedKeyInfo</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc, - <a href="../../../../../org/apache/rahas/RahasData.html" title="class in org.apache.rahas">RahasData</a> data, - <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a> serviceCert, - int keySize, - org.apache.ws.security.components.crypto.Crypto crypto, - int keyComputation)</code> -<div class="block">This method creates KeyInfo element of an assertion.</div> -</td> -</tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><code><strong><a href="../../../../../org/apache/rahas/impl/util/SAMLUtils.html#signAssertion(org.opensaml.saml1.core.Assertion, org.apache.ws.security.components.crypto.Crypto, java.lang.String, java.lang.String)">signAssertion</a></strong>(org.opensaml.saml1.core.Assertion assertion, @@ -326,21 +297,6 @@ extends <a href="http://docs.oracle.com/ <pre>public static <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a>> getCertChainCollection(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a>[] issuerCerts)</pre> </li> </ul> -<a name="buildXMLObject(javax.xml.namespace.QName)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>buildXMLObject</h4> -<pre>public static org.opensaml.xml.XMLObject buildXMLObject(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</a> objectQName) - throws <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> -<div class="block">Builds the requested XMLObject.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>objectQName</code> - name of the XMLObject</dd> -<dt><span class="strong">Returns:</span></dt><dd>the build XMLObject</dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If unable to find the appropriate builder.</dd></dl> -</li> -</ul> <a name="buildAssertion(org.w3c.dom.Element)"> <!-- --> </a> @@ -690,7 +646,7 @@ extends <a href="http://docs.oracle.com/ <a name="createKeyInfo(org.opensaml.xml.signature.X509Data)"> <!-- --> </a> -<ul class="blockList"> +<ul class="blockListLast"> <li class="blockList"> <h4>createKeyInfo</h4> <pre>public static org.opensaml.xml.signature.KeyInfo createKeyInfo(org.opensaml.xml.signature.X509Data x509Data) @@ -707,59 +663,6 @@ extends <a href="http://docs.oracle.com/ <dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If unable to find the builder.</dd></dl> </li> </ul> -<a name="getCertificateBasedKeyInfo(java.security.cert.X509Certificate)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getCertificateBasedKeyInfo</h4> -<pre>public static org.opensaml.xml.signature.KeyInfo getCertificateBasedKeyInfo(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a> certificate) - throws <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> -<div class="block">Creates the certificate based KeyInfo object.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>certificate</code> - The public key certificate used to create the KeyInfo object.</dd> -<dt><span class="strong">Returns:</span></dt><dd>OpenSAML representation of KeyInfo object.</dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If an error occurred while creating the KeyInfo</dd></dl> -</li> -</ul> -<a name="getSymmetricKeyBasedKeyInfo(org.w3c.dom.Document, org.apache.rahas.RahasData, java.security.cert.X509Certificate, int, org.apache.ws.security.components.crypto.Crypto, int)"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>getSymmetricKeyBasedKeyInfo</h4> -<pre>public static org.opensaml.xml.signature.KeyInfo getSymmetricKeyBasedKeyInfo(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true" title="class or interface in org.w3c.dom">Document</a> doc, - <a href="../../../../../org/apache/rahas/RahasData.html" title="class in org.apache.rahas">RahasData</a> data, - <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/security/cert/X509Certificate.html?is-external=true" title="class or interface in java.security.cert">X509Certificate</a> serviceCert, - int keySize, - org.apache.ws.security.components.crypto.Crypto crypto, - int keyComputation) - throws org.apache.ws.security.WSSecurityException, - <a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></pre> -<div class="block">This method creates KeyInfo element of an assertion. This is a facade, in which it calls - to other helper methods to create KeyInfo. The TokenIssuer will call this method to - create the KeyInfo.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>doc</code> - An Axiom based DOM Document.</dd><dd><code>data</code> - The ephemeral key which we use here need in encrypting the message also. Therefore - we need to save the ephemeral key in RahasData passed here.</dd><dd><code>serviceCert</code> - Public key used to encrypt the assertion is extracted from this certificate.</dd><dd><code>keySize</code> - Size of the key to be used</dd><dd><code>crypto</code> - The relevant private key</dd><dd><code>keyComputation</code> - Key computation mechanism.</dd> -<dt><span class="strong">Returns:</span></dt><dd>OpenSAML KeyInfo representation.</dd> -<dt><span class="strong">Throws:</span></dt> -<dd><code>org.apache.ws.security.WSSecurityException</code> - We use WSS4J to generate encrypted key. This exception will trigger if an - error occurs while generating the encrypted key.</dd> -<dd><code><a href="../../../../../org/apache/rahas/TrustException.html" title="class in org.apache.rahas">TrustException</a></code> - If an error occurred while creating KeyInfo object.</dd></dl> -</li> -</ul> -<a name="convertToDateTime(java.util.Date)"> -<!-- --> -</a> -<ul class="blockListLast"> -<li class="blockList"> -<h4>convertToDateTime</h4> -<pre>public static org.joda.time.DateTime convertToDateTime(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date)</pre> -<div class="block">Converts java.util.Date to opensaml DateTime object.</div> -<dl><dt><span class="strong">Parameters:</span></dt><dd><code>date</code> - Java util date</dd> -<dt><span class="strong">Returns:</span></dt><dd>opensaml specific DateTime object.</dd></dl> -</li> -</ul> </li> </ul> </li> Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/class-use/SAMLCallbackHandler.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/class-use/SAMLCallbackHandler.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/class-use/SAMLCallbackHandler.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/class-use/SAMLCallbackHandler.html Mon Jan 18 23:07:55 2016 @@ -78,6 +78,10 @@ <td class="colFirst"><a href="#org.apache.rahas.impl">org.apache.rahas.impl</a></td> <td class="colLast"> </td> </tr> +<tr class="rowColor"> +<td class="colFirst"><a href="#org.apache.rahas.impl.util">org.apache.rahas.impl.util</a></td> +<td class="colLast"> </td> +</tr> </tbody> </table> </li> @@ -138,6 +142,27 @@ </tr> </tbody> </table> +</li> +<li class="blockList"><a name="org.apache.rahas.impl.util"> +<!-- --> +</a> +<h3>Uses of <a href="../../../../../../org/apache/rahas/impl/util/SAMLCallbackHandler.html" title="interface in org.apache.rahas.impl.util">SAMLCallbackHandler</a> in <a href="../../../../../../org/apache/rahas/impl/util/package-summary.html">org.apache.rahas.impl.util</a></h3> +<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> +<caption><span>Methods in <a href="../../../../../../org/apache/rahas/impl/util/package-summary.html">org.apache.rahas.impl.util</a> that return <a href="../../../../../../org/apache/rahas/impl/util/SAMLCallbackHandler.html" title="interface in org.apache.rahas.impl.util">SAMLCallbackHandler</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../../../../org/apache/rahas/impl/util/SAMLCallbackHandler.html" title="interface in org.apache.rahas.impl.util">SAMLCallbackHandler</a></code></td> +<td class="colLast"><span class="strong">CommonUtil.</span><code><strong><a href="../../../../../../org/apache/rahas/impl/util/CommonUtil.html#getSAMLCallbackHandler(org.apache.rahas.impl.SAMLTokenIssuerConfig, org.apache.rahas.RahasData)">getSAMLCallbackHandler</a></strong>(<a href="../../../../../../org/apache/rahas/impl/SAMLTokenIssuerConfig.html" title="class in org.apache.rahas.impl">SAMLTokenIssuerConfig</a> tokenIssuerConfiguration, + <a href="../../../../../../org/apache/rahas/RahasData.html" title="class in org.apache.rahas">RahasData</a> data)</code> +<div class="block">Gets the SAML callback handler.</div> +</td> +</tr> +</tbody> +</table> </li> </ul> </li> Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/class-use/SignKeyHolder.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/class-use/SignKeyHolder.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/class-use/SignKeyHolder.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/class-use/SignKeyHolder.html Mon Jan 18 23:07:55 2016 @@ -64,50 +64,7 @@ <div class="header"> <h2 title="Uses of Class org.apache.rahas.impl.util.SignKeyHolder" class="title">Uses of Class<br>org.apache.rahas.impl.util.SignKeyHolder</h2> </div> -<div class="classUseContainer"> -<ul class="blockList"> -<li class="blockList"> -<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> -<caption><span>Packages that use <a href="../../../../../../org/apache/rahas/impl/util/SignKeyHolder.html" title="class in org.apache.rahas.impl.util">SignKeyHolder</a></span><span class="tabEnd"> </span></caption> -<tr> -<th class="colFirst" scope="col">Package</th> -<th class="colLast" scope="col">Description</th> -</tr> -<tbody> -<tr class="altColor"> -<td class="colFirst"><a href="#org.apache.rahas.impl">org.apache.rahas.impl</a></td> -<td class="colLast"> </td> -</tr> -</tbody> -</table> -</li> -<li class="blockList"> -<ul class="blockList"> -<li class="blockList"><a name="org.apache.rahas.impl"> -<!-- --> -</a> -<h3>Uses of <a href="../../../../../../org/apache/rahas/impl/util/SignKeyHolder.html" title="class in org.apache.rahas.impl.util">SignKeyHolder</a> in <a href="../../../../../../org/apache/rahas/impl/package-summary.html">org.apache.rahas.impl</a></h3> -<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> -<caption><span>Methods in <a href="../../../../../../org/apache/rahas/impl/package-summary.html">org.apache.rahas.impl</a> with parameters of type <a href="../../../../../../org/apache/rahas/impl/util/SignKeyHolder.html" title="class in org.apache.rahas.impl.util">SignKeyHolder</a></span><span class="tabEnd"> </span></caption> -<tr> -<th class="colFirst" scope="col">Modifier and Type</th> -<th class="colLast" scope="col">Method and Description</th> -</tr> -<tbody> -<tr class="altColor"> -<td class="colFirst"><code>org.opensaml.saml2.core.Assertion</code></td> -<td class="colLast"><span class="strong">SAML2TokenIssuer.</span><code><strong><a href="../../../../../../org/apache/rahas/impl/SAML2TokenIssuer.html#setSignature(org.opensaml.saml2.core.Assertion, org.apache.rahas.impl.util.SignKeyHolder)">setSignature</a></strong>(org.opensaml.saml2.core.Assertion assertion, - <a href="../../../../../../org/apache/rahas/impl/util/SignKeyHolder.html" title="class in org.apache.rahas.impl.util">SignKeyHolder</a> cred)</code> -<div class="block">This method is used to sign the assertion</div> -</td> -</tr> -</tbody> -</table> -</li> -</ul> -</li> -</ul> -</div> +<div class="classUseContainer">No usage of org.apache.rahas.impl.util.SignKeyHolder</div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> Modified: axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/package-summary.html URL: http://svn.apache.org/viewvc/axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/package-summary.html?rev=1725383&r1=1725382&r2=1725383&view=diff ============================================================================== --- axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/package-summary.html (original) +++ axis/site/axis2/java/rampart-staging/apidocs/org/apache/rahas/impl/util/package-summary.html Mon Jan 18 23:07:55 2016 @@ -101,7 +101,7 @@ <tr class="altColor"> <td class="colFirst"><a href="../../../../../org/apache/rahas/impl/util/AxiomParserPool.html" title="class in org.apache.rahas.impl.util">AxiomParserPool</a></td> <td class="colLast"> -<div class="block">Custom OpenSAML 1.x <code>ParserPool</code> implementation that uses a DOM aware Axiom implementation +<div class="block">Custom OpenSAML <code>ParserPool</code> implementation that uses a DOM aware Axiom implementation instead of requesting a <a href="http://docs.oracle.com/javase/1.5.0/docs/api/javax/xml/parsers/DocumentBuilderFactory.html?is-external=true" title="class or interface in javax.xml.parsers"><code>DocumentBuilderFactory</code></a> using JAXP.</div> </td> </tr>
