Custom data connector issue

Dev31 islam.ezzat at ymail.com
Fri Aug 12 16:02:10 EDT 2016


Hi,
I used the below documentation to create my custom data connector: 
https://wiki.shibboleth.net/confluence/display/SHIB2/IdPDevExtDataCtr
<https://wiki.shibboleth.net/confluence/display/SHIB2/IdPDevExtDataCtr>  

I faced an issue that the attributes doesn't appear in the SAML response 
and currently I face this error:

Caused by:
net.shibboleth.utilities.java.support.component.ComponentInitializationException:
Attribute Resolver 'ShibbolethAttributeResolver': Plugin 'NUM' has a
dependency on plugin 'customDataConnector' which doesn't exist

here is the part of my attribute-resolver.xml , (note the attributes appears
in the response if they are static but my main issue is that i want them to
be dynamic and i made a dependency ref for my data connector) :

<resolver:AttributeDefinition xsi:type="Simple"
xmlns="urn:mace:shibboleth:2.0:resolver:ad" id="CNUM"
sourceAttributeID="NUM">
	<resolver:Dependency ref="customDataConnector" />
        <resolver:AttributeEncoder xsi:type="SAML2String"
xmlns="urn:mace:shibboleth:2.0:attribute:encoder" name="NUM" />
</resolver:AttributeDefinition> 

 <resolver:DataConnector id="customDataConnector" xsi:type="cd:UserCNUM" 
NUM="NUM" > 
	
 </resolver:DataConnector>	

Please let me know what is wrong?
Thanks





--
View this message in context: http://shibboleth.1660669.n2.nabble.com/Custom-data-connector-issue-tp7627517.html
Sent from the Shibboleth - Developers mailing list archive at Nabble.com.


More information about the dev mailing list