• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger
  • Frits Walraven

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

Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic