...
The Spring Resource should provide a bean of type Collection consisting of IdPAttribute elements populated with .with IdPAttributeValues
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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:context="http://www.springframework.org/schema/context" 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-3.1.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd" default-init-method="initialize" default-destroy-method="destroy"> <util:list id="values"> <bean class="net.shibboleth.idp.attribute.IdPAttribute" c:attributeId="exampleAttributeId1"> <property name="values"> <list> <bean class="net.shibboleth.idp.attribute.StringAttributeValue" c:attributeValue="exampleAttributeValue1" /> <bean class="net.shibboleth.idp.attribute.StringAttributeValue" c:attributeValue="exampleAttributeValue2" /> </list> </property> </bean> <bean class="net.shibboleth.idp.attribute.IdPAttribute" c:attributeId="exampleAttributeId2"> <property name="values"> <list> <bean class="net.shibboleth.idp.attribute.StringAttributeValue" c:attributeValue="exampleAttributeValue3" /> </list> </property> </bean> </util:list> </beans> |
...