cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1161284 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/interceptors/SecureConversationInInterceptor.java
Date Wed, 24 Aug 2011 21:27:03 GMT
Author: dkulp
Date: Wed Aug 24 21:27:02 2011
New Revision: 1161284

URL: http://svn.apache.org/viewvc?rev=1161284&view=rev
Log:
Minor optimization

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=1161284&r1=1161283&r2=1161284&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
Wed Aug 24 21:27:02 2011
@@ -217,14 +217,14 @@ class SecureConversationInInterceptor ex
                                        String namespace,
                                        Policy policy) {
         Exchange ex = message.getExchange();
-        Bus bus = ex.get(Bus.class);
+        Bus bus = ex.getBus();
         PolicyEngine pe = bus.getExtension(PolicyEngine.class);
         if (null == pe) {
             return;
         }
         Destination destination = ex.getDestination();
         try {
-            Endpoint endpoint = message.getExchange().get(Endpoint.class);
+            Endpoint endpoint = message.getExchange().getEndpoint();
             
             TokenStore store = (TokenStore)message.getContextualProperty(TokenStore.class.getName());
             if (store == null) {



Mime
View raw message