Skip to Content
author's profile photo Former Member
Former Member

MYSAPSSO2 cookie for SAP logon tickets

Hi All,

I am trying to configure SSO using SAP logon tickets for EP 7.0. I want to test whether login ticket is generated when user logs in to portal . For that i have configured Login module stack such as j2ee engine will create and accept login tickets

I have set following properties for sap-j2ee-engine component

Login Modules Flag

EvaluateTicketLoginModule SUFFICIENT

BasicPasswordLoginModule REQUISITE

CreateTicketLoginModule OPTIONAL

But when i access the portal i am unable to find MYSAPSSO2 cookie generated on my machine under cookies folder.

Where can i see MYSAPSSO2 cookie or am i missing somthing to set up SSo?

Thanks in advance,

Arati.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 01:51 PM

    Hi Arati,

    you can alo show the cookie with standard Firefox. Tools -> Options -> Privacy -> Show Cookies. If your Portals hostname is host.domain.com, in the cookies window of Firefox you will find a folder named host.domaincom and a folder named domain.com. You will find the MYSAPSSO2 cookie under domain.com.

    Hope it helps,

    Christian

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2009 at 02:33 PM

    Hello Arati,

    you chould also check the logged in users temporary internet files

    something like "C:\Documents and Settings\modgil\Cookies"

    Hope this helps.

    Regards,

    Gaurav Modgil

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 08, 2009 at 05:19 PM

    Hi,

    the SAP Logon Ticket is a session cookie. It will never get written to the filesystem. To check if the logon ticket is created, you'll need a tool that can show you the content of the browser cookies.

    "The logon ticket is stored as a non-persistent cookie in the useru2019s Web browser with the name MYSAPSSO2. It is deleted when the user logs off or closes his or her Web browser."

    SAP Help: http://help.sap.com/saphelp_nw04/helpdata/en/53/695b3ebd564644e10000000a114084/content.htm

    br,

    Tobias

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 09, 2009 at 04:40 AM

    Arati,

    You will need to use Http-Watch to verify the cookie is getting generated, because as Tobias pointed out MYSAPSSO2 cookie is browser based (transient) and its not a persistent cookie.

    Alternatively to see your cookie in browser try following steps:-

    1. Change the ume.logon.httponlycookie parameter to false as mentioned [here |http://help.sap.com/saphelp_nw70/helpdata/en/5e/473d4124b08739e10000000a1550b0/content.htm]

    2. Now logon to Portal and preview the required SSO application. Now in address bar of your browser type

    javascript:document.cookie;

    and it should you all the cookies set the portal such as saplb, jsessionid etc.

    Chintan

    Add a comment
    10|10000 characters needed characters exceeded

    • Arati,

      Since you are able to bring the second Portal without logon, it means that your SSO is working.

      And regarding cookie not displayed in browser did you change the setting I mentioned, if not please do that.

      Alternative solutions are already shared by Tobias and me.

      And what's real reason why do you want to verify the cookie in browser !!

      Chintan

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.