I hope this is the right community to post my problem related to Java application connectivity from another java application running on netweaver AS.
This problem is regarding SSO (Single SignON).
My java appliation (uploadphoto) is getting invoked from another java application. Both these applications as hosted on same server.
when user who has already logged on to first java application, tries to upload his profile photo, he clicks on some button (upload photo) and my application gets invoked.
Now since user has already logged in to first application, I do not want user to login again when he is taken to uploadphoto application.
uploadphoto application is then making connection to SAP server and storing the photo (uploaded by user) to SAP server.
There is already one cookie MYSAPSSO2 available on netweaver when my application is getting invoked. This cookie is having all the credentials to login to SAP server.
I am trying to read this cookie when uploadphoto is getting invoked.
code to read the cookie is given below
this cookie is available, but still my application uploadphoto is not able to read this cookie.
I need to red this cookie to make the connection with SAP. this cookie is having details about user id and password in encrypted format which is required to make connection with the SAP server.
I hope I have correctly explained my problem
Any kind of input will be highly appreciated.
Thanks in advance
subject: Problem regarding Single SignOn between two java application. Application server is NetWeaver AS Jav