[java-idp-testbed COMMIT] in /trunk/src/main: resources/conf/global-beans.xml resources/conf/idp.properties resources...

noreply at shibboleth.net noreply at shibboleth.net
Tue Oct 29 00:08:47 EDT 2013


Author: scantor
Date: Tue Oct 29 00:08:47 2013
New Revision: 28

URL: http://svn.shibboleth.net/view/java-idp-testbed?rev=28&view=rev
Log:
Add client-side storage defs and DelegatingFilterProxy

Modified:
    trunk/src/main/resources/conf/global-beans.xml
    trunk/src/main/resources/conf/idp.properties
    trunk/src/main/resources/conf/session-manager.xml
    trunk/src/main/webapp/WEB-INF/web.xml

Modified: trunk/src/main/resources/conf/global-beans.xml
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/resources/conf/global-beans.xml?rev=28&r1=27&r2=28&view=diff
==============================================================================
--- trunk/src/main/resources/conf/global-beans.xml (original)
+++ trunk/src/main/resources/conf/global-beans.xml Tue Oct 29 00:08:47 2013
@@ -108,8 +108,20 @@
     <bean id="shibboleth.CookieManager" class="net.shibboleth.utilities.java.support.net.CookieManager"
         p:httpServletRequest-ref="shibboleth.HttpServletRequest" p:httpServletResponse-ref="shibboleth.HttpServletResponse"
         p:secure="false" />
-        
+    
+    <bean id="shibboleth.DataSealer" class="net.shibboleth.utilities.java.support.security.DataSealer"
+        p:keystoreType="${idp.sealer.storeType}"
+        p:keystorePath="${idp.home}/${idp.sealer.storePath}"
+        p:keystorePassword="${idp.sealer.storePassword}"
+        p:cipherKeyAlias="${idp.sealer.alias}"
+        p:cipherKeyPassword="${idp.sealer.keyPassword}" />
+    
     <bean id="shibboleth.StorageService" class="${idp.storage.StorageService}" p:cleanupInterval="${idp.storage.cleanupInterval}" />
+
+    <bean id="shibboleth.ClientStorageService" class="${idp.storage.ClientStorageService}"
+        p:httpServletRequest-ref="shibboleth.HttpServletRequest" p:httpServletResponse-ref="shibboleth.HttpServletResponse"
+        p:cookieManager-ref="shibboleth.CookieManager"
+        p:dataSealer-ref="shibboleth.DataSealer" />
     
     <bean id="shibboleth.ReplayCache" class="org.opensaml.storage.ReplayCache" depends-on="shibboleth.LogbackLogging"
         p:storage-ref="shibboleth.StorageService" p:strict="true" />

Modified: trunk/src/main/resources/conf/idp.properties
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/resources/conf/idp.properties?rev=28&r1=27&r2=28&view=diff
==============================================================================
--- trunk/src/main/resources/conf/idp.properties (original)
+++ trunk/src/main/resources/conf/idp.properties Tue Oct 29 00:08:47 2013
@@ -6,12 +6,25 @@
 # Xerces, use org.apache.xerces.util.SecurityManager
 idp.xml.securityManager = org.apache.xerces.util.SecurityManager
 
+# Settings for internal AES encryption key
+idp.sealer.storeType = JCEKS
+idp.sealer.storePath = creds/sealer.jks
+idp.sealer.storePassword = password
+idp.sealer.alias = idpSecretKey
+idp.sealer.keyPassword = password
+
 # Configures the primary server-side storage plugin
 idp.storage.StorageService = org.opensaml.storage.impl.MemoryStorageService
 idp.storage.cleanupInterval = PT10M
 
+# Configures the primary client-side storage plugin
+idp.storage.ClientStorageService = org.opensaml.storage.impl.JSONRequestScopedStorageService
+
 # Set to false to disable the IdP session layer
 idp.session.enabled = true
+
+# Set to "shibboleth.StorageService" for server-side storage
+idp.session.StorageService = shibboleth.ClientStorageService
 
 # Size of session IDs
 idp.session.idSize = 32

Modified: trunk/src/main/resources/conf/session-manager.xml
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/resources/conf/session-manager.xml?rev=28&r1=27&r2=28&view=diff
==============================================================================
--- trunk/src/main/resources/conf/session-manager.xml (original)
+++ trunk/src/main/resources/conf/session-manager.xml Tue Oct 29 00:08:47 2013
@@ -19,7 +19,7 @@
             p:httpServletRequest-ref="shibboleth.HttpServletRequest" p:httpServletResponse-ref="shibboleth.HttpServletResponse"
             p:authenticationFlowDescriptors="#{@'shibboleth.AvailableAuthenticationFlows'.?[id matches 'AuthenticationFlow/(${idp.authn.flows})']}"
             p:cookieManager-ref="shibboleth.CookieManager"
-            p:storageService-ref="shibboleth.StorageService"
+            p:storageService-ref="${idp.session.StorageService}"
             p:consistentAddress="${idp.session.consistentAddress}"
             p:sessionTimeout="${idp.session.timeout}"
             p:sessionSlop="${idp.session.slop}"

Modified: trunk/src/main/webapp/WEB-INF/web.xml
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/webapp/WEB-INF/web.xml?rev=28&r1=27&r2=28&view=diff
==============================================================================
--- trunk/src/main/webapp/WEB-INF/web.xml (original)
+++ trunk/src/main/webapp/WEB-INF/web.xml Tue Oct 29 00:08:47 2013
@@ -19,6 +19,14 @@
         <filter-class>net.shibboleth.utilities.java.support.net.CookieBufferingFilter</filter-class>
     </filter>
     <filter>

[... 23 lines stripped ...]


More information about the commits mailing list