mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-07 19:39:53 +00:00
The change replaces the Vagrant box based fixture with a fixture based on docker compose and 2 docker images, one for an openldap server and one for a Shibboleth SAML Identity Provider. The configuration of both openldap and shibboleth is identical to the previous one, in order to minimize required changes in the tests
45 lines
2.2 KiB
XML
45 lines
2.2 KiB
XML
<?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">
|
|
|
|
<!--
|
|
A list of attributes to resolve for normalizing the subject. For example, you might
|
|
intend to lookup a uid in a directory based on what the user entered. You can make this
|
|
an empty list if you just want to resolve everything you normally would.
|
|
-->
|
|
<util:list id="shibboleth.c14n.attribute.AttributesToResolve">
|
|
<value>altuid</value>
|
|
</util:list>
|
|
|
|
<!--
|
|
A list of attributes to search for a value to produce as the normalized subject name.
|
|
This will normally be something you resolve above.
|
|
-->
|
|
<util:list id="shibboleth.c14n.attribute.AttributeSourceIds">
|
|
<value>altuid</value>
|
|
</util:list>
|
|
|
|
<!-- Simple transforms to apply to attribute value used for canonicalization result. -->
|
|
<util:constant id="shibboleth.c14n.attribute.Lowercase" static-field="java.lang.Boolean.FALSE"/>
|
|
<util:constant id="shibboleth.c14n.attribute.Uppercase" static-field="java.lang.Boolean.FALSE"/>
|
|
<util:constant id="shibboleth.c14n.attribute.Trim" static-field="java.lang.Boolean.TRUE"/>
|
|
|
|
<!-- Apply any regular expression replacement pairs. -->
|
|
<util:list id="shibboleth.c14n.attribute.Transforms">
|
|
<!--
|
|
<bean parent="shibboleth.Pair" p:first="^(.+)@example\.edu$" p:second="$1" />
|
|
-->
|
|
</util:list>
|
|
|
|
</beans>
|