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: Don't check for token expiry in the core
Date Wed, 07 Oct 2015 10:24:23 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/1.2.x-fixes 895c91854 -> 7f2045010


Don't check for token expiry in the core


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

Branch: refs/heads/1.2.x-fixes
Commit: 7f20450105dedec899bd5a3bde8e8105f288aae1
Parents: 895c918
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Wed Oct 7 11:23:45 2015 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Wed Oct 7 11:24:18 2015 +0100

----------------------------------------------------------------------
 .../apache/cxf/fediz/core/processor/FederationProcessorImpl.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/7f204501/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
----------------------------------------------------------------------
diff --git a/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
b/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
index f828bbf..25f715e 100644
--- a/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
+++ b/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
@@ -170,7 +170,7 @@ public class FederationProcessorImpl extends AbstractFedizProcessor {
             lifeTime = processLifeTime(lifetimeElem);
         }
 
-        if (config.isDetectExpiredTokens() && lifeTime != null) {
+        if (lifeTime != null) {
             Date currentDate = new Date();
             if (currentDate.after(lifeTime.getExpires())) {
                 LOG.warn("RSTR Lifetime expired");


Mime
View raw message