Authentication and Single Sign-On
Authentication and Single Sign-On
Authentication and Single Sign-On
Single Sign-On
Patrick Hildenbrand
NW PM Security, SAP AG
Agenda
Summary
from whom the second party has received some communication is,
or is not, the claimed first party.
CRM
Intranet
Authentication to:
Portal Internet
ERP
WebAS
c e s s
Local system Ac
Groupware Other...
Authenticate
only once
© SAP AG 2005, Authentication and Single Sign On / Patrick Hildenbrand / 4
Why Use Single Sign-On?
Typical situation
In a complex system landscape an employee has many user IDs with
different passwords
Different procedures for each system to roll-out, reset and change
new / existing passwords
Users find continuous password changing for many systems annoying
Problems
High administration cost and effort
Security risk: Users write passwords down and store them
where they can easily be found
Portal
WebAS
CRM
ITS Intranet
Internet
Access ERP
Groupware Other...
Authenticate
once
© SAP AG 2005, Authentication and Single Sign On / Patrick Hildenbrand / 6
What the Administrator Wants …
Summary
Anonymous/guest access
User ID / password
Form-based *
Basic authentication *
Java SAP WebAS 640 Java or SAP Enterprise Portal 6 > SP3
* Only authentication, not Single Sign-On
© SAP AG 2005, Authentication and Single Sign On / Patrick Hildenbrand / 9
X.509 Client Certificates – SSO Process
ERP Internet
SL
S
L
SS
Access
SSL
Groupware Other...
Private Private
Public Public
Secret Secret
5 4
Verifies naming conventions Send approved certificate
and issues certificate request
Web
Browser
Log on using SAP user ID and password and
1 Portal
initiate the SAP Passport request
Server
2 Specify naming convention and trigger key
generation
Portal
WebAS CRM
Intranet
ITS
Access
Groupware Other...
Problems?
SAP Note 701205 (EP6.0: Single Sign-On using SAP Logon Tickets)
SAP Note 654982 (URL requirements due to Internet standards )
Prerequisites
At least same user IDs in connected backend systems
(portal user ID can be different)
In case portal user ID is different than backend user ID, you need
to maintain a user mapping for the ”SAP Reference System”
Trust configured
Public key certificate of issuing system is available in verifying system
(Æ necessary for verification of digital signature)
Trust access control lists maintained (ABAP: strustsso2)
Portal
mySAP.com
WebAS user ID
Access 2 3 4
Initial
1
logon Ticket Verification Library Access Control List
SAPSSOEXT
Workplace server <SID>
Security product <client>
(SAPSECULIB)
Recommendation:
Use one DNS (sub-) domain for SSO purposes (Æ increased security!)
E.g. portal.sso.company.com, its.sso.company.com, …
Set UME property ”domainrelaxlevel” accordingly
ERP Internet
Initial
Access
logon
Groupware Other...
[…] […]
HTTP-USER: MyUser
Requirement:
Applications need to run on an IIS
or
authentication needs to be done on an intermediate IIS (using IIS Proxy
module from SAP) Æ available for SAP WebAS Java 6.40
Coming soon:
SAP Consulting solution for Kerberos Authentication directly on WebAS 6.40 Java
J please contact your local SAP consulting organization
SSL
SAML relies for message exchange on standard security protocols like SSL,
TLS and uses XML signatures
4. Pull assertion
3. Access
6. Resource
Support limited
Only browser artifact scenario supported
Digital signatures for SOAP documents are ignored
No support for additional “Condition” elements
The received assertion may only contain one authentication statement
The authentication statement must contain the NameIdentifier
AuthorizationDesicionStatement and AttributeStatement are ignored
RSA SecureID
Netegrity Siteminder
...
External SAP
User ID System
Auth.
Mech. User ID
Authentication
(User ID and Password) User ID
Web
server AGate
WGate
Alice sapextauth SAP
Alice System
User ID
LDAP bind
External SAP
Auth. User ID System
Mech. User ID
Authentication
(User ID and Password)
User ID
Web
server AGate
WGate
Alice sapextauth SAP
Alice System
User ID
http://java.sun.com/products/jaas
J2EE
Browser
Browser
Window
Window
External External
security product security product
(optional)
Summary
SAP
SAP GUI
GUI for
for
Windows
Windows
External External
security product security product
Traditional
Secure Network Communications (SNC)
SNC partner product
SNC: Microsoft NTLM or Kerberos
SAP Shortcut Method (SAP Logon Ticket)
SAP GUI for Windows
SAPGUI
SAPGUI for
for
HTML
HTML
Web
server AGate R/3
WGate Alice Alice
sapextauth
https://host1.mycompany.com/scripts/wgate/wngui/!?~transaction=SU01
Start SAP
Alice Shortcut Alice
SAPGUI
SAPGUI for
for
Only supported on external ITS up to release 6.10 !
Windows
Windows
© SAP AG 2005, Authentication and Single Sign On / Patrick Hildenbrand / 37
SSO From Web to Traditional – Enterprise Portal
Browser
Browser
Window
Window
Alice
EP
https://host1.mycompany.com/irj/...
Start SAP
Alice Shortcut
Alice
R/3
SAPGUI
SAPGUI for
for
Windows
Windows
© SAP AG 2005, Authentication and Single Sign On / Patrick Hildenbrand / 38
Prerequisites
1) Users have the same user ID in all of the systems they access using the logon
ticket. Passwords do not have to be the same in all systems.
2) The user has an account in the active user store on the SAP J2EE Engine.
3) The end users Web browsers accept cookies. In Internet Explorer 5.0, accept
session cookies for the local intranet zone.
4) Any Web servers or SAP Web AS servers (to include the SAP J2EE Engine) that
are to accept the logon ticket as the authentication mechanism are located in the
same DNS domain as the issuing server. The logon ticket cannot be used for
authentication to servers outside of this domain.
5) The clocks for the accepting systems are synchronized with the ticket-issuing
system.
If you do not synchronize the clocks, then the accepting system may receive a logon
ticket that is not yet valid, which causes an error.
6) The issuing server must possess a public and private key pair and public-key
certificate so that it can digitally sign the logon ticket.
7) Systems that accept logon tickets must have access to the issuing server's public-
key certificate so that they can verify the digital signature provided with the ticket.
8) The UMEs of the Portal and Web Dynpro systems are set up to authenticate users
against the ABAP system.
2. Integrate the iView in a role and assign the role to your user.
Summary
or
d Web access SAP Applications
management
w
P as
s
NT Enterprise
products
/ LM
s er
I d Portal
U
Ker
ber
os
o n T icket
L og
SAP
X.50
9 Certi
f ic ate
Art ifact
SAML
WAM
T oken
- Plug-In / Agent
© SAP AG 2005, Authentication and Single Sign On / Patrick Hildenbrand / 44
Single Sign-On Possibilities
PKI
X.509 certs? Use PKI
Integrated
Windows Use Integrated Windows authentication
Auth.?
SAP Logon
Use SAP Logon tickets
tickets?
Î Public Web:
www.sap.com
SAP Developer Network: www.sdn.sap.com Î SAP NetWeaver Î Security
The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose
without the express prior written permission of SAP AG.
This document is a preliminary version and not subject to your license agreement or any other agreement with SAP. This document contains only intended
strategies, developments, and functionalities of the SAP® product and is not intended to be binding upon SAP to any particular course of business, product
strategy, and/or development. Please note that this document is subject to change and may be changed by SAP at any time without notice.
SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or completeness of the information, text, graphics,
links, or other items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited
to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement.
SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of
these materials. This limitation shall not apply in cases of intent or gross negligence.
The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you may access through the use of
hot links contained in these materials and does not endorse your use of third-party Web pages nor provide any warranty whatsoever relating to third-party Web
pages