cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r834528 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
Date Tue, 10 Nov 2009 16:21:36 GMT
Author: dkulp
Date: Tue Nov 10 16:21:35 2009
New Revision: 834528

URL: http://svn.apache.org/viewvc?rev=834528&view=rev
Log:
[CXF-2525] Fix issue in TokenStoreCallback with it using a possible null
token

Modified:
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java?rev=834528&r1=834527&r2=834528&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
(original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/WSS4JInInterceptor.java
Tue Nov 10 16:21:35 2009
@@ -413,7 +413,7 @@
                     SecurityToken tok = store.getToken(id);
                     if (tok != null) {
                         pc.setKey(tok.getSecret());
-                        pc.setCustomToken(tok.getAttachedReference());
+                        pc.setCustomToken(tok.getToken());
                         return;
                     }
                 }



Mime
View raw message