ECP profile implementation in IDP....receive AuthnRequest

Mitu Singh mitusingh27 at yahoo.com
Thu Dec 20 19:52:57 EST 2012


I am trying to receive an AuthnRequest from an ECP Client (who in turn received it from SP). The endpoint in the IDP is a servlet. It receives a request. When I try to get the messagecontext from the request object, I get error.

This is how I am trying to extract and decode the message:

         BasicSAMLMessageContext messageContext = new BasicSAMLMessageContext();        
        messageContext.setInboundMessageTransport(new HttpServletRequestAdapter(httpRequest));
        SAMLMessageDecoder decoder = new HTTPSOAP11Decoder();
        decoder.decode(messageContext);

Is this the right way to decode the message? Also, is the ecp endpoint being a servlet ok?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20121220/5760318e/attachment.html 


More information about the dev mailing list