Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in implementing Single Sign on

 
Madhu Sudhan B T
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 806
Java MySQL Database Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Madhu can you explain your problem in a more elaborated way.
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....

 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic