cancel
Showing results for 
Search instead for 
Did you mean: 

SSO between Webdynpro and JSP

Former Member
0 Kudos

Hi,

I need to invoke a jsp from my webdynpro application.

I used standard JCO to connect from the JSP to SAP. So i need to pass the MYSAPSSO2 to the jsp.

Now the JCO.createclient expects a value based on base64 but the MYSAPSSO2 that i have in the session is .der based.

Is there some way to transform the cookie ? or any other solutions for this.

Regards,

Balaji

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

in your jsp:

<%@ page import="java.net.URLDecoder" %>

String decodedTicket = URLDecoder.decode(<MYSAPSSO2 value>);//java 1.3

String decodedTicket = URLDecoder.decode(<MYSAPSSO2 value>, "UTF-8");//java 1.4