Don't include log4j jar in WAR (does bad things to container logging)
[java-idp.git] / resources / conf / attribute-resolver.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <AttributeResolver xmlns="urn:mace:shibboleth:2.0:resolver"
4                    xmlns:resolver="urn:mace:shibboleth:2.0:resolver"
5                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6                    xmlns:pc="urn:mace:shibboleth:2.0:resolver:pc"
7                    xmlns:ad="urn:mace:shibboleth:2.0:resolver:ad"
8                        xmlns:dc="urn:mace:shibboleth:2.0:resolver:dc"
9                    xmlns:enc="urn:mace:shibboleth:2.0:attribute:encoder"
10                        xsi:schemaLocation="urn:mace:shibboleth:2.0:resolver classpath:/schema/shibboleth-2.0-attribute-resolver.xsd
11                                        urn:mace:shibboleth:2.0:resolver:pc classpath:/schema/shibboleth-2.0-attribute-resolver-pc.xsd
12                                        urn:mace:shibboleth:2.0:resolver:ad classpath:/schema/shibboleth-2.0-attribute-resolver-ad.xsd
13                                        urn:mace:shibboleth:2.0:resolver:dc classpath:/schema/shibboleth-2.0-attribute-resolver-dc.xsd
14                                        urn:mace:shibboleth:2.0:attribute:encoder classpath:/schema/shibboleth-2.0-attribute-encoder.xsd">
15                                        
16     <resolver:AttributeDefinition xsi:type="ad:Simple" id="uid">
17         <resolver:DataConnectorDependency ref="static" />
18         <resolver:AttributeEncoder xsi:type="enc:SAML2StringNameID" />
19     </resolver:AttributeDefinition>
20     
21     <resolver:AttributeDefinition xsi:type="ad:Simple" id="cn">
22         <resolver:DataConnectorDependency ref="static" />
23     </resolver:AttributeDefinition>
24     
25     <resolver:AttributeDefinition xsi:type="ad:Simple" id="email">
26         <resolver:DataConnectorDependency ref="static" />
27     </resolver:AttributeDefinition>
28                                        
29     <resolver:DataConnector xsi:type="dc:Static" id="static">
30         <dc:Attribute id="uid">
31             <dc:Value>testUser</dc:Value>
32         </dc:Attribute>
33         <dc:Attribute id="cn">
34             <dc:Value>Test User</dc:Value>
35         </dc:Attribute>
36         <dc:Attribute id="email">
37             <dc:Value>t.user@example.org</dc:Value>
38         </dc:Attribute>
39     </resolver:DataConnector>
40     
41     <resolver:PrincipalConnector xsi:type="pc:Direct" 
42                                  id="directPC"
43                                  nameIDFormat="urn:oasis:names:tc:SAML:1.0:nameid-format:unspecified" />
44
45 </AttributeResolver>