cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r833231 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/SecurityToken.java
Date Thu, 05 Nov 2009 23:13:41 GMT
Author: dkulp
Date: Thu Nov  5 23:13:40 2009
New Revision: 833231

URL: http://svn.apache.org/viewvc?rev=833231&view=rev
Log:
[CXF-2524] Allow null lifetime element

Modified:
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/SecurityToken.java

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/SecurityToken.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/SecurityToken.java?rev=833231&r1=833230&r2=833231&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/SecurityToken.java
(original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/tokenstore/SecurityToken.java
Thu Nov  5 23:13:40 2009
@@ -157,7 +157,9 @@
                  Element lifetimeElem) {
         this.id = id;
         this.token = cloneElement(tokenElem);
-        this.processLifeTime(lifetimeElem);
+        if (lifetimeElem !=null) {
+            processLifeTime(lifetimeElem);
+        }
     }
     private static Element cloneElement(Element el) {
         try {



Mime
View raw message