简体   繁体   English

WSO2身份服务器实现,用于单一部署在不同的Tomcat服务器上的多个Web服务

[英]WSO2 identity server implementation for single sing on for multiple web services deployed on different tomcat server

I am trying to implement wso2 single sign login. 我正在尝试实现wso2单点登录。 I have more than 5 web service. 我有5个以上的Web服务。 deployed on two different tomcat servers. 部署在两个不同的tomcat服务器上。

I have also tried your below tutorial 我也尝试过下面的教程

http://wso2.com/library/articles/2010/07/saml2-web-browser-based-sso-wso2-identity-server/ http://wso2.com/library/articles/2010/07/saml2-web-browser-based-sso-wso2-identity-server/

and what i am able to do is successfully redirection when my web service is hit. 而且我能做的就是在命中我的Web服务时成功重定向。 But it redirects me to the WSO2 login page ( as I have configure wso2 SAML service provider ). 但这会将我重定向到WSO2登录页面(因为我已经配置了wso2 SAML服务提供商)。 And after correct username password its showing me you are logged in as admin. 并在输入正确的用户名密码后向我显示您以管理员身份登录。

What I need is a way so instead of redirecting to the identity server for login , I can pass username and password in my request only(from web service) and wso2 identity manager receive it check it and give me back the response. 我需要的是这样一种方法,而不是重定向到身份服务器以进行登录,我可以仅在请求中(从Web服务)传递用户名和密码,然后wso2 Identity Manager会对其进行检查并将其返回给我。 From response I should be able to identify the user is correct or not and if he tries to use another web service he should be able to do it (sso impl). 从响应中,我应该能够确定用户是否正确,并且如果他尝试使用另一个Web服务,那么他应该能够做到(sso impl)。

I just need the way of implementation not whole code. 我只需要实现方式而不是整个代码。

This is the official documentation on how you can configure WSO2 Identity Server to work with STS. 是有关如何配置WSO2 Identity Server与STS一起使用的官方文档。 You will be able to implement your scenario with this. 您将能够以此实现您的方案。

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

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