<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div>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.</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">This is how I am trying to extract and decode the message:</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><span class="tab"> </span><span
class="tab"> </span>BasicSAMLMessageContext messageContext = new BasicSAMLMessageContext(); <br> messageContext.setInboundMessageTransport(new HttpServletRequestAdapter(httpRequest));<br> SAMLMessageDecoder decoder = new HTTPSOAP11Decoder();<br> decoder.decode(messageContext);</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">Is this the right way to decode the message? Also, is the ecp endpoint being a servlet ok?</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color:
transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: tahoma,new york,times,serif; background-color: transparent; font-style: normal;">Thanks<br></div></div></body></html>