Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Reading MYSAPSSO2 Cookie using HttpGetterCallback

Hi,

I've custom login module where I'm trying to read the existing SSO ticket and re authenticate and validate it if for returning users. For some reason I was not able to get the Cookie value using HttpGetterCallback. Here is the code I'm calling with my Code.

HttpGetterCallback getterCallback = new HttpGetterCallback();

getterCallback.setType(HttpCallback.COOKIE);

getterCallback.setName("MYSAPSSO2");

String token = (String)getterCallback.getValue();

This always returns null I see in the browser there do exists a cookie. Am I doing something wrong here. Any help is really appreciated.

Thanks,

Joe.P

Not what you were looking for? View more on this topic or Ask a question