Problem in Logout request for Post binding
Brent Putman
putmanb at georgetown.edu
Thu Jan 16 15:39:36 EST 2020
On 1/16/20 10:01 AM, rahul sharma wrote:
>
> 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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20200116/97618055/attachment.html>
More information about the dev
mailing list