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

Sending SAP Logon Ticket from another system

Hello,

i want to use for authentication of a webapplication sap logon tickets. The ticket to be used is the one for our R/3 System. How can i attach this ticket when calling the url of the webapplication?

regards,

Marco

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2005 at 10:12 AM

    Hi Marco,

    Are you using java HttpURLConnection to call the URL of the web application? If yes, then just call the "enrich" method on the credentials object, passing it the HttpURLConnection. The "enrich" method will update the URL with the SAP Logon ticket.

    I hope this helps.

    Akhilesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Akhilesh,

      thanks. If i use the enrich method on the HttpURLConnection, a SAP Logon Ticket is added, ok. But how can i choose the system the ticket should be created for, to be able to choose the userid set within the ticket?

      regards,

      Marco

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2005 at 08:56 AM

    Hi Marco,

    The SAPLogon ticket is not created for a system. The logon ticket is so called "universal" i.e. independent of the system that will use it. It is upto the backend system to read and understand this SAPLogon ticket.

    I hope this somewhat clarifies your doubt.

    Akhilesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      so you want the SAP logon ticket to have the userid/password specified in the usermapping, and then your backend system will extract it from the ticket. I do not think this is possible using the "enrich" method.

      Very sorry i could not be of much help in this.

      This really is an intersting thing that you are trying to do. If you find a solution do let me know.

      Thanks, Akhilesh

  • author's profile photo Former Member
    Former Member
    Posted on Jan 20, 2005 at 11:13 PM

    Hi marco ,

    I am not so sure if using HttpURLConnection is mandatory for your requirement, but if it is not I think AppIntegrator could solve your problem. Please take a look at the below given document.

    https://media.sdn.sap.com/html/submitted_docs/Best_Practices/EP/documentation/How-to_Guides/25_HowToUseAppIntegrator_en.pdf

    Regards

    Pallayya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 11, 2005 at 03:38 PM

    Hello Marco,

    as I know the SAP ticket contains two User-IDs, the logon UID from portal and an ID of the SAP reference system. The SAP Enterprise Portal Security Guide says

    "When you use SAP logon tickets for Single Sign-On to SAP Systems, users must have the

    same user IDs in all SAP Systems that are configured to use SAP logon tickets. If the SAP

    user IDs are different to the portal user IDs, you must define an SAP reference system. Users

    then map their portal user ID to the user ID in the SAP reference system.

    The mapped user ID is included in the SAP logon ticket and enables Single Sign-On using

    logon tickets to all SAP Systems in which the user has the same user ID."

    We use this mechanism with success to access our SAP systems with an (for them) unknown Portal account.

    Hope this will help you

    Wolfgang

    Add a comment
    10|10000 characters needed characters exceeded

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.