[java-identity-provider COMMIT] in /trunk/idp-conf/src/main/resources: conf/ipaddress-authn-config.xml conf/jaas-auth...

noreply at shibboleth.net noreply at shibboleth.net
Sat Oct 19 17:15:10 EDT 2013


Author: scantor
Date: Sat Oct 19 17:15:10 2013
New Revision: 4881

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4881&view=rev
Log:
Sync with testbed

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

Modified: trunk/idp-conf/src/main/resources/conf/ipaddress-authn-config.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/conf/ipaddress-authn-config.xml?rev=4881&r1=4880&r2=4881&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/conf/ipaddress-authn-config.xml (original)
+++ trunk/idp-conf/src/main/resources/conf/ipaddress-authn-config.xml Sat Oct 19 17:15:10 2013
@@ -9,10 +9,23 @@
                            http://www.springframework.org/schema/context classpath:/org/springframework/context/config/spring-context-3.2.xsd
                            http://www.springframework.org/schema/util classpath:/org/springframework/beans/factory/xml/spring-util-3.2.xsd">
 
-    <!--
-    You can configure the address range(s) and principal name(s) for IP-based login here.
-    Do not change the name of the bean.
-    -->
+
+
+    <!-- Simple transforms to apply to address before validation. -->
+    <bean id="shibboleth.authn.IPAddress.Lowercase" class="java.lang.Boolean">
+        <constructor-arg type="boolean" value="false" />
+    </bean>
+    <bean id="shibboleth.authn.IPAddress.Uppercase" class="java.lang.Boolean">
+        <constructor-arg type="boolean" value="false" />
+    </bean>
+    <bean id="shibboleth.authn.IPAddress.Trim" class="java.lang.Boolean">
+        <constructor-arg type="boolean" value="true" />
+    </bean>
+
+    <!-- Apply any regular expression replacement pairs before validation. -->
+    <util:list id="shibboleth.authn.IPAddress.Transforms"/>
+
+    <!-- You can configure the address range(s) and principal name(s) for IP-based login here. -->
 
     <util:map id="shibboleth.authn.IPAddress.Mappings">
         <entry key="jdoe">

Modified: trunk/idp-conf/src/main/resources/conf/remoteuser-authn-config.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/conf/remoteuser-authn-config.xml?rev=4881&r1=4880&r2=4881&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/conf/remoteuser-authn-config.xml (original)
+++ trunk/idp-conf/src/main/resources/conf/remoteuser-authn-config.xml Sat Oct 19 17:15:10 2013
@@ -32,6 +32,24 @@
         -->
     </util:list>
     
+    <!-- Simple transforms to apply to username before validation. -->
+    <bean id="shibboleth.authn.RemoteUser.Lowercase" class="java.lang.Boolean">
+        <constructor-arg type="boolean" value="false" />
+    </bean>
+    <bean id="shibboleth.authn.RemoteUser.Uppercase" class="java.lang.Boolean">
+        <constructor-arg type="boolean" value="false" />
+    </bean>
+    <bean id="shibboleth.authn.RemoteUser.Trim" class="java.lang.Boolean">
+        <constructor-arg type="boolean" value="true" />
+    </bean>
+
+    <!-- Apply any regular expression replacement pairs before validation. -->
+    <util:list id="shibboleth.authn.RemoteUser.Transforms">
+        <!--
+        <bean class="net.shibboleth.utilities.java.support.collection.Pair" p:first="^(.+)@example\.edu$" p:second="$1" />
+        -->
+    </util:list>
+    
     <!-- Uncomment/configure to install username whitelist, blacklist, and/or match expressions. -->
     
     <util:list id="shibboleth.authn.RemoteUser.whitelistedUsernames">
@@ -50,5 +68,5 @@
     <bean id="shibboleth.authn.RemoteUser.matchExpression" class="java.util.regex.Pattern" factory-method="compile"
         c:_0="^(.+)@example\.edu]$" />
     -->
-
+    
 </beans>

Modified: trunk/idp-conf/src/main/resources/flows/authn/ipaddress-authn-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/flows/authn/ipaddress-authn-beans.xml?rev=4881&r1=4880&r2=4881&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/flows/authn/ipaddress-authn-beans.xml (original)
+++ trunk/idp-conf/src/main/resources/flows/authn/ipaddress-authn-beans.xml Sat Oct 19 17:15:10 2013
@@ -17,7 +17,11 @@
     <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" />

[... 104 lines stripped ...]


More information about the commits mailing list