Skip to Content.
Sympa Menu

mace-opensaml-users - java-opensaml2 JUnit failure - org.opensaml.saml1.binding.decoding.HTTPPostDecoderTest

Subject: OpenSAML user discussion

List archive

java-opensaml2 JUnit failure - org.opensaml.saml1.binding.decoding.HTTPPostDecoderTest


Chronological Thread 
  • From: "Clifford Johnson" <>
  • To: <>
  • Subject: java-opensaml2 JUnit failure - org.opensaml.saml1.binding.decoding.HTTPPostDecoderTest
  • Date: Fri, 11 Jan 2008 13:31:28 -0800

The single test case in this class fails (in my environment) with the following details:

 

org.opensaml.saml1.binding.decoding.HTTPPostDecoderTest#testDecode

 

junit.framework.ComparisonFailure: expected:<relay> but was:<null>

    at org.opensaml.saml1.binding.decoding.HTTPPostDecoderTest.testDecode(HTTPPostDecoderTest.java:47)

 

The failure is the result of BasicSAMLMessageContext.getRelayState method returning null instead of the expected value.  The expected value is set in a “TARGET” parameter.  Should this be the “RelayState” parameter instead (which is where HTTPPostDecoder expects to find it)?

 

Clifford

 



  • java-opensaml2 JUnit failure - org.opensaml.saml1.binding.decoding.HTTPPostDecoderTest, Clifford Johnson, 01/11/2008

Archive powered by MHonArc 2.6.16.

Top of Page