Part 1 : Single sign on from Fiori Application to SAP Gateway via SAP Cloud Platform API Management

Single sign on or principal propagation is the ability of a system to securely forward or propagate the identity of the user or principal from a sender to a receiver, in a way that the forwarded user information is kept confidential and is not changed during transit. Based on pre-established trust relationship to the sender, the receiver uses this information to logon the user without asking for the user credentials or logon again.

The diagram below shows the user principal flow from Fiori Applications to the on-premise SAP Gateway or Backend system for APIs protected via SAP Cloud Platform API Management.

To establish such a user propagation, the trust would have to established between the Fiori application account and SAP Cloud Platform API Management which is done via certificate exchanges.  On the SAP Gateway system, SAP Cloud Platform API Management is on boarded as a trusted SAML Identity Provider so that SAML assertion generated by SAP Cloud Platform API Management can be validated and processed on the SAP Backend system. The SAML assertion passed from the Fiori application is validated using the certificates imported in SAP Cloud Platform API Management account. After the assertion is validated, the user’s identity is read and then a short lived SAML assertion is generated from SAP Cloud Platform API Management.   The SAML response containing the SAML assertion can then be base64 encoded and passed in the following format authorization header to the SAP Gateway OData APIs.

Header Name

Format

Authorization

SAML2.0 base64_encoded_saml_response

In SAP Cloud Platform, API Management Validate SAML Assertion Policy can be used to validate the SAML assertion passed from the Fiori application to the SAP Cloud Platform, API Management. At a high level, a SAML validation flow would consist of the following steps: –

* Raise a 401 security error in case no Authorization header is passed
* Read the SAML Assertion passed in the authorization header
* Base 64 bind Decode SAML Assertion passed from the Fiori application
* The SAML Assertion passed from SAP Cloud Platform, doesn’t contain the x509 signature information which is mandatory for validateSAML Assertion policy and therefore this would have to added in using a JavaScript Policy
* Validate SAML assertion using SAML certificates of the SAP Cloud Platform account.

In Security Best Practices package of SAP API Business Hub policy templates for API security best practices has been published which includes the policy template for validation of SAML assertion.

In this blog, we describe how user’s principal passed from the Fiori application to on-premise APIs protected is validated on the SAP Cloud Platform API Management and user’s identity passed in the SAML assertion is read and validated. This blog also covers the steps to establish trust between the SAP Cloud Platform account where Fiori application is running and SAP Cloud Platform API Management account.

In Part 2 of the blog, we would cover steps to on board SAP Cloud Platform API Management as a trusted SAML Identity Provider in SAP Gateway and generate a short lived SAML Assertion from SAP Cloud Platform API Management which is then passed to the SAP Gateway.

Configuration on SAP Cloud Connector for On-Premise connectivity

Note: – This step is an optional Step and is required in case the SAP Backend is available on premise, and SAP Cloud connector is used for the On Cloud to on premise connectivity

The configuration described in SAP Help document can be followed to Install/Configure SAP Cloud connector and then create an Access Control to the SAP Backend system.

* While creating the Access control, the principal type should be set to None so, that the SAML assertion passed by the SAP API Gateway is passed as is by SAP Cloud Connector.

  Note: –  The white-listed resource paths in the Access control setting of Cloud Connector as case sensitive so ensure the resource path are maintained in the same case as the value entered in the API Proxy target endpoint paths.

Configuring trust between SAP Cloud Platform account and SAP API Cloud Platform API Management account

Enable Principal Propagation

* Logon to your SAP Cloud Platform account
* From the hamburger icon, click on the Trust tab under Security and then click on the Edit button under Local Service Provider tab

* Select the option Enabled for the Principal Propagation and then click on the Save button to confirm the changes

 

Certificate download from SAP Cloud Platform account

* From the hamburger icon, click on the Trust tab under Security and then click on the Edit button under Local Service Provider tab

* From the Configuration Type select the type Custom

* Copy the content Signing Certificate and then save the content locally in a file (say cert.pem). This certificate would have to imported into trust store of SAP API Cloud Platform API Management and would be used to validate the SAML assertion. After copying the certificate information into a local file, select the Cancel

* Add —–BEGIN CERTIFICATE—– as the first line in the certificate file and —–END CERTIFICATE—– as the end line to the certificate file copied so that the content looks as follows

 

Upload Certificate to SAP Cloud Platform, API Management

* Logon to your SAP Cloud Platform, API Management account (say https://account.hanatrial.ondemand.com/cockpit).
* Navigate to the Services tab, search for API Management service tile and click to open API Management service.

* Click on the link Access API Portal to open API Portal.

* Click on Certificate tab and then click on Create button

* In the Create Certificate screen, from the drop down select Trust Store and then select the option New Store. Enter the store name and name details as provided in the table below. This information would have to be used in the “ValidateSAMLAssertion” Policy.Using the Browse button upload the cert.pem file generated in section Certificate download from SAP Cloud Platform tenant and then click on the Create button

Store Name

samlroot

Name

saml

 

Copy UserPropagationViaSAML policy template to your API Management

* Navigate to Discover to discover all the APIs and Policy templates published by SAP and select partners in SAP API Business Hub.

* Click on ALL tab and search for Security Best Practices and Open the Security Best Practices from the search result.

* Navigate to the Artifacts tab and click on Actions button associated with policy template Principal_Propagation_via_SAML and select Copy

* Policy template Principal_Propagation_via_SAML is copied to your API Management tenant, go to Policy Template tab under Develop and verify.

Create an API Provider to the SAP Gateway System

* Navigate to SAP Cloud Platform, API Management API Portal tenant ( https://yourapimanagement/shell/develop )
* Click on the Tab API Provider and then click Create to create a new API Provider. In the host enter the value of the virtual host and port used in the section SAP Cloud connector Access control section. Use SSL flag should be checked and On Premise flag should be set to true.

Create an API Proxy to connect to SAP Gateway OData API

* Click on the Tab API Proxy and then click Create button to create a new API Proxy. In the create Proxy screen, select the API Provider created in previous section and then provide the base Path of the APIs. Enter details like the proxy name, title, base path etc and then click Create.

 

* Click on the Save and Deploy button to save the API Proxy.

Apply User Propagation via SAML policy template

* Click on the Edit button and then from the … button select the option Policies to open the Policy Designer
* Click on the Policy template and then click on the Apply button

* From the Apply Template dialog, select copied policy template Principal_Propagation_via_SAML then click Apply button

* From the scripts section, select the js file and then replace the value (PROVIDE_YOUR_SAML_ROOT_CERTIFICATE_DETAILS) of samlRootCert with the value of the SAML root certificate which was download from SAP Cloud Platform Account in section Certificate download from SAP Cloud Platform account

Copy only the base64 encoded certificate content minus the header —–BEGIN CERTIFICATE—– and —–END CERTIFICATE—–

* Click on Update to save the Policy changes

* Click on the Save to persist the API Proxy changes.

With this we have completed steps to validate SAML assertion passed from the Fiori applications. In the Part 2 of the blog, we will cover the steps to generate a short lived SAML assertion for user’s identity and pass it to SAP Gateway.

  http://bit.ly/2Bpql4R #SAP #SAPCloud #AI

SAP Announces Recipients of Regional Awards for Partner Excellence 2018

WALLDORF — SAP SE (NYSE: SAP) presented 68 regional awards for partner excellence for 2018 to its top partners at the recent SAP Field Kick-Off Meeting (SAP FKOM) events held in the regions of Asia Pacific Japan; Greater China; Europe, Middle East and Africa; Middle and Eastern Europe; Latin America; and North America.

Awards were presented in a variety of categories (see the full list below), including overall sales, innovation, technology, services and solution-specific areas.

Winners of the regional awards for partner excellence for 2018 were selected from SAP’s wide-ranging partner base. Nominations were based on SAP’s internal sales data. A steering committee composed of regional and global SAP representatives determined winning partners in each category according to numerous criteria, including sales achievement and performance.

SAP congratulates this year’s top performers across the globe. Partners are critical to SAP’s success, and these awards are a testament to the amazing work and value they deliver. Together with its partners, SAP helps customers adopt innovation easily, gain results rapidly, grow sustainably and run more simply with its solutions.

Recipients of awards for partner excellence for 2018 per region:

Asia Pacific Japan (APJ)

* SAP APJ Award for Partner Excellence for SAP HANA Enterprise Cloud: Cloud4C
* SAP APJ Award for Partner Excellence for SAP SuccessFactors Solutions: Presence of IT
* SAP APJ Award for Partner Excellence for SAP Ariba Solutions: SGN Software, India
* SAP APJ Award for Partner Excellence for Concur Solutions: IBM, Japan
* SAP APJ Award for Partner Excellence for SAP Hybris Solutions: UXC Oxygen
* SAP APJ Award for Partner Excellence for General Business Top Sell Partner: Sonata Information Technology, India
* SAP APJ Award for Partner Excellence for SME Solutions: Global Infonet, India
* SAP APJ Award for Partner Excellence for Most Innovative Digital Transformation Success Story: Accenture
* SAP APJ Award for Partner Excellence for SAP Leonardo: Deloitte
* SAP APJ Award for Partner Excellence for SAP S/4HANA: Sonata Software Limited, India
* SAP APJ Award for Partner Excellence for SAP S/4HANA Cloud: Deloitte
* SAP APJ Award for Partner Excellence for SAP Solution Extensions: Utopia Inc.
* SAP APJ Award for Partner Excellence for Partner Managed Cloud: Fujitsu, Japan

Europe, Middle East and Africa (EMEA)

* SAP EMEA North Award for Partner Excellence for Cloud ERP: CEREALOG
* SAP EMEA North Award for Partner Excellence for Human Capital Management: Edenhouse Solutions
* SAP EMEA North Award for Partner Excellence for Customer Engagement: Gfi Informatique
* SAP EMEA North Award for Partner Excellence for Digital Enterprise Platform: itelligence Business Solutions
* SAP EMEA North Award for Partner Excellence for Net-New Names: Delaware Consulting International
* SAP EMEA North Award for Partner Excellence for Innovation: Quinso
* SAP EMEA North Award for Partner Excellence for Service Partner of the Year: Capgemini
* SAP EMEA South Award for Partner Excellence for Cloud ERP: Seidor
* SAP EMEA South Award for Partner Excellence for Human Capital Management: ROFF Portugal
* SAP EMEA South Award for Partner Excellence for Customer Engagement: ICM.S
* SAP EMEA South Award for Partner Excellence for Digital Enterprise Platform: MDSap Tech
* SAP EMEA South Award for Partner Excellence for Net-New Names: Seidor
* SAP EMEA South Award for Partner Excellence for Innovation: Birchman Group
* SAP EMEA South Award for Partner Excellence for Service Partner of the Year: Atos

Middle and Eastern Europe (MEE)

* SAP MEE Award for Partner Excellence for Cloud ERP: B4B Solutions
* SAP MEE Award for Partner Excellence for Human Capital Management: Gavdi Deutschland
* SAP MEE Award for Partner Excellence for Customer Engagement: Masterdata
* SAP MEE Award for Partner Excellence for Digital Enterprise Platform: itelligence
* SAP MEE Award for Partner Excellence for Net-New Names: AGILITA
* SAP MEE Award for Partner Excellence for Innovation: Black Horse One
* SAP MEE Award for Partner Excellence for Service Partner of the Year: T-Systems

EMEA/MEE

* SAP EMEA/MEE Service Award for Partner Excellence for High-Growth Contribution: Deloitte
* SAP EMEA/MEE Service Award for Partner Excellence for Digital Transformation: Accenture
* SAP EMEA/MEE Service Award for Partner Excellence for Cloud: Accenture
* SAP EMEA/MEE Service Award for Partner Excellence for Joint Collaboration Experience: EY
* SAP EMEA/MEE Service Award for Partner Excellence for Partner Joint Initiative: IBM

North America

* SAP NA Award for Partner Excellence for SAP Business One: N’Ware
* SAP NA Award for Partner Excellence for SAP Hybris Solutions: Accenture Interactive
* SAP NA Award for Partner Excellence for SAP SuccessFactors Solutions: IBM
* SAP NA Award for Partner Excellence for Emerging Enterprises: Illumiti
* SAP NA Award for Partner Excellence for SAP S/4HANA: Deloitte
* SAP NA Award for Partner Excellence for SAP HANA Technology Innovation: HPE
* SAP NA Award for Partner Excellence for Cloud Solutions: Navigator
* SAP NA Award for Partner Excellence for Industry Services: IBM
* SAP NA Award for Partner Excellence for ISV Innovation: Callidus Cloud
* SAP NA Award for Partner Excellence for SAP Platform Solutions: itelligence
* SAP NA Award for Partner Excellence for Partner Growth: Deloitte
* SAP NA Award for Partner Excellence for Value Assurance: Deloitte
* SAP NA Award for Partner Excellence for Solution Extension Revenue: OpenText Corporation
* SAP NA Award for Partner Excellence for Solution Extension Growth: Nakisa

Latin America (LAC)

* SAP LAC Award for Partner Excellence for SAP Business One: Seidor
* SAP LAC Award for Partner Excellence for General Business Co-Innovation Solutions – SAP S/4HAN: BXTI
* SAP LAC Award for Partner Excellence for SAP Business ByDesign: Stefna
* SAP LAC Award for Partner Excellence for Customer Engagement: ADEPCON Argentina
* SAP LAC Award for Partner Excellence for Supplier Relationship Management: Vivo Consulting
* SAP LAC Award for Partner Excellence for Human Capital Management: Seidor
* SAP LAC Award for Partner Excellence for Systems Integrator: Accenture
* SAP LAC Award for Partner Excellence for Top SolEx Partner: OpenText Corporation
* SAP LAC Award for Partner Excellence for Top Growth SolEx Partner: Celonis
* SAP LAC Award for Partner Excellence for Top Influencer Partner: EY
* SAP LAC Award for Partner Excellence for General Business in Brazil: Star IT
* SAP LAC Award for Partner Excellence for General Business in Mexico: NEORIS
* SAP LAC Award for Partner Excellence for General Business in Northern Latin America: MQA Panama
* SAP LAC Award for Partner Excellence for General Business in Southern Latin America: ADEPCON
* SAP LAC Award for Partner Excellence for Top Overall Partner: Seidor

For more information, visit the SAP News Center. Follow SAP on Twitter at @sapnews.

Media Contact:
Jason Loesche, +1 (484) 437-0015, j.loesche@sap.com, ET

Any statements contained in this document that are not historical facts are forward-looking statements as defined in the U.S. Private Securities Litigation Reform Act of 1995. Words such as “anticipate,” “believe,” “estimate,” “expect,” “forecast,” “intend,” “may,” “plan,” “project,” “predict,” “should” and “will” and similar expressions as they relate to SAP are intended to identify such forward-looking statements. SAP undertakes no obligation to publicly update or revise any forward-looking statements. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. The factors that could affect SAP’s future financial results are discussed more fully in SAP’s filings with the U.S. Securities and Exchange Commission (“SEC”), including SAP’s most recent Annual Report on Form 20-F filed with the SEC. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates.
© 2018 SAP SE. All rights reserved.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE in Germany and other countries. Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices. http://bit.ly/2BW0suH #SAP #SAPCloud #AI