...
It's also occasionally useful for passing statically-defined data to recalcitrant vendors operating badly broken SPs.
Reference
Localtabgroup |
localtab-live Expand |
---|
title | Specific XML Elements |
---|
|
Name | Cardinality | Description |
---|
<Attribute> | 1 or more | Each element defines an IdPAttribute to generate. Note that this is not the same as a <saml:Attribute> element found in other areas of the configuration, but a custom element specific to the resolver. Each element MUST contain an XML Attribute named id that specifies the name of the IdPAttribute to generate. It MUST also contain one or more nested <Value> elements. The text content of the <Value> elements provide the string values of the attribute being generated. |
localtab-live |
Expand |
---|
title | Common XML Attributes |
---|
|
Include Page |
---|
| DataConnectorCommonAttributes |
---|
| DataConnectorCommonAttributes |
---|
| localtab-live
|
Expand |
---|
|
None of the common elements typical of DataConnectorConfiguration are supported, as this connector has neither dependencies nor failover (since it cannot fail). |
...
Example Spring configuration : conf/staticAttributesSpring.xml
Expand |
---|
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.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>
<bean class="net.shibboleth.idp.attribute.IdPAttribute" c:_0="exampleAttributeId1">
<property name="values">
<list>
<bean class="net.shibboleth.idp.attribute.StringAttributeValue" c:_0="exampleAttributeValue1" />
<bean class="net.shibboleth.idp.attribute.StringAttributeValue" c:_0="exampleAttributeValue2" />
</list>
</property>
</bean>
<bean class="net.shibboleth.idp.attribute.IdPAttribute" c:_0="exampleAttributeId2">
<property name="values">
<list>
<bean class="net.shibboleth.idp.attribute.StringAttributeValue" c:_0="exampleAttributeValue3" />
</list>
</property>
</bean>
</util:list>
</beans> |
|