delegation, problem at step 2.7

Scott Koranda skoranda at gmail.com
Thu May 17 22:27:45 BST 2012


> On 5/17/12 12:32 PM, Cantor, Scott wrote:
> >
> > PAOS spec:
> > http://www.projectliberty.org/liberty/content/download/1219/7957/file/liber
> > ty-paos-v1.1.pdf
> >
> 
> OK, did that ... here's curl running in verbose mode, with the PAOS 
> Content−Type added:
> 
> curl_command = curl --verbose --insecure -c /tmp/tmp.srXLK16077 -b 
> /tmp/tmp.srXLK16077  -X POST -d @/tmp/tmp.PDBpr16095  -H "Content−Type: 
> application/vnd.paos+xml" 
> http://stc-test3.cis.brown.edu/Shibboleth.sso/SAML2/ECP
> 
> * About to connect() to stc-test3.cis.brown.edu port 80
> *   Trying 128.148.46.20... connected
> * Connected to stc-test3.cis.brown.edu (128.148.46.20) port 80
>  > POST /Shibboleth.sso/SAML2/ECP HTTP/1.1
>  > User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 
> OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

That is a relatively old version of curl.

Using version 7.21.0 I only see 

Content-Type: application/vnd.paos+xml

as the only Content-Type header going up.

Can you test with a more recent version of curl/libcurl?

Scott K

>  > Host: stc-test3.cis.brown.edu
>  > Accept: */*
>  > Content−Type: application/vnd.paos+xml
>  > Content-Length: 7278
>  > Content-Type: application/x-www-form-urlencoded
>  > Expect: 100-continue
>  >
> 
> but, unfortunately, I'm still getting
> 
> > <p class="error">opensaml&#58;&#58;BindingException at
> > (http&#58;//stc-test3.cis.brown.edu/Shibboleth.sso/SAML2/ECP)</p>
> >
> > <p>Invalid content type for PAOS message.</p>
> 
> It appears that curl might be generating the 
> application/x-www-form-urlencoded Header... I've asked about that on the 
> curl list....
> 
> My shibd log says:
> 
> > WARN OpenSAML.MessageDecoder.SAML2ECP [3]: ignoring incorrect content type (application/x-www-form-urlencoded)
> 
> and then stops.... is shibd not acting on the Content−Type: 
> application/vnd.paos+xml Header ?
> 
> or is there something else I have to do ?
> 
> Thanks!
> --
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list