<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 1/16/20 10:01 AM, rahul sharma
      wrote:</div>
    <br>
    <blockquote type="cite"
      cite="mid:1579186904313-0.post@n2.nabble.com">
      <pre class="moz-quote-pre" wrap="">

But how to send the prepared logout request to the IDP?
I have posted my current code in last email but It does not send any request
anywhere. If I am on right track then please tell me what I am missing or
what to do next to send the SLO req to IDP.
</pre>
    </blockquote>
    <p><br>
    </p>
    <p>The issue is not with any of the actual login flow itself that
      you described.  The issue is that the Java encoder class you are
      using to send the logout request simply requires you to supply an
      instance of VelocityEngine in order to use it.  Velocity is a
      templating framework/library and is used by OpenSAML to render the
      HTML of the POST binding you are using.  You must instantiate an
      instance of the VelocityEngine class and pass it to the encoder
      class via setVelocityEngine(...) before you call initialize() on
      the encoder instance.</p>
    <p><br>
    </p>
  </body>
</html>