shibboleth-dev - Unit Test fail in hack for RepsondTo Ext
Subject: Shibboleth Developers
List archive
- From: Joseph Valerio <>
- To: "" <>
- Subject: Unit Test fail in hack for RepsondTo Ext
- Date: Fri, 10 Jul 2009 09:38:44 -0400
Chad/Scott, I finally go around to testing that RepsondTo Ext hack, and I am getting a unit test error that is a little puzzling. Here is the error: ------------------------------------------------------------------------------- Test set: edu.internet2.middleware.shibboleth.idp.system.conf1.SAML2ArtifactResolutionTest ------------------------------------------------------------------------------- Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.522 sec <<< FAILURE! testArtifactResolution(edu.internet2.middleware.shibboleth.idp.system.conf1.SAML2ArtifactResolutionTest) Time elapsed: 1.509 sec <<< ERROR! java.lang.ClassCastException: org.opensaml.ws.soap.soap11.impl.EnvelopeImpl cannot be cast to org.opensaml.saml2.core.RequestAbstractType at edu.internet2.middleware.shibboleth.idp.profile.saml2.AbstractSAML2ProfileHandler.requestHasRespondToExt(AbstractSAML2ProfileHandler.java:419) at edu.internet2.middleware.shibboleth.idp.profile.saml2.AbstractSAML2ProfileHandler.populateStatusResponse(AbstractSAML2ProfileHandler.java:404) at edu.internet2.middleware.shibboleth.idp.profile.saml2.ArtifactResolution.buildArtifactResponse(ArtifactResolution.java:272) at edu.internet2.middleware.shibboleth.idp.profile.saml2.ArtifactResolution.processRequest(ArtifactResolution.java:131) at edu.internet2.middleware.shibboleth.idp.profile.saml2.ArtifactResolution.processRequest(ArtifactResolution.java:53) at edu.internet2.middleware.shibboleth.idp.system.conf1.SAML2ArtifactResolutionTest.testArtifactResolution(SAML2ArtifactResolutionTest.java:74) Why is a SAML11 envelope being consumed by the SAML2 Profile Handler? Is this an error in the unit test, or is this an error in my understanding of the application. Thanks in advance, - Joe --
Joseph Valerio Senior Systems Programmer Yale University Technology & Planning Information Technology Services phone: 203-432-1196 email: smail: 25 Science Park, New Haven, CT 06511 |
- Unit Test fail in hack for RepsondTo Ext, Joseph Valerio, 07/10/2009
- RE: [Shib-Dev] Unit Test fail in hack for RepsondTo Ext, Scott Cantor, 07/10/2009
- Re: [Shib-Dev] Unit Test fail in hack for RepsondTo Ext, Joseph Valerio, 07/10/2009
- RE: [Shib-Dev] Unit Test fail in hack for RepsondTo Ext, Scott Cantor, 07/10/2009
Archive powered by MHonArc 2.6.16.