• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic