Skip to Content.
Sympa Menu

shibboleth-dev - CustomDataConnector schema wrong for IDP 1.3 ?

Subject: Shibboleth Developers

List archive

CustomDataConnector schema wrong for IDP 1.3 ?


Chronological Thread 
  • From:
  • To:
  • Subject: CustomDataConnector schema wrong for IDP 1.3 ?
  • Date: Thu, 14 May 2009 05:36:24 -0400 (EDT)

I created my custom Data Connector wich simply extends
JNDIDirectoryDataConnector(IDP V 1.3)
I 'd like to init in my resolver.xml file like this :


<CustomDataConnector id="ldap"
class="com.xxx.JNDIDirectoryDataConnectorExtends">

<Search filter="uid=%PRINCIPAL%">
<Controls searchScope="SUBTREE_SCOPE" returningObjects="false" />

</Search>
<Property name="java.naming.factory.initial"
value="com.sun.jndi.ldap.LdapCtxFactory" />
<Property name="java.naming.provider.url"
value="ldap://ldap1.xxxxxx"; />
<Property name="java.naming.security.principal" value="xxxxx"
/>
<Property name="java.naming.security.credentials"
value="xxxx" />

</CustomDataConnector>

But when I test with resolvertest program I have this error :

ERROR edu.internet2.middleware.shibboleth.aa.attrresolv.AttributeResolver -
Error parsing Attribute Resolver Configuration file:
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was
found starting with element 'Search'. One of
'{"urn:mace:shibboleth:resolver:1.0":DataConnectorDependency,
"urn:mace:shibboleth:resolver:1.0":AttributeDependency,
"urn:mace:shibboleth:resolver:1.0":FailoverDependency,
WC[##other:"urn:mace:shibboleth:resolver:1.0"]}' is expected.

shibboleth-resolver-1.0;xsd Schema is wrong ?
How could use my custom JNDIDirectoryDataConnector ?

Thanks for your help

David.



Archive powered by MHonArc 2.6.16.

Top of Page