cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r932408 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationInInterceptor.java
Date Fri, 09 Apr 2010 13:38:28 GMT
Author: dkulp
Date: Fri Apr  9 13:38:28 2010
New Revision: 932408

URL: http://svn.apache.org/viewvc?rev=932408&view=rev
Log:
On server side, we already have the transport ID, use it instead of
trying to find a conduit to match the URL.

Modified:
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationInInterceptor.java

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationInInterceptor.java?rev=932408&r1=932407&r2=932408&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationInInterceptor.java
(original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationInInterceptor.java
Fri Apr  9 13:38:28 2010
@@ -220,6 +220,7 @@ class SecureConversationInInterceptor ex
         Destination destination = ex.getDestination();
         try {
             Endpoint endpoint = message.getExchange().get(Endpoint.class);
+            
             TokenStore store = (TokenStore)message.getContextualProperty(TokenStore.class.getName());
             if (store == null) {
                 store = new MemoryTokenStore();
@@ -227,7 +228,7 @@ class SecureConversationInInterceptor ex
             }
             endpoint = STSUtils.createSTSEndpoint(bus, 
                                                   namespace,
-                                                  null,
+                                                  endpoint.getEndpointInfo().getTransportId(),
                                                   destination.getAddress().getAddress().getValue(),
                                                   message.getVersion().getBindingId(), 
                                                   policy,



Mime
View raw message