Demo authentication request

Marko Pipan pipan.marko at gmail.com
Wed Nov 9 13:41:07 GMT 2011


Greetings,

I'm trying to manually trigger an UsernamePassword login authentication 
on the Identity Provider.

According to the SWITCH demo at 
http://www.switch.ch/aai/demo/2/expert.html, the Service Provider 
returns a html form with a nested base64 encoded SAML request, which is 
then auto-submitted to the IDP (steps 4-5).

However, if I try to manually post a form like the one in the demo (at 
http://www.switch.ch/aai/demo/2/resources/expert_authNreq.htm) to 
/idp/profile/SAML2/POST/SSO, the IDP throws this exception:

11:24:17.833 - WARN 
[edu.internet2.middleware.shibboleth.idp.profile.saml2.SSOProfileHandler:312] 
- Error decoding authentication request message 
org.opensaml.ws.message.decoder.MessageDecodingException: Unable to 
unmarshall message, no unmarshaller registered for message element 
{urn:oasis:names:tc:SAML:2.0:protocol}authnrequest
         at 
org.opensaml.ws.message.decoder.BaseMessageDecoder.unmarshallMessage(BaseMessageDecoder.java:176) 
[openws-1.3.0.jar:na]
         ...

Is there a problem with that request? If so, could you provide me with 
an example of a correct one?

Regards,
Marko


More information about the users mailing list