Author: anil.saldhana(a)jboss.com
Date: 2011-04-26 00:36:11 -0400 (Tue, 26 Apr 2011)
New Revision: 918
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/STSClient.java
Log:
use ws-policy applies to
Modified:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/STSClient.java
===================================================================
---
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/STSClient.java 2011-04-26
04:02:11 UTC (rev 917)
+++
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/wstrust/STSClient.java 2011-04-26
04:36:11 UTC (rev 918)
@@ -220,7 +220,7 @@
{
if (StringUtil.isNotNull(wspAppliesTo))
{
- rst.setAppliesTo(WSTrustUtil.createAppliesTo(endpointURI));
+ rst.setAppliesTo(WSTrustUtil.createAppliesTo(wspAppliesTo));
}
else if (endpointURI != null)
rst.setAppliesTo(WSTrustUtil.createAppliesTo(endpointURI));
@@ -471,4 +471,4 @@
if (getDispatch() == null)
throw new RuntimeException("Dispatch has not been set");
}
-}
\ No newline at end of file
+}