开发者

single sign on for different applications. in J2EE applications

开发者_StackOverflow

i have 4 application and different technologies(php,.net and java) and 4 application having different database,and diff login page.

i want to create a login page so that all four application have only one login page and after the login from newly created page it skip login page of 4 application and next page after login must be displayed.


You should be looking at Single Sign On technologies.

SAML (security assertion markup language) is one ingredient technology that could solve such requirements. You would have a portal acting as a SAML Identity Provider, and your applications become SAML Service Providers. Many open source and commercial products are available that implement SAML that can help you integrate it.


Set a cookie from one of your application and check from the other applications whether the cookie is set for the correct domain. You can set the cookies value as the the currently logged in username.

So other applications can "trust" that and bypass login.

This is how we achieved single signon between our app and IBM Cognos.

Checkout this discussion for more details. - SSO between Java EE and Cognos application

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜