|
Issue
How to configure SAML Authentication for Ariba Buyer On-Premise?
Solution
SAML Authentication for Ariba Buyer On-Premise
This document gives examples of how the SAML Authentication may be implemented and is intended to illustrate the processes and concepts behind it. There are several SAML Identity Provider (‘IdP’ hereafter) solutions which are offered by third-party vendors. Responsibility for the implementation of any SAML IdP on the customer side rests with the customer.
1 SAML HTTP POST Binding Protocol Flow
1.1 Pre-requisites
In order for a customer to have access to Ariba, the following pre-requisites apply:
1.2 Initial Connection with Ariba
Instead of displaying an Ariba login page, the user’s browser is redirected to the customer protected resource page. The redirect URL will optionally include the Service Provider ID (SPID), this parameter can help the customer to identify the service provider and where it should post the SAML Response after the authentication if it hosts a generic SAML IdP URL.
1.3 User Authentication with customer’s corporate authentication
1.4 Final Authentication with Ariba
2 Configuration Sample
This sample demonstrates the SAML authentication configuration with Microsoft Azure AD single sign-on.
The ‘Configuring Ariba Buyer Corporate Authentication’ step is a common configuration in Ariba Buyer. Other steps for different SAML IdP servers should refer to documentation from the respective third-party software vendors.
2.1 Sample Details
https://mycompany.com/Buyer/Main?realm=System&passwordadapter=PasswordAdapter1
https://mycompany.com/Buyer/Main/ad/samlAuth/SSOActions?awr=1&realm=System
2.2 Configuring Azure AD Single Sign-On
On the Single sign-on page, provide the following values:
The Identifier should be the ‘Ariba Buyer SPID URL’.
The Reply URL should be the ‘Ariba SAML Response Consumption URL’.
Choose the User Identifier. This user identifier will be sent as the “Name Id” in the SAML Response, and be used as Ariba Buyer User Id.
Download and keep a local copy of the ‘Certificate(Base64)’. This certificate will be installed to Ariba Buyer in a later step.
Then on the same page, click the ‘Configure Ariba_Buyer’ link. This is Azure’s instruction to configure the Service Provider. Copy the following URLs from this instruction.
2.3 Configuring Ariba Buyer Corporate Authentication
2.3.1 Enable Corporate Authentication
Find ‘Corporate Authentication’ from Core Administration > Site Profile.
The following figure is for informational purposes only. It demonstrates the input fields that Ariba uses to enable the service.
This step will take effect immediately.
But, before testing the SAML authentication with Azure AD, the next step still needs to be applied.
2.3.2 Add Ariba private key
Before proceeding to the following step, you should obtain an RSA key pair and import the RSA key pair to a Java Key Store (*.jks file).
The Ariba private key will be used to sign the SAML request.
Authentication = { Credentials = { MyCredentials = { Password = ""; Username = "";};}; Keystores = { AribaPrivateKeystore = { File = "etc/certs/<sample_key_store>.jks"; Keys = { Key1 = { Alias = <sample_alias>; KeyPassword = "<sample_key_pass>"; }; }; StorePassword = "<sample_store_pass>"; Type = jks; }; }; }; |
Additional Information
After installing WebLogic 11gR1 on a new machine, ensure SAML Authentication works with the WebLogic 11gR1 Application Server. You must do the following manual changes to ensure that SAML authentication works:
To ensure SAML authentication works:
1 Stop the servers.
2 Go to the modules folder under the location where WebLogic 11gR1 is installed (/opt/bea10mp36/modules/).
3 Locate the file named com.bea.core.bea.opensaml2_1.0.0.0_6-2-0-0.jar.
4 Delete this jar file, or rename it to com.bea.core.bea.opensaml2_1.0.0.0_6-2-0-0.jar.old, to ensure that this jar file does not get loaded when starting the servers and instead loads the correct.SAML jar file present within /Server/Classes/ folder. This jar file is used by the system to pick up the correct XMLConfigurator class to load proper SAML data.
5 Restart the servers.
On-Premise > On-Premise - Ariba Buyer