Topic: 多个web应用程序怎样实现只登录一次?

  Print this page

1.多个web应用程序怎样实现只登录一次? Copy to clipboard
Posted by: fivegg
Posted on: 2003-06-06 11:45

实现只需要登录其中一个web app ,其他的web app就获得授权,不需要登录(同时不包含登录页面)

2.Re:多个web应用程序怎样实现只登录一次? [Re: fivegg] Copy to clipboard
Posted by: FinalFantasy
Posted on: 2003-06-07 04:33

我觉得,用session保存密码,就可以了。密码加密或者不加密都可以。看你的需要。

3.Re:多个web应用程序怎样实现只登录一次? [Re: fivegg] Copy to clipboard
Posted by: hawker
Posted on: 2003-06-07 09:35

对于一些应用服务器,可以使用服务器认证的方式,服务器认证一次以后,就可以授权用户可以访问相关的应用资源了。
对于多个应用服务器要实现一次登陆,建议使用统一的目录服务作为用户认证和授权的中心服务器,并且现在大多数服务器都支持这种方式进行验证。
详细的信息,可以参考Novell公司的相关文档。

4.Re:多个web应用程序怎样实现只登录一次? [Re: hawker] Copy to clipboard
Posted by: 牛老板
Posted on: 2003-06-07 09:46

先拿tomcat练练手,读读HOW_TO,其中有关于认证登录的介绍。

例子就是其中的/admin及/manager/html

5.Re:多个web应用程序怎样实现只登录一次? [Re: fivegg] Copy to clipboard
Posted by: richardluopeng
Posted on: 2003-06-12 19:19

所谓sso,呵呵

楼上的,tomcat中可以吗,没有仔细看过

6.Re:多个web应用程序怎样实现只登录一次? [Re: fivegg] Copy to clipboard
Posted by: guru
Posted on: 2003-06-13 10:14

extract the security management from the application, wirte your security management code as a kind of services in a lower layer for all system.

7.Re:多个web应用程序怎样实现只登录一次? [Re: fivegg] Copy to clipboard
Posted by: shod
Posted on: 2003-06-17 22:12

也可用cookie

8.Re:多个web应用程序怎样实现只登录一次? [Re: fivegg] Copy to clipboard
Posted by: floater
Posted on: 2003-06-18 01:44

In summary, here are the ways to do so:

1. SSO(single sign-on) software, like IBM Access Manager, Securant ClearTrust. These packages are commercial(translate to money, in other words). They work across web applications.
2. write your code, there are two ways:
- save the user login info on the server side, like LDAP, db
- save the user login info on the client side, ie, cookies
(or save on both sides, but I don't see anyone doing that).

There is no magic here, so you could figure out most of the logic here and choose your way to go. The cookie way is simpler than the server-side way.

my 2 cents.


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923