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.
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....
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.