简体   繁体   English

如何在Java中使用WAAD实现单点注销?

[英]How to implement Single Sign Out with WAAD in Java?

I have implemented Single Sign On with Windows Azure Active Directory in a Java web app by following the code sample and this topic . 通过遵循代码示例本主题,我已经在Java Web应用程序中使用Windows Azure Active Directory实现了单点登录。 How can I implement Single Sign Out with WAAD in Java? 如何在Java中使用WAAD实现单点注销? I can't find any useful topic. 我找不到任何有用的主题。

From the sample, we can find out the Single Sign On URL is: 从示例中,我们可以发现单一登录URL为:

https://login.windows.net/common/wsfed?wa=wsignin1.0&wctx=&id=passive&wct=${ISO_DATE_TIME_FORMAT_UTC}&wtrealm=${ENCODED_APP_ID_URI}&wreply=${ENCODED_REPLY_URL}

So the Single Sign Out URL is: 因此,单一登出网址为:

https://login.windows.net/common/wsfed?wa=wsignout1.0&wctx=&id=passive&wct=${ISO_DATE_TIME_FORMAT_UTC}&wtrealm=${ENCODED_APP_ID_URI}&wreply=${ENCODED_REPLY_URL}

The difference is the value of the parameter "wa". 区别在于参数“ wa”的值。 Of course, we should replace "${...}" with proper values. 当然,我们应该将“ $ {...}”替换为适当的值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM