You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2015/12/01 15:36:46 UTC

nifi git commit: NIFI-655: - Changing default expiration time to 12 hours.

Repository: nifi
Updated Branches:
  refs/heads/NIFI-655 c100052da -> 85eb8defd


NIFI-655:
- Changing default expiration time to 12 hours.

Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/85eb8def
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/85eb8def
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/85eb8def

Branch: refs/heads/NIFI-655
Commit: 85eb8defdd0bb8b91c627493f6218b77c370c071
Parents: c100052
Author: Matt Gilman <ma...@gmail.com>
Authored: Tue Dec 1 09:36:33 2015 -0500
Committer: Matt Gilman <ma...@gmail.com>
Committed: Tue Dec 1 09:36:33 2015 -0500

----------------------------------------------------------------------
 .../org/apache/nifi/web/security/x509/X509IdentityProvider.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/85eb8def/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/x509/X509IdentityProvider.java
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/x509/X509IdentityProvider.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/x509/X509IdentityProvider.java
index db0b529..c20a28e 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/x509/X509IdentityProvider.java
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-security/src/main/java/org/apache/nifi/web/security/x509/X509IdentityProvider.java
@@ -79,7 +79,7 @@ public class X509IdentityProvider {
         }
 
         // build the authentication response
-        return new AuthenticationResponse(principal, principal, TimeUnit.MILLISECONDS.convert(1, TimeUnit.DAYS), issuer);
+        return new AuthenticationResponse(principal, principal, TimeUnit.MILLISECONDS.convert(12, TimeUnit.HOURS), issuer);
     }
 
     /* setters */