On Thu, Oct 29, 2015 at 10:38 AM, Sajith Abeywardhana <[email protected]>
wrote:

> Hi Devs,
>
> I'm in the process of updating IS version 4.5.3 to 5.0.0 in APPM. When I'm
> doing this I found below API change. Please assist me to resolve this.
>
> In IS-4.5.3 there is a API as,
> *org.wso2.carbon.identity.sso.saml.stub.types.SAMLSSOServiceProviderDTO.setLogoutURL(String
> logoutUrl);*
>
> But in IS-5.0.0 I couldn't found it. How should I resolve this?
>

Simple solution would be to call setSloResponseURL() and setSloRequestURL()
both with the same value "logoutUrl".

Following explain what each method does,

1. (mandetory) acs url : This is the default URL which send SAML login
response(assertion) and the Logout response.
2. (optional) slo response url : If we define this, it will override the
behavior of #1 by sending the logout response to the URL specified here.
3. (optional) slo request url : If an other SP sent SLO request, this is
the URL IS use to send the logout request this particular SP.

Usually service providers we develop (management console\Jaggery apps) use
same url for all three events above.

So you can call,
* setAssertionConsumerUrls() method to set #1
* setSloResponseURL() method to set #2
* setSloRequestURL() method to set #3

Earlier we didn't have separates method to set 2 and 3 individually. With
the latest code now we can set those separately.

Thanks,


>
>
> *Sajith Abeywardhana* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka.
> Mobile: +94772260485
> Email: [email protected] | Web: www.wso2.com
>



-- 
Regards,


*Darshana Gunawardana*Senior Software Engineer
WSO2 Inc.; http://wso2.com

*E-mail: [email protected] <[email protected]>*
*Mobile: +94718566859*Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to