Working 3.1.1 IDP upgrade to 3.2.0 now broken
Grau, Roderick
rgrau at albany.edu
Thu Dec 3 11:07:33 EST 2015
The IDP starts up.
Warning in idp-process.log:
2015-12-03 10:25:30,448 - WARN [net.shibboleth.idp.attribute.resolver.spring.ad.BaseAttributeDefinitionParser:100] - Attribute Definition 'OPEID': sourceAttributeID was not specified but is required
OPEID is a static data connector.
<!-- National Student Clearing House 07/23/2013 -->
<resolver:DataConnector xsi:type="dc:Static"
xmlns="urn:mace:shibboleth:2.0:resolver:dc"
id="static-student-clearinghouse">
<dc:Attribute id="OPEID">
<dc:Value>XXXXXXX</dc:Value>
</dc:Attribute>
</resolver:DataConnector>
Error after trying to log into a SP:
2015-12-03 10:29:06,215 - DEBUG [net.shibboleth.idp.attribute.resolver.impl.AttributeResolverImpl:388] - Attribute Resolver 'ShibbolethAttributeResolver': Finished resolving dependencies for 'OPEID'
2015-12-03 10:29:06,224 - ERROR [net.shibboleth.idp.saml.profile:-2] - Uncaught runtime exception
net.shibboleth.utilities.java.support.logic.ConstraintViolationException: Data connector dependencies must specify a dependant attribute ID
at net.shibboleth.utilities.java.support.logic.Constraint.isTrue(Constraint.java:262)
2015-12-03 10:29:06,241 - WARN [org.opensaml.profile.action.impl.LogEvent:76] - An error event occurred while processing the request: RuntimeException
According to the wiki (https://wiki.shibboleth.net/confluence/display/IDP30/StaticDataConnector) static data connectors do not get sourceAttributeIDs.
Adding a sourceAttributeID to the data connector causes this error in idp-process.log:
2015-12-03 11:02:42,761 - ERROR [net.shibboleth.utilities.java.support.service.AbstractReloadableService:181] - Service 'shibboleth.AttributeResolverService': Initial load failed
net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 659 in XML document from file [/opt/shibboleth-idp/conf/attribute-resolver.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 659; columnNumber: 30; cvc-complex-type.3.2.2: Attribute 'sourceAttributeID' is not allowed to appear in element 'resolver:DataConnector'.
at net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:334)
Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 659 in XML document from file [/opt/shibboleth-idp/conf/attribute-resolver.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 659; columnNumber: 30; cvc-complex-type.3.2.2: Attribute 'sourceAttributeID' is not allowed to appear in element 'resolver:DataConnector'.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:399)
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'sourceAttributeID' is not allowed to appear in element 'resolver:DataConnector'.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
Any help would be appreciated.
-Rod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20151203/04bf2c82/attachment-0001.html>
More information about the users
mailing list