aspose file tools*
The moose likes JSP and the fly likes Problem in implementing Single Sign on Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem in implementing Single Sign on" Watch "Problem in implementing Single Sign on" New topic
Author

Problem in implementing Single Sign on

Madhu Sudhan B T
Greenhorn

Joined: Nov 18, 2009
Posts: 21
Hi All,

I have requirement of single sign on. The requirement is we have two web applications(Application A and Application B) developed and we need to integrate both the applications.

Task that needs to be performed is, in Application A, I will login with username and password , after sucessfull login I will query the database based on the entered username and password and fetch the corresponding username and password for the application B. Once I have got the username and password for the application B, I have to login dynamically without user interaction to application B.

I have completed all the task except logging to application B automatically and I am stuck here. I am able to launch the application B login page from application A and the moto is to avoid user again entering the username and password for the application B

To explain in simpler terms, I have username and password in hand and need to login to an webapplication using the username and password without user interaction. The java code has to enter the username, password and login to the webapplication.

Can anyone please help me out in resolving this issue and your help would be highly appreciated.

Thanks and Regards,
Madhu
chaitanya karthikk
Ranch Hand

Joined: Sep 15, 2009
Posts: 806

Hi Madhu can you explain your problem in a more elaborated way.


Love all, trust a few, do wrong to none.
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 368
Hi Madhu ,

Application A & Application B having same users(that mean if I will create username password for one of those app then automatically second app can login using same username password...)
Your are able to show login page of Application B, that login page is of which type(JSP,HTML) can you please tell....
so we can help you for that....


Thanks,
Shailesh
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

The only thing worse than inventing your own security system is inventing one that has to interact between two discrete applications. This is NOT an AYHTDI (All You Have To Do Is...) task.

If you use container-based security, you can jack in one of the SSO security modules that are already prewritten and predebugged and not only get most of the security support out of your business objects, but also free them from needing to know about other apps that may also be sharing the SSO domain.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in implementing Single Sign on