aspose file tools*
The moose likes Other Application Frameworks and the fly likes Problem regarding Single SignOn between two java application. Application server is NetWeaver AS Jav Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Problem regarding Single SignOn between two java application. Application server is NetWeaver AS Jav" Watch "Problem regarding Single SignOn between two java application. Application server is NetWeaver AS Jav" New topic
Author

Problem regarding Single SignOn between two java application. Application server is NetWeaver AS Jav

Brij Garg
Ranch Hand

Joined: Apr 29, 2008
Posts: 234
Hi,
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


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem regarding Single SignOn between two java application. Application server is NetWeaver AS Jav