Skip to Content
avatar image
Former Member

Logon Ticket Generator on EP6 for .Net Connector Application

Hi All,

We have a .Net Application which need retrieve SAP Logon Ticket for Single Sign On to Back end R/3 (IBM AIX platform) for executing RFC for application. We have solution that works for EP 5.0 on Microsoft Platform (SAP Portal EP5) which allows us to get Logon Ticket from EP5 via server to server call. This does not need to have your application on SAP Portal (iView etc)

We created an UME Proxy file which calls CreateTicket(userName) function from Portal directory Common\TicketCreator.asp. This function use /irj/servlet/prt/prtroot/InitialLogonSupport.default?IntegrityToken= link to generate ticket.

In EP6 the platform changed from Microsoft to Unix and also SAP WAS is Web server. How can I implement the same feature on EP6?

What will be location of TicketCreator function or Jsp/Servlet code which will generate the Logon Ticket? e.g.: /irj/servlet/prt/prtroot/InitialLogonSupport.default? or similar to this in EP6

The UME Proxy code page in SAP Portal server accepts user name passed from .Net Application server in Query string, after user is already authenticated on .Net Server.

This proxy page is secured only to service account so no one use this page to generate Logon ticket.

SAP: 4.7 AIX Platform

EP5: MS Windows 2000 Platform

EP6: AIX Unix Platform (Migration process)

Any help to resolve this is greatly appreciated.


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Apr 14, 2005 at 09:11 AM

    If I understood you correctly, you have a UNIX-based portal that authenticated you and want to use the authentication for a SAP .NET Connector based solution.

    In fact this is terrbibly simple: You just need to take the cookie named "MYSAPSSO2", UrlDecode it and pass it to the connection string.

    You can do more with the ticket, e.g. verify it, take the user name and so on. For this I have written an article and some code. It also mentions the integration with SAP .NET Connector. single sign-on for applications in enterprise portal 6.article

    An alternative is this article: and .net code samples for sap logon ticket verification.pdf

    If you need even more control on the ticket information transfered, thsi article could help. ume 40 in

    But note that is is a much more complicated solution.

    The last alternative is to use the .NET PDK.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 01, 2008 at 02:18 PM


    We have a dot net application and we need to connect this dot net application to ECC. What are the possible ways to do it. We have XI in but they are not planning to make use of it.

    between SAP.Net connector and Web services what could be the best possible option to follow??

    and if we use Web sevices is it better to create web services for RFC enabled function modules or BAPI's??/

    Add comment
    10|10000 characters needed characters exceeded