[java-idp-testbed COMMIT] in /trunk/src/main/resources: conf/authn-ipaddress-config.xml flows/authn/ipaddress-authn-b...

noreply at shibboleth.net noreply at shibboleth.net
Thu Oct 17 13:02:46 EDT 2013


Author: scantor
Date: Thu Oct 17 13:02:46 2013
New Revision: 15

URL: http://svn.shibboleth.net/view/java-idp-testbed?rev=15&view=rev
Log:
Externalize IP address login config.

Added:
    trunk/src/main/resources/conf/authn-ipaddress-config.xml   (with props)
Modified:
    trunk/src/main/resources/flows/authn/ipaddress-authn-beans.xml

Modified: trunk/src/main/resources/flows/authn/ipaddress-authn-beans.xml
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/resources/flows/authn/ipaddress-authn-beans.xml?rev=15&r1=14&r2=15&view=diff
==============================================================================
--- trunk/src/main/resources/flows/authn/ipaddress-authn-beans.xml (original)
+++ trunk/src/main/resources/flows/authn/ipaddress-authn-beans.xml Thu Oct 17 13:02:46 2013
@@ -12,22 +12,14 @@
        default-init-method="initialize"
        default-destroy-method="destroy">
 
+    <import resource="../../conf/authn-ipaddress-config.xml" />
+
     <bean class="net.shibboleth.idp.profile.impl.ProfileActionBeanPostProcessor" />
     
     <bean id="ExtractUserAgentAddress" class="net.shibboleth.idp.authn.impl.ExtractUserAgentAddress" scope="prototype"
         p:httpServletRequest-ref="shibboleth.HttpServletRequest" />
         
-    <bean id="ValidateUserAgentAddress" class="net.shibboleth.idp.authn.impl.ValidateUserAgentAddress" scope="prototype">
-        <property name="mappings">
-            <map>
-                <entry key="jdoe">
-                    <list>
-                        <value>127.0.0.1/32</value>
-                        <value>::1/128</value>
-                    </list>
-                </entry>
-            </map>
-        </property>
-    </bean>
+    <bean id="ValidateUserAgentAddress" class="net.shibboleth.idp.authn.impl.ValidateUserAgentAddress" scope="prototype"
+        p:mappings-ref="shibboleth.Authn.IPAddress.Mappings" />
 
 </beans>



More information about the commits mailing list