SAP Logon Ticket explained

SAP Logon Tickets represent user credentials in SAP systems. When enabled, users can access multiple SAP applications and services through SAP GUI and web browsers without further username and password inputs from the user. SAP Logon Tickets can also be a vehicle for enabling single sign-on across SAP boundaries; in some cases, logon tickets can be used to authenticate into 3rd party applications such as Microsoft-based web applications.[1]

Operation

  1. User requests access to a resource on SAP NetWeaver Application Server.
  2. Resource requires authentication.
  3. SAP NetWeaver Application Server authenticates user, with user ID and password for example.
  4. SAP NetWeaver Application Server issues an SAP Logon Ticket to the user.
  5. SAP Logon Ticket is stored in the user's browser as a non-persistent HTTP cookie.
  6. When user authenticates with another application, the user's client presents the SAP Logon Ticket.

Composition

Notable properties

Below is a short list of important properties of SAP NetWeaver Application Server Java for SAP Logon Tickets.[2]

Single sign-on

SAP Logon Tickets can be used for single sign-on through the SAP Enterprise Portal. SAP provides a Web Server Filter that can be used for an authentication via http header variable and a Dynamic Link Library for verifying SSO Tickets in 3rd party software which can be used to provide native support for SAP Logon Tickets in applications written in C or Java.

Web server filter

The filter is available from SAP Enterprise Portal 5.0 onwards. Leveraging the filter for single sign-on requires that the web-based application support http header variable authentication. The filter authenticates the logon ticket by using the enterprise portal's digital certificate. After authentication, the user's name, from the logon ticket, is extracted and is written into the http header. Additional configuration to the http header variable can done in the filter's configuration file (i.e., remote_user_alias).

Integration with identity and access management platforms

Availability

Dynamic link library

SAP provides Java and C sample files that can provide some hints how the library can be implemented in the source code of a high level programming language such as Visual Basic, C or Java.

Single sign-on to Microsoft web applications

Microsoft web-based applications usually only support the authentication methods basic authentication or windows integrated authentication (Kerberos) provided by the Internet Information Server. However, Kerberos does not work well over the internet due to the typical configuration of client-side firewalls. SSO to Microsoft backend systems in extranet scenarios is limited to the user id password mechanism. Based on the new feature called protocol transition using constrained delegation SAP developed the SSO22KerbMap Module. This new ISAPI Filter requests a constrained Kerberos ticket for users identified by valid SAP Logon Ticket that can be used for SSO to Microsoft web-based applications in the back end.[6]

Single sign-on to non-SAP Java environments

It is possible to use SAP Logon Tickets in a non-SAP Java environment with minor custom coding.[7] [8]

Integration into SAP systems

ABAP

Logon tickets allows for single sign-on into ABAP application servers.[9] However, there are prerequisites:

J2EE

Java servers allows for single sign-on into Java application servers.[10] However, there are prerequisites:

Security features

Security challenges

Alternatives to SAP logon tickets

Secure network communications-based single sign-on

Account aggregation

The Enterprise Portal Server maps user information, i.e., user id and password, to allow users to access external systems. This approach requires that to maintain changes of username and/or password from one backend application to the portal. This approach is not viable to web-based backend systems because past security updates from Microsoft no longer support handling of usernames and passwords in HTTP, with or without Secure Sockets Layer (SSL), and HTTPS URLs in Internet Explorer

The usage of account aggregation has several drawbacks. First of all it requires that a SAP portal user has to maintain a user id and password for each application that is using account aggregation. If the password in one backend application changes the SAP portal user has to maintain the stored credentials too. Though account aggregation can be used as an option where no other solution might work it causes a significant administrative overhead.

Using account aggregation to access a web based backend system that is configured to use basic authentication results in sending a URL that contains user name and password. MS04-004,[12] a security update from Microsoft published in 2004, removes support for handling user names and passwords in HTTP and HTTP with Secure Sockets Layer (SSL) or HTTPS URLs in Microsoft Internet Explorer. The following URL syntax is no longer supported in Internet Explorer if this security patch has been applied:

See also

External links

Notes and References

  1. http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/47d0cd90-0201-0010-4c86-f81b1c812e50?QuickLink=index&overridelayout=true Using SAP Logon Tickets for Single Sign on to Microsoft based web applications
  2. http://help.sap.com/saphelp_nw70/helpdata/en/5e/473d4124b08739e10000000a1550b0/frameset.htm Logon Ticket
  3. http://www.ibm.com/developerworks/tivoli/library/t-authsaptam/index.html Authenticating a SAP login ticket in Tivoli Access Manager e-business WebSEAL
  4. http://docs.sun.com/source/816-6772-10/sapits.html Single Sign-On Solution for SAP Internet Transaction Server 2.0
  5. http://help.sap.com/erp2005_ehp_04/helpdata/EN/22/bf642724ca20418924e57c51412191/frameset.htm Ticket Verifier Technical Components
  6. http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/47d0cd90-0201-0010-4c86-f81b1c812e50?QuickLink=index&overridelayout=true Using SAP Logon Tickets for Single Sign-On
  7. http://trick77.com/2008/02/07/validating-sap-logon-tickets-with-java/ Validating SAP Logon Tickets with Java
  8. http://www.zope.org/Members/Dirk.Datzert/MySapSsoSupport/ MySAP SSO Support
  9. http://help.sap.com/erp2005_ehp_04/helpdata/EN/f8/18da3a82f9cc38e10000000a114084/frameset.htm Using Logon Tickets
  10. http://help.sap.com/erp2005_ehp_04/helpdata/EN/53/695b3ebd564644e10000000a114084/frameset.htm Using Logon Tickets for Single Sign-On
  11. http://www.w3.org/Security/Faq/wwwsf2.html W3 Security FAQ on Browser Cookies
  12. http://support.microsoft.com/kb/832894 MS04-004: Cumulative Security Update for Internet Explorer