cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to set environment variable REMOTE_USER from JSP and SHTML

Former Member
0 Kudos

HI,

Our requirement is as follows

After the user is sucessfully authenticated into enterprise Portal, the custom application running from the Apache server should read the User credentials and set the environment variable(REMOTE_USER) with the logged-in user. After which our native Portal reads the environment variable and logins accordingly.

Our Approach 1

1) After the user is sucessfully authenticated into enterprise Portal, the user clicks upon the URLiview(JSP custom Application running from the Apache server)

2) The JSP file should read the user from the portal and sets the environment variable (using the SSI technology)

Issue: we are stuck to read the logged in user from the enterprise Portal and store it in the JSP file

Our Approach 2

1) After user is sucessfully authenticated into enterprise Portal, the user clicks upon the URLiview(shtml custom Application running from the Apache server)

2) The SSI code of the SHTML file reads the cookie MYSAPSSO2 from the browser and should set the environment.

Issue: we are stuckup to read the the cookie MYSAPSSO2 since the credentials are encrypted.

we are stuck at both the options, please help us to take it forward...

Thanks & Regards,

vijay.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

...