staic connectors

Cheltenham, Chris ccheltenham-ext at philasd.org
Tue Jun 13 13:30:04 EDT 2017



Hello,

 

We are trying to release a dummy attribute that is the same value every
time.

It is not in LDAP and it is required by the stupid application. 

I will push the same value for everyone all the time.

 

I am using static connectors but I cannot see why this fails.

Does anyone see why in attribute-resolver.xml

 

 

Shib 3.2.1

 

<resolver:AttributeDefinition xsi:type="ad:Simple" id="iReadyaccountID"
sourceAttributeID="iReadyaccountID">

        <resolver:Dependency ref="staticAttributes" />

        <resolver:AttributeEncoder xsi:type="enc:SAML2String"
name="accountID" friendlyName="accountID" encodeType="false" />

</resolver:AttributeDefinition>

 

 

<resolver:DataConnector id="staticAttributes" xsi:type="dc:Static">

     <Attribute id="accountID">

        <Value>phila26432</Value>

     </Attribute>

</resolver:DataConnector>

 

The error I get is with the the data connector's attributeID.

 

[/opt/shibboleth-idp/conf/attribute-resolver.xml] is invalid; nested
exception is org.xml.sax.SAXParseException; 

lineNumber: 190; columnNumber: 32; cvc-complex-type.2.4.a: Invalid content
was found starting with element 'Attribute'. 

One of '{"urn:mace:shibboleth:2.0:resolver":Dependency,
"urn:mace:shibboleth:2.0:resolver":FailoverDataConnector, 

"urn:mace:shibboleth:2.0:resolver:dc":Attribute}' is
expected.</u></p><p><b>description</b> <u>

The server encountered an internal error that prevented it from fulfilling
this request.

 

===========================

Thank You;

Chris Cheltenham
Technology Services
The School District of Philadelphia

Work # 215-400-5025
Cell # 215-301-6571 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170613/0c814d33/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1089 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/users/attachments/20170613/0c814d33/attachment-0001.gif>


More information about the users mailing list