summaryrefslogtreecommitdiff
path: root/conf-from-container/conf/authn/ipaddress-authn-config.xml
diff options
context:
space:
mode:
Diffstat (limited to 'conf-from-container/conf/authn/ipaddress-authn-config.xml')
-rw-r--r--conf-from-container/conf/authn/ipaddress-authn-config.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/conf-from-container/conf/authn/ipaddress-authn-config.xml b/conf-from-container/conf/authn/ipaddress-authn-config.xml
new file mode 100644
index 0000000..a3ee096
--- /dev/null
+++ b/conf-from-container/conf/authn/ipaddress-authn-config.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:context="http://www.springframework.org/schema/context"
+ xmlns:util="http://www.springframework.org/schema/util"
+ xmlns:p="http://www.springframework.org/schema/p"
+ xmlns:c="http://www.springframework.org/schema/c"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
+ http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"
+
+ default-init-method="initialize"
+ default-destroy-method="destroy">
+
+
+ <!-- Apply any regular expression replacement pairs to address before validation. -->
+ <util:list id="shibboleth.authn.IPAddress.Transforms" />
+
+ <!--
+ Configure the address range(s) and principal name(s) for IP-based login here.
+ The ranges provided MUST be CIDR network expressions. To specify a single address,
+ add "/32" or "/128" for IPv4 or IPv6 respectively.
+ -->
+
+
+ <util:map id="shibboleth.authn.IPAddress.Mappings">
+ <!--
+ <entry key="jdoe">
+ <list>
+ <value>127.0.0.1/32</value>
+ <value>::1/128</value>
+ </list>
+ </entry>
+ -->
+ </util:map>
+
+</beans>