• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Problem in implementing Single Sign on

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 806
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Madhu can you explain your problem in a more elaborated way.
 
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....

 
Saloon Keeper
Posts: 28254
198
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
This is my favorite tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic