cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf-fediz git commit: Default token expiration to false
Date Tue, 06 Oct 2015 16:05:29 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master 7217d1f43 -> 87f3aa68a


Default token expiration to false


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/87f3aa68
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/87f3aa68
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/87f3aa68

Branch: refs/heads/master
Commit: 87f3aa68ac3eb2d0daf42172ca70056db78173b1
Parents: 7217d1f
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Oct 6 16:23:53 2015 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Oct 6 16:23:53 2015 +0100

----------------------------------------------------------------------
 plugins/core/src/main/resources/schemas/FedizConfig.xsd            | 2 +-
 .../org/apache/cxf/fediz/core/config/FedizConfigurationTest.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/87f3aa68/plugins/core/src/main/resources/schemas/FedizConfig.xsd
----------------------------------------------------------------------
diff --git a/plugins/core/src/main/resources/schemas/FedizConfig.xsd b/plugins/core/src/main/resources/schemas/FedizConfig.xsd
index 19922c6..f763bfd 100644
--- a/plugins/core/src/main/resources/schemas/FedizConfig.xsd
+++ b/plugins/core/src/main/resources/schemas/FedizConfig.xsd
@@ -85,7 +85,7 @@
 
     <xs:element name="maximumClockSkew" type="xs:integer" default="5" />
 
-    <xs:element name="tokenExpirationValidation" type="xs:boolean" default="true" >
+    <xs:element name="tokenExpirationValidation" type="xs:boolean" default="false" >
         <xs:annotation>
             <xs:documentation>Decision whether the token validation (e.g. lifetime)
shall be
                 performed on every request

http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/87f3aa68/plugins/core/src/test/java/org/apache/cxf/fediz/core/config/FedizConfigurationTest.java
----------------------------------------------------------------------
diff --git a/plugins/core/src/test/java/org/apache/cxf/fediz/core/config/FedizConfigurationTest.java
b/plugins/core/src/test/java/org/apache/cxf/fediz/core/config/FedizConfigurationTest.java
index dd3780d..f2b0381 100644
--- a/plugins/core/src/test/java/org/apache/cxf/fediz/core/config/FedizConfigurationTest.java
+++ b/plugins/core/src/test/java/org/apache/cxf/fediz/core/config/FedizConfigurationTest.java
@@ -407,7 +407,7 @@ public class FedizConfigurationTest {
         ContextConfig config = new ContextConfig();
 
         Assert.assertTrue(config.getMaximumClockSkew().intValue() == 5);
-        Assert.assertTrue(config.isTokenExpirationValidation());
+        Assert.assertFalse(config.isTokenExpirationValidation());
     }
 
 }
\ No newline at end of file


Mime
View raw message