[java-identity-provider] branch master updated: Switch shipped local storage and session defaults.

Scott Cantor cantor.2 at osu.edu
Wed Dec 5 14:36:41 EST 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=3a870ea2af4c25ba369ee65d0ec4c4941e1abd27

The following commit(s) were added to refs/heads/master by this push:
       new  3a870ea   Switch shipped local storage and session defaults.
3a870ea is described below

commit 3a870ea2af4c25ba369ee65d0ec4c4941e1abd27
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Dec 5 14:36:38 2018 -0500

    Switch shipped local storage and session defaults.
---
 idp-conf/src/main/resources/conf/idp.properties               | 11 ++++++-----
 .../test/TestEnvironmentApplicationContextInitializer.java    |  4 +++-
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/idp-conf/src/main/resources/conf/idp.properties b/idp-conf/src/main/resources/conf/idp.properties
index 7349b0b..e271f5b 100644
--- a/idp-conf/src/main/resources/conf/idp.properties
+++ b/idp-conf/src/main/resources/conf/idp.properties
@@ -3,9 +3,10 @@ idp.additionalProperties = /conf/ldap.properties, /conf/saml-nameid.properties,
 
 # In most cases (and unless noted in the surrounding comments) the
 # commented settings in the distributed files are the default
-# behavior for V3.
+# behavior for V3. Uncomment them and change the value to change
+# functionality.
 #
-# Uncomment them and change the value to change functionality.
+# Uncommented properties are either required or ship non-defaulted.
 
 # Set the entityID of the IdP
 idp.entityID = https://idp.example.org
@@ -81,7 +82,7 @@ idp.encryption.cert = %{idp.home}/credentials/idp-encryption.crt
 
 # Configuration of client- and server-side storage plugins
 #idp.storage.cleanupInterval = PT10M
-#idp.storage.htmlLocalStorage = false
+idp.storage.htmlLocalStorage = true
 
 # Set to true to expose more detailed errors in responses to SPs
 #idp.errors.detailed = false
@@ -111,9 +112,9 @@ idp.encryption.cert = %{idp.home}/credentials/idp-encryption.crt
 # Tolerate storage-related errors
 #idp.session.maskStorageFailure = false
 # Track information about SPs logged into
-#idp.session.trackSPSessions = false
+idp.session.trackSPSessions = true
 # Support lookup by SP for SAML logout
-#idp.session.secondaryServiceIndex = false
+idp.session.secondaryServiceIndex = true
 # Length of time to track SP sessions
 #idp.session.defaultSPlifetime = PT2H
 
diff --git a/idp-conf/src/test/java/net/shibboleth/idp/test/TestEnvironmentApplicationContextInitializer.java b/idp-conf/src/test/java/net/shibboleth/idp/test/TestEnvironmentApplicationContextInitializer.java
index a0210de..e57637d 100644
--- a/idp-conf/src/test/java/net/shibboleth/idp/test/TestEnvironmentApplicationContextInitializer.java
+++ b/idp-conf/src/test/java/net/shibboleth/idp/test/TestEnvironmentApplicationContextInitializer.java
@@ -48,7 +48,9 @@ public class TestEnvironmentApplicationContextInitializer
         final MockPropertySource mock = new MockPropertySource();
         mock.setProperty("idp.home", "classpath:");
         mock.setProperty("idp.webflows", "classpath*:/flows");
-        mock.setProperty("idp.authn.flows", "Password");
+        mock.setProperty("idp.storage.htmlLocalStorage", "false");
+        mock.setProperty("idp.session.trackSPSessions", "false");
+        mock.setProperty("idp.session.secondaryServiceIndex", "false");
         applicationContext.getEnvironment().getPropertySources().addFirst(mock);
         log.info("Prepending properties '{}'", mock.getSource());
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list