on 09-29-2008 10:01 PM
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
You may need to implement a call back handler. Please refer section [2.8 Remote authentication|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b00a87e5-0601-0010-87a7-9c0456cf8436]
Other ways to do it: [MYSAPSSO2 cookie|] and [Zope|http://www.zope.org/Members/Dirk.Datzert/MySapSsoSupport/]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for responding to my post, I have my callbackHandler Implementation, And other ways that you have mentioned can't be implemented in my scenario since I'm not using Portals here so there is no way of accessing Request and Response objects. Unless if NetWeaver does provide some other ways to read Request and Response objects.
Thanks,
Joe.P
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.