[英]SSO between two web app deployed on the same server
I have two say(web1 and web2) web app in weblogic deployed on the same server.web2 is accessible only if user login into web1 if user tries to hit web 2 without login in tp web 1 it should redirect to web 1 login page.currently i am doing by keeping variable in servlet context. 我在同一个服务器上部署了weblogic中的两个say(web1和web2)Web应用程序。仅当用户登录到web1时才能访问web2,如果用户尝试不登录tp web 1而访问web 2,则应重定向到web 1登录页面。目前,我正在通过在servlet上下文中保持变量来做。 Please suggest me correct way to do this.
请建议我正确的方法。 note:I am using security realm authenticator as well in web1.
注意:我也在web1中使用安全领域身份验证器。
我建议您实施一个安全框架,例如Spring http://static.springsource.org/spring-security/site/index.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.