vincehon
asked on
2 webapps. How can a User login ONCE can access both webapps.
I have 2 webapps. appA and appB.
Usually:
1. User login via appA
2. appA put a object in the session for tracking and to determine whether the user has login or not.
3. After login, user can view pages in appA
Now I add a new app -- appB.
I want the user login in appA can also access resource in appB. i.e. user login once can access both apps. How can I do that ? I have searched some info about session sharing across Applications, but it seems dosn't work.
my appA archecture is a *.ear file contains:
- appA.war ( using struts framework)
- appA.jar ( using EJB as the business layer)
Thanks
Vince
Usually:
1. User login via appA
2. appA put a object in the session for tracking and to determine whether the user has login or not.
3. After login, user can view pages in appA
Now I add a new app -- appB.
I want the user login in appA can also access resource in appB. i.e. user login once can access both apps. How can I do that ? I have searched some info about session sharing across Applications, but it seems dosn't work.
my appA archecture is a *.ear file contains:
- appA.war ( using struts framework)
- appA.jar ( using EJB as the business layer)
Thanks
Vince
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What application Server r u going to use?
ASKER
Thx for all replies
JBoss 3.2.5
JBoss 3.2.5
http://www.ingrid.org/jajakarta/tomcat/tomcat-4.0b5/src/catalina/docs/singlesignon.html