Solved

2 webapps. How can a  User login ONCE can access both webapps.

Posted on 2004-10-26
184 Views
Last Modified: 2010-03-31
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
0
Question by:vincehon
    4 Comments
     
    LVL 86

    Expert Comment

    by:CEHJ
    0
     
    LVL 8

    Accepted Solution

    by:
    0
     
    LVL 13

    Expert Comment

    by:petmagdy
    What application Server r u going to use?
    0
     

    Author Comment

    by:vincehon
    Thx for all replies

    JBoss 3.2.5
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    Title # Comments Views Activity
    only14 challenge 19 52
    tripleUp challenge 7 45
    Using object mapper in spring web application 8 28
    array220 challenge 8 13
    INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    The viewer will learn how to implement Singleton Design Pattern in Java.
    This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

    884 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now