Modified: webservices/wss4j/site/xref/org/apache/ws/security/handler/WSHandler.html URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/handler/WSHandler.html?rev=1059959&r1=1059958&r2=1059959&view=diff ============================================================================== --- webservices/wss4j/site/xref/org/apache/ws/security/handler/WSHandler.html (original) +++ webservices/wss4j/site/xref/org/apache/ws/security/handler/WSHandler.html Mon Jan 17 15:49:15 2011 @@ -1418,103 +1418,109 @@ <a name="1408" href="#1408">1408</a> <a name="1409" href="#1409">1409</a> <em class="jxr_comment">// Calculate the time that is allowed for the message to travel</em> <a name="1410" href="#1410">1410</a> Calendar validCreation = Calendar.getInstance(); -<a name="1411" href="#1411">1411</a> <strong class="jxr_keyword">long</strong> currentTime = validCreation.getTime().getTime(); -<a name="1412" href="#1412">1412</a> currentTime -= timeToLive * 1000; -<a name="1413" href="#1413">1413</a> validCreation.setTime(<strong class="jxr_keyword">new</strong> Date(currentTime)); -<a name="1414" href="#1414">1414</a> -<a name="1415" href="#1415">1415</a> <strong class="jxr_keyword">if</strong> (doDebug) { -<a name="1416" href="#1416">1416</a> log.debug(<span class="jxr_string">"Preparing to verify the timestamp"</span>); -<a name="1417" href="#1417">1417</a> DateFormat zulu = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/util/XmlSchemaDateFormat.html">XmlSchemaDateFormat</a>(); -<a name="1418" href="#1418">1418</a> log.debug(<span class="jxr_string">"Validation of Timestamp: Current time is "</span> -<a name="1419" href="#1419">1419</a> + zulu.format(Calendar.getInstance().getTime())); -<a name="1420" href="#1420">1420</a> log.debug(<span class="jxr_string">"Validation of Timestamp: Valid creation is "</span> -<a name="1421" href="#1421">1421</a> + zulu.format(validCreation.getTime())); -<a name="1422" href="#1422">1422</a> <strong class="jxr_keyword">if</strong> (timestamp.getCreated() != <strong class="jxr_keyword">null</strong>) { -<a name="1423" href="#1423">1423</a> log.debug(<span class="jxr_string">"Validation of Timestamp: Timestamp created is "</span> -<a name="1424" href="#1424">1424</a> + zulu.format(timestamp.getCreated().getTime())); -<a name="1425" href="#1425">1425</a> } -<a name="1426" href="#1426">1426</a> } -<a name="1427" href="#1427">1427</a> <em class="jxr_comment">// Validate the time it took the message to travel</em> -<a name="1428" href="#1428">1428</a> <em class="jxr_comment">// if (timestamp.getCreated().before(validCreation) ||</em> -<a name="1429" href="#1429">1429</a> <em class="jxr_comment">// !timestamp.getCreated().equals(validCreation)) {</em> -<a name="1430" href="#1430">1430</a> Calendar cre = timestamp.getCreated(); -<a name="1431" href="#1431">1431</a> <strong class="jxr_keyword">if</strong> (cre != <strong class="jxr_keyword">null</strong> && !cre.after(validCreation)) { -<a name="1432" href="#1432">1432</a> <strong class="jxr_keyword">if</strong> (doDebug) { -<a name="1433" href="#1433">1433</a> log.debug(<span class="jxr_string">"Validation of Timestamp: The message was created too long ago"</span>); -<a name="1434" href="#1434">1434</a> } -<a name="1435" href="#1435">1435</a> <strong class="jxr_keyword">return</strong> false; -<a name="1436" href="#1436">1436</a> } -<a name="1437" href="#1437">1437</a> -<a name="1438" href="#1438">1438</a> <strong class="jxr_keyword">if</strong> (doDebug) { -<a name="1439" href="#1439">1439</a> log.debug(<span class="jxr_string">"Validation of Timestamp: Everything is ok"</span>); -<a name="1440" href="#1440">1440</a> } -<a name="1441" href="#1441">1441</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>; -<a name="1442" href="#1442">1442</a> } +<a name="1411" href="#1411">1411</a> Calendar cre = timestamp.getCreated(); +<a name="1412" href="#1412">1412</a> <strong class="jxr_keyword">if</strong> (cre != <strong class="jxr_keyword">null</strong> && cre.after(validCreation)) { +<a name="1413" href="#1413">1413</a> <strong class="jxr_keyword">if</strong> (doDebug) { +<a name="1414" href="#1414">1414</a> log.debug(<span class="jxr_string">"Validation of Timestamp: The message was created in the future!"</span>); +<a name="1415" href="#1415">1415</a> } +<a name="1416" href="#1416">1416</a> <strong class="jxr_keyword">return</strong> false; +<a name="1417" href="#1417">1417</a> } +<a name="1418" href="#1418">1418</a> <strong class="jxr_keyword">long</strong> currentTime = validCreation.getTime().getTime(); +<a name="1419" href="#1419">1419</a> currentTime -= timeToLive * 1000; +<a name="1420" href="#1420">1420</a> validCreation.setTime(<strong class="jxr_keyword">new</strong> Date(currentTime)); +<a name="1421" href="#1421">1421</a> +<a name="1422" href="#1422">1422</a> <strong class="jxr_keyword">if</strong> (doDebug) { +<a name="1423" href="#1423">1423</a> log.debug(<span class="jxr_string">"Preparing to verify the timestamp"</span>); +<a name="1424" href="#1424">1424</a> DateFormat zulu = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/ws/security/util/XmlSchemaDateFormat.html">XmlSchemaDateFormat</a>(); +<a name="1425" href="#1425">1425</a> log.debug(<span class="jxr_string">"Validation of Timestamp: Current time is "</span> +<a name="1426" href="#1426">1426</a> + zulu.format(Calendar.getInstance().getTime())); +<a name="1427" href="#1427">1427</a> log.debug(<span class="jxr_string">"Validation of Timestamp: Valid creation is "</span> +<a name="1428" href="#1428">1428</a> + zulu.format(validCreation.getTime())); +<a name="1429" href="#1429">1429</a> <strong class="jxr_keyword">if</strong> (timestamp.getCreated() != <strong class="jxr_keyword">null</strong>) { +<a name="1430" href="#1430">1430</a> log.debug(<span class="jxr_string">"Validation of Timestamp: Timestamp created is "</span> +<a name="1431" href="#1431">1431</a> + zulu.format(timestamp.getCreated().getTime())); +<a name="1432" href="#1432">1432</a> } +<a name="1433" href="#1433">1433</a> } +<a name="1434" href="#1434">1434</a> <em class="jxr_comment">// Validate the time it took the message to travel</em> +<a name="1435" href="#1435">1435</a> <em class="jxr_comment">// if (timestamp.getCreated().before(validCreation) ||</em> +<a name="1436" href="#1436">1436</a> <em class="jxr_comment">// !timestamp.getCreated().equals(validCreation)) {</em> +<a name="1437" href="#1437">1437</a> <strong class="jxr_keyword">if</strong> (cre != <strong class="jxr_keyword">null</strong> && !cre.after(validCreation)) { +<a name="1438" href="#1438">1438</a> <strong class="jxr_keyword">if</strong> (doDebug) { +<a name="1439" href="#1439">1439</a> log.debug(<span class="jxr_string">"Validation of Timestamp: The message was created too long ago"</span>); +<a name="1440" href="#1440">1440</a> } +<a name="1441" href="#1441">1441</a> <strong class="jxr_keyword">return</strong> false; +<a name="1442" href="#1442">1442</a> } <a name="1443" href="#1443">1443</a> -<a name="1444" href="#1444">1444</a> <em class="jxr_javadoccomment">/**</em> -<a name="1445" href="#1445">1445</a> <em class="jxr_javadoccomment"> * Looks up key first via {@link #getOption(String)} and if not found</em> -<a name="1446" href="#1446">1446</a> <em class="jxr_javadoccomment"> * there, via {@link #getProperty(Object, String)}</em> -<a name="1447" href="#1447">1447</a> <em class="jxr_javadoccomment"> *</em> -<a name="1448" href="#1448">1448</a> <em class="jxr_javadoccomment"> * @param key the key to search for. May not be null.</em> -<a name="1449" href="#1449">1449</a> <em class="jxr_javadoccomment"> * @param mc the message context to search. </em> -<a name="1450" href="#1450">1450</a> <em class="jxr_javadoccomment"> * @return the value found.</em> -<a name="1451" href="#1451">1451</a> <em class="jxr_javadoccomment"> * @throws IllegalArgumentException if <code>key</code> is null.</em> -<a name="1452" href="#1452">1452</a> <em class="jxr_javadoccomment"> */</em> -<a name="1453" href="#1453">1453</a> <strong class="jxr_keyword">public</strong> String getString(String key, Object mc) { -<a name="1454" href="#1454">1454</a> <strong class="jxr_keyword">if</strong> (key == <strong class="jxr_keyword">null</strong>) { -<a name="1455" href="#1455">1455</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Key cannot be null"</span>); -<a name="1456" href="#1456">1456</a> } -<a name="1457" href="#1457">1457</a> String s = getStringOption(key); -<a name="1458" href="#1458">1458</a> <strong class="jxr_keyword">if</strong> (s != <strong class="jxr_keyword">null</strong>) { -<a name="1459" href="#1459">1459</a> <strong class="jxr_keyword">return</strong> s; -<a name="1460" href="#1460">1460</a> } -<a name="1461" href="#1461">1461</a> <strong class="jxr_keyword">if</strong> (mc == <strong class="jxr_keyword">null</strong>) { -<a name="1462" href="#1462">1462</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Message context cannot be null"</span>); -<a name="1463" href="#1463">1463</a> } -<a name="1464" href="#1464">1464</a> <strong class="jxr_keyword">return</strong> (String) getProperty(mc, key); -<a name="1465" href="#1465">1465</a> } -<a name="1466" href="#1466">1466</a> -<a name="1467" href="#1467">1467</a> -<a name="1468" href="#1468">1468</a> <em class="jxr_javadoccomment">/**</em> -<a name="1469" href="#1469">1469</a> <em class="jxr_javadoccomment"> * Returns the option on <code>name</code>.</em> -<a name="1470" href="#1470">1470</a> <em class="jxr_javadoccomment"> *</em> -<a name="1471" href="#1471">1471</a> <em class="jxr_javadoccomment"> * @param key the non-null key of the option.</em> -<a name="1472" href="#1472">1472</a> <em class="jxr_javadoccomment"> * @return the option on <code>key</code> if <code>key</code></em> -<a name="1473" href="#1473">1473</a> <em class="jxr_javadoccomment"> * exists and is of type java.lang.String; otherwise null.</em> -<a name="1474" href="#1474">1474</a> <em class="jxr_javadoccomment"> */</em> -<a name="1475" href="#1475">1475</a> <strong class="jxr_keyword">public</strong> String getStringOption(String key) { -<a name="1476" href="#1476">1476</a> Object o = getOption(key); -<a name="1477" href="#1477">1477</a> <strong class="jxr_keyword">if</strong> (o instanceof String){ -<a name="1478" href="#1478">1478</a> <strong class="jxr_keyword">return</strong> (String) o; -<a name="1479" href="#1479">1479</a> } <strong class="jxr_keyword">else</strong> { -<a name="1480" href="#1480">1480</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>; -<a name="1481" href="#1481">1481</a> } -<a name="1482" href="#1482">1482</a> } -<a name="1483" href="#1483">1483</a> -<a name="1484" href="#1484">1484</a> <em class="jxr_javadoccomment">/**</em> -<a name="1485" href="#1485">1485</a> <em class="jxr_javadoccomment"> * Returns the classloader to be used for loading the callback class</em> -<a name="1486" href="#1486">1486</a> <em class="jxr_javadoccomment"> * @param msgCtx The MessageContext </em> -<a name="1487" href="#1487">1487</a> <em class="jxr_javadoccomment"> * @return class loader</em> -<a name="1488" href="#1488">1488</a> <em class="jxr_javadoccomment"> */</em> -<a name="1489" href="#1489">1489</a> <strong class="jxr_keyword">public</strong> ClassLoader getClassLoader(Object msgCtx) { -<a name="1490" href="#1490">1490</a> <strong class="jxr_keyword">try</strong> { -<a name="1491" href="#1491">1491</a> <strong class="jxr_keyword">return</strong> Loader.getTCL(); -<a name="1492" href="#1492">1492</a> } <strong class="jxr_keyword">catch</strong> (Throwable t) { -<a name="1493" href="#1493">1493</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>; -<a name="1494" href="#1494">1494</a> } -<a name="1495" href="#1495">1495</a> } -<a name="1496" href="#1496">1496</a> -<a name="1497" href="#1497">1497</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> Object getOption(String key); -<a name="1498" href="#1498">1498</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> Object getProperty(Object msgContext, String key); -<a name="1499" href="#1499">1499</a> -<a name="1500" href="#1500">1500</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong> setProperty(Object msgContext, String key, -<a name="1501" href="#1501">1501</a> Object value); +<a name="1444" href="#1444">1444</a> <strong class="jxr_keyword">if</strong> (doDebug) { +<a name="1445" href="#1445">1445</a> log.debug(<span class="jxr_string">"Validation of Timestamp: Everything is ok"</span>); +<a name="1446" href="#1446">1446</a> } +<a name="1447" href="#1447">1447</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>; +<a name="1448" href="#1448">1448</a> } +<a name="1449" href="#1449">1449</a> +<a name="1450" href="#1450">1450</a> <em class="jxr_javadoccomment">/**</em> +<a name="1451" href="#1451">1451</a> <em class="jxr_javadoccomment"> * Looks up key first via {@link #getOption(String)} and if not found</em> +<a name="1452" href="#1452">1452</a> <em class="jxr_javadoccomment"> * there, via {@link #getProperty(Object, String)}</em> +<a name="1453" href="#1453">1453</a> <em class="jxr_javadoccomment"> *</em> +<a name="1454" href="#1454">1454</a> <em class="jxr_javadoccomment"> * @param key the key to search for. May not be null.</em> +<a name="1455" href="#1455">1455</a> <em class="jxr_javadoccomment"> * @param mc the message context to search. </em> +<a name="1456" href="#1456">1456</a> <em class="jxr_javadoccomment"> * @return the value found.</em> +<a name="1457" href="#1457">1457</a> <em class="jxr_javadoccomment"> * @throws IllegalArgumentException if <code>key</code> is null.</em> +<a name="1458" href="#1458">1458</a> <em class="jxr_javadoccomment"> */</em> +<a name="1459" href="#1459">1459</a> <strong class="jxr_keyword">public</strong> String getString(String key, Object mc) { +<a name="1460" href="#1460">1460</a> <strong class="jxr_keyword">if</strong> (key == <strong class="jxr_keyword">null</strong>) { +<a name="1461" href="#1461">1461</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Key cannot be null"</span>); +<a name="1462" href="#1462">1462</a> } +<a name="1463" href="#1463">1463</a> String s = getStringOption(key); +<a name="1464" href="#1464">1464</a> <strong class="jxr_keyword">if</strong> (s != <strong class="jxr_keyword">null</strong>) { +<a name="1465" href="#1465">1465</a> <strong class="jxr_keyword">return</strong> s; +<a name="1466" href="#1466">1466</a> } +<a name="1467" href="#1467">1467</a> <strong class="jxr_keyword">if</strong> (mc == <strong class="jxr_keyword">null</strong>) { +<a name="1468" href="#1468">1468</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"Message context cannot be null"</span>); +<a name="1469" href="#1469">1469</a> } +<a name="1470" href="#1470">1470</a> <strong class="jxr_keyword">return</strong> (String) getProperty(mc, key); +<a name="1471" href="#1471">1471</a> } +<a name="1472" href="#1472">1472</a> +<a name="1473" href="#1473">1473</a> +<a name="1474" href="#1474">1474</a> <em class="jxr_javadoccomment">/**</em> +<a name="1475" href="#1475">1475</a> <em class="jxr_javadoccomment"> * Returns the option on <code>name</code>.</em> +<a name="1476" href="#1476">1476</a> <em class="jxr_javadoccomment"> *</em> +<a name="1477" href="#1477">1477</a> <em class="jxr_javadoccomment"> * @param key the non-null key of the option.</em> +<a name="1478" href="#1478">1478</a> <em class="jxr_javadoccomment"> * @return the option on <code>key</code> if <code>key</code></em> +<a name="1479" href="#1479">1479</a> <em class="jxr_javadoccomment"> * exists and is of type java.lang.String; otherwise null.</em> +<a name="1480" href="#1480">1480</a> <em class="jxr_javadoccomment"> */</em> +<a name="1481" href="#1481">1481</a> <strong class="jxr_keyword">public</strong> String getStringOption(String key) { +<a name="1482" href="#1482">1482</a> Object o = getOption(key); +<a name="1483" href="#1483">1483</a> <strong class="jxr_keyword">if</strong> (o instanceof String){ +<a name="1484" href="#1484">1484</a> <strong class="jxr_keyword">return</strong> (String) o; +<a name="1485" href="#1485">1485</a> } <strong class="jxr_keyword">else</strong> { +<a name="1486" href="#1486">1486</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>; +<a name="1487" href="#1487">1487</a> } +<a name="1488" href="#1488">1488</a> } +<a name="1489" href="#1489">1489</a> +<a name="1490" href="#1490">1490</a> <em class="jxr_javadoccomment">/**</em> +<a name="1491" href="#1491">1491</a> <em class="jxr_javadoccomment"> * Returns the classloader to be used for loading the callback class</em> +<a name="1492" href="#1492">1492</a> <em class="jxr_javadoccomment"> * @param msgCtx The MessageContext </em> +<a name="1493" href="#1493">1493</a> <em class="jxr_javadoccomment"> * @return class loader</em> +<a name="1494" href="#1494">1494</a> <em class="jxr_javadoccomment"> */</em> +<a name="1495" href="#1495">1495</a> <strong class="jxr_keyword">public</strong> ClassLoader getClassLoader(Object msgCtx) { +<a name="1496" href="#1496">1496</a> <strong class="jxr_keyword">try</strong> { +<a name="1497" href="#1497">1497</a> <strong class="jxr_keyword">return</strong> Loader.getTCL(); +<a name="1498" href="#1498">1498</a> } <strong class="jxr_keyword">catch</strong> (Throwable t) { +<a name="1499" href="#1499">1499</a> <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>; +<a name="1500" href="#1500">1500</a> } +<a name="1501" href="#1501">1501</a> } <a name="1502" href="#1502">1502</a> -<a name="1503" href="#1503">1503</a> -<a name="1504" href="#1504">1504</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> String getPassword(Object msgContext); +<a name="1503" href="#1503">1503</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> Object getOption(String key); +<a name="1504" href="#1504">1504</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> Object getProperty(Object msgContext, String key); <a name="1505" href="#1505">1505</a> -<a name="1506" href="#1506">1506</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong> setPassword(Object msgContext, String password); -<a name="1507" href="#1507">1507</a> } +<a name="1506" href="#1506">1506</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong> setProperty(Object msgContext, String key, +<a name="1507" href="#1507">1507</a> Object value); +<a name="1508" href="#1508">1508</a> +<a name="1509" href="#1509">1509</a> +<a name="1510" href="#1510">1510</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> String getPassword(Object msgContext); +<a name="1511" href="#1511">1511</a> +<a name="1512" href="#1512">1512</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">void</strong> setPassword(Object msgContext, String password); +<a name="1513" href="#1513">1513</a> } </pre> <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body> </html>
Modified: webservices/wss4j/site/xref/org/apache/ws/security/handler/package-frame.html URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/handler/package-frame.html?rev=1059959&r1=1059958&r2=1059959&view=diff ============================================================================== --- webservices/wss4j/site/xref/org/apache/ws/security/handler/package-frame.html (original) +++ webservices/wss4j/site/xref/org/apache/ws/security/handler/package-frame.html Mon Jan 17 15:49:15 2011 @@ -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.10 Reference Package org.apache.ws.security.handler</title> + <title>WSS4J 1.5.11 Reference Package org.apache.ws.security.handler</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" /> </head> <body> Modified: webservices/wss4j/site/xref/org/apache/ws/security/handler/package-summary.html URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/handler/package-summary.html?rev=1059959&r1=1059958&r2=1059959&view=diff ============================================================================== --- webservices/wss4j/site/xref/org/apache/ws/security/handler/package-summary.html (original) +++ webservices/wss4j/site/xref/org/apache/ws/security/handler/package-summary.html Mon Jan 17 15:49:15 2011 @@ -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.10 Reference Package org.apache.ws.security.handler</title> + <title>WSS4J 1.5.11 Reference Package org.apache.ws.security.handler</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" /> </head> <body> @@ -82,6 +82,6 @@ </ul> </div> <hr /> - Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved. + Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved. </body> </html> \ No newline at end of file Modified: webservices/wss4j/site/xref/org/apache/ws/security/message/package-frame.html URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/message/package-frame.html?rev=1059959&r1=1059958&r2=1059959&view=diff ============================================================================== --- webservices/wss4j/site/xref/org/apache/ws/security/message/package-frame.html (original) +++ webservices/wss4j/site/xref/org/apache/ws/security/message/package-frame.html Mon Jan 17 15:49:15 2011 @@ -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.10 Reference Package org.apache.ws.security.message</title> + <title>WSS4J 1.5.11 Reference Package org.apache.ws.security.message</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" /> </head> <body> Modified: webservices/wss4j/site/xref/org/apache/ws/security/message/package-summary.html URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/message/package-summary.html?rev=1059959&r1=1059958&r2=1059959&view=diff ============================================================================== --- webservices/wss4j/site/xref/org/apache/ws/security/message/package-summary.html (original) +++ webservices/wss4j/site/xref/org/apache/ws/security/message/package-summary.html Mon Jan 17 15:49:15 2011 @@ -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.10 Reference Package org.apache.ws.security.message</title> + <title>WSS4J 1.5.11 Reference Package org.apache.ws.security.message</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" /> </head> <body> @@ -162,6 +162,6 @@ </ul> </div> <hr /> - Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved. + Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved. </body> </html> \ No newline at end of file Modified: webservices/wss4j/site/xref/org/apache/ws/security/message/token/DerivedKeyToken.html URL: http://svn.apache.org/viewvc/webservices/wss4j/site/xref/org/apache/ws/security/message/token/DerivedKeyToken.html?rev=1059959&r1=1059958&r2=1059959&view=diff ============================================================================== --- webservices/wss4j/site/xref/org/apache/ws/security/message/token/DerivedKeyToken.html (original) +++ webservices/wss4j/site/xref/org/apache/ws/security/message/token/DerivedKeyToken.html Mon Jan 17 15:49:15 2011 @@ -503,16 +503,14 @@ <a name="493" href="#493">493</a> <em class="jxr_javadoccomment">/**</em> <a name="494" href="#494">494</a> <em class="jxr_javadoccomment"> * Set the derivation algorithm of this derived key token.</em> <a name="495" href="#495">495</a> <em class="jxr_javadoccomment"> *</em> -<a name="496" href="#496">496</a> <em class="jxr_javadoccomment"> * @param algo the value for the <code>wsu:Algorithm</code> attribute of this</em> +<a name="496" href="#496">496</a> <em class="jxr_javadoccomment"> * @param algo the value for the <code>Algorithm</code> attribute of this</em> <a name="497" href="#497">497</a> <em class="jxr_javadoccomment"> * DerivedKeyToken</em> <a name="498" href="#498">498</a> <em class="jxr_javadoccomment"> */</em> <a name="499" href="#499">499</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setAlgorithm(String algo) { -<a name="500" href="#500">500</a> <strong class="jxr_keyword">this</strong>.element.setAttributeNS( -<a name="501" href="#501">501</a> <strong class="jxr_keyword">this</strong>.ns, ConversationConstants.WSC_PREFIX + <span class="jxr_string">":Algorithm"</span>, algo -<a name="502" href="#502">502</a> ); -<a name="503" href="#503">503</a> } -<a name="504" href="#504">504</a> -<a name="505" href="#505">505</a> } +<a name="500" href="#500">500</a> <strong class="jxr_keyword">this</strong>.element.setAttributeNS(<strong class="jxr_keyword">this</strong>.ns, <span class="jxr_string">"Algorithm"</span>, algo); +<a name="501" href="#501">501</a> } +<a name="502" href="#502">502</a> +<a name="503" href="#503">503</a> } </pre> <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body> </html>
