• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Problem in implementing Single Sign on

 
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
 
Ranch Hand
Posts: 806
MySQL Database Spring Java
  • Mark post as helpful
  • send pies
  • 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
  • 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....

 
Bartender
Posts: 20983
128
Android Eclipse IDE Tomcat Server Redhat Java 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.
 
Then YOU must do the pig's work! Read this tiny ad. READ IT!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!