2022-08-05 13:33:15 +00:00

58 lines
2.8 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">
<!--
Note that all built-in rules rely on URI-naming and thus include the implied settings:
<prop key="saml2.nameFormat">urn:oasis:names:tc:SAML:2.0:attrname-format:uri</prop>
<prop key="saml1.namespace">urn:mace:shibboleth:1.0:attributeNamespace:uri</prop>
-->
<bean parent="shibboleth.TranscodingRuleLoader">
<constructor-arg>
<list>
<bean parent="shibboleth.TranscodingProperties">
<property name="properties">
<props merge="true">
<prop key="id">eduCourseOffering</prop>
<prop key="transcoder">SAML2StringTranscoder SAML1StringTranscoder</prop>
<prop key="saml2.name">urn:oid:1.3.6.1.4.1.5923.1.6.1.1</prop>
<prop key="saml1.name">urn:oid:1.3.6.1.4.1.5923.1.6.1.1</prop>
<prop key="displayName.en">Course offering</prop>
<prop key="description.en">Unique identifier for a course offering</prop>
</props>
</property>
</bean>
<bean parent="shibboleth.TranscodingProperties">
<property name="properties">
<props merge="true">
<prop key="id">eduCourseMember</prop>
<prop key="transcoder">SAML2ScopedStringTranscoder SAML1ScopedStringTranscoder CASScopedStringTranscoder</prop>
<prop key="saml2.name">urn:oid:1.3.6.1.4.1.5923.1.6.1.2</prop>
<prop key="saml1.name">urn:oid:1.3.6.1.4.1.5923.1.6.1.2</prop>
<prop key="saml1.encodeType">false</prop>
<prop key="displayName.en">Course role</prop>
<prop key="description.en">Specifies the person's role within a particular course offering</prop>
</props>
</property>
</bean>
</list>
</constructor-arg>
</bean>
</beans>