resolver:DataConnector error when attempting to configure Relational Database Data Connector with Shibboleth 2.4.4 IDP

Daudt, Carl crdaudt at taylor.edu
Thu May 7 17:13:29 EDT 2015


I am attempting to configure a Data Connector to an Oracle 12c Enterprise database.  For now, I am attempting to do this with an Application Managed connection (although I understand that a Container Managed connection is advised for Oracle).  I am receiving the following error in id-process.log:

16:20:41.395 - ERROR [edu.internet2.middleware.shibboleth.common.config.BaseService:188] - Configuration was not loaded for shibboleth.AttributeResolver service, error creating components.  The root cause of this error was: org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'resolver:DataConnector' is not complete. One of '{"urn:mace:shibboleth:2.0:resolver:dc":QueryTemplate}' is expected.

However, I have 'xmlns="urn:mace:shibboleth:2.0:resolver:dc"' set as a parameter in my resolver:DataConnector configuration.

Following is the Data Connector portion of my attribute-resolver.xml file:

...
    <resolver:DataConnector xsi:type="RelationalDatabase" xmlns="urn:mace:shibboleth:2.0:resolver:dc" id="mySIS">
        <ApplicationManagedConnection jdbcDriver="oracle.jdbc.driver.OracleDriver"
                                         jdbcURL="jdbc:oracle:thin:@my_db_server_hostname:1521:pprd"
                                         jdbcUserName="my_user"
                                         jdbcPassword="my_password" />
        <!-the following lines are comment out for now...
        <dc:QueryTemplate>
            <![CDATA[
                SELECT * FROM student WHERE gzbtpid = '$requestContext.principalName'
            ]]>
        </dc:QueryTemplate>

        <dc:Column columnName="gzbtpid" attributeID="uid" />
        <dc:Column columnName="fqlft" attributeID="gpa" type="Float" />
                -->
    </resolver:DataConnector
...

Any assistance is appreciated.  Thanks.


The information in this communication is intended solely for the individual or entity to whom it is addressed. It may contain confidential or legally privileged information. If you are not the intended recipient, any disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited, and may be unlawful. If you have received this communication in error, please notify us immediately by responding to the sender of this email, and then delete it from your system. Taylor University is not liable for the inaccurate or improper transmission of the information contained in this communication or for any delay in its receipt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20150507/1dd0413e/attachment.html>


More information about the users mailing list