Deprecated warning in Data Connector

Ramon Pfeiffer ramon.pfeiffer at uni-tuebingen.de
Thu Nov 8 10:37:36 EST 2018


On 08.11.2018 16:13, Cantor, Scott wrote:
>> Currently I get a single warning about an instance that is not a deprecated
>> attribute. And I don't get any warning about the deprecated usages that should
>> be warned about.
> 
> AFAIK, all uses of sourceAttributeID are deprecated, if that's what you're saying is being warned about. If not, I would file bugs and provide examples. If they turn out not to be bugs, we'll close them out, it's not a big deal.
> 
> -- Scott
> 

Alright, I missed the update to the documentation 20 mins ago stating
the use of sourceAttributeID is deprecated. However, the StoredID data
connector won't work without a sourceAttributeID attribute in its
configuration:

2018-11-08 16:32:46,171 - ERROR
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:182]
- Service 'shibboleth.AttributeResolverService': Initial load failed
net.shibboleth.utilities.java.support.service.ServiceException:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
Line 119 in XML document from file
[/opt/shibboleth-idp/conf/attribute-resolver-data-connectors.xml] is
invalid; nested exception is org.xml.sax.SAXParseException; lineNumber:
119; columnNumber: 26; cvc-complex-type.4: Attribute 'sourceAttributeID'
must appear on element 'DataConnector'.

excerpt from
/opt/shibboleth-idp/conf/attribute-resolver-data-connectors.xml:

<DataConnector
    id="testConnector"
    xsi:type="StoredId"
    generatedAttributeID="myGeneratedAttribute"
    salt="myRandomSalt"
    queryTimeout="0">

    <InputAttributeDefintion ref="uid" />
</DataConnector>


Thanks
Ramon



--

Universität Tübingen

Zentrum für Datenverarbeitung

Wächterstraße 76

72074 Tübingen



E-Mail: ramon.pfeiffer at uni-tuebingen.de

Telefon: +49-7071-29-70213

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5217 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://shibboleth.net/pipermail/users/attachments/20181108/b320b1d0/attachment.p7s>


More information about the users mailing list