Skip to main content

Enable Microsoft Entra ID (Azure AD) SSO and MFA to Oracle JDE via Datawiza

About 3 min

Overview

This tutorial shows how to enable Microsoft Entra ID (Azure Active Directory (AD)) SSO and MFA for an Oracle JD Edwards (JDE) application via Datawiza.

The benefits of integrating applications with Microsoft Entra ID via Datawiza includes:

Background

This document focuses on solving the problem when modern identity providers integrate with the legacy Oracle JDE application. We accomplish the integration based on the fact that JDE supports HTTP Authorization Headers.

In many cases, legacy applications have great difficulty integrating with modern SSO, mainly due to the absence of modern protocol support.

The Datawiza no-code solution effectively reduces the cost of integration, overcomes the gap, and significantly improves application security.

Architecture

The solution contains the following components:

  • Identity Provider (IdP): For demonstration purpose, we use Microsoft Entra ID, Microsoft's cloud-based identity and access management service, which helps users sign in and access external and internal resources.
  • Oracle JDE Application: The legacy application to be protected by Datawiza and integrated with Microsoft Entra ID SSO & MFA.
  • Datawiza Access Proxy (DAP): A super lightweight container-based reverse-proxy implements OIDC/OAuth or SAML for user sign-on flow and transparently passes identity to applications through HTTP headers.
  • Datawiza Cloud Management Console (DCMC): A centralized management console that manages DAP. DCMC provides UI and RESTful APIs for administrators to manage the configurations of DAP and its granular access control policies.

Both SP initiated flow and IdP initiated flow are supported by the architecture discussed here. Below we will use SP initiated flow for demonstration purposes.

Oracle JDE Microsoft Entra ID (Azure AD) SSO and MFA | Arch

Steps Description

  1. The user accesses the application URL, which hits the DAP;
  2. The DAP checks the user's authentication state. If it doesn't receive a session token, or the supplied session token is invalid, then it redirects the user to Microsoft Entra ID (OIDC IdP in this example, you can use SAML IdP as well);
  3. Microsoft Entra ID pre-authenticates user and applies any enforced Conditional Access policies, and then the user is redirected back to DAP and SSO is performed using issued OIDC token;
  4. The DAP evaluates its own access policies and generates attribute values to be included in HTTP headers and forwarded to the application. During this step, the DAP may call out to the identity provider to retrieve the information needed to set the header values correctly. The DAP then sets the header values and sends the request to the application;
  5. The user is now authenticated and has access to the application.

Prerequisites

Prior Datawiza Access Proxy experience isn't necessary, but you need:

Getting started with Datawiza

To integrate JDE, login to Datawiza Cloud Management Consoleopen in new window (DCMC).

Welcome to the DCMC homepage! Let's get started:

Click the orange Getting started button, which will guide you through the configuration steps.

Oracle JDE SSO and MFA | Getting Started

Specify a Name and a Description, and click Next.

Oracle JDE SSO and MFA | Create a New Deployment

Add Application

Configure your application with the following values:

PropertyValue
App TypeSince JDE is a web application, select WEB here.
NameThe name of your application. Put a meaningful name here. I use the Oracle JDE App.
Application URLThe external facing URL of the application. For example https://jde-external.example.com. You can use localhost DNS for testing purposes. I use https://jde.datawiza.net.
Listen PortThis is the port that the Datawiza Access Proxy listens on. For simplicity, you can use the same port as the one in Public Domain above if you are not deploying the Datawiza Access Proxy behind a Load Balancer.
Upstream ServersThe URL and port combination of the Oracle JD Edwards Implementation is being protected. Mine is https://10.0.0.122:8080.

Select Next.

Oracle JDE SSO and MFA | Create a New Application

Configure Identity Provider

  1. On the Configure IdP dialog, enter the relevant information.

    Info

    DCMC has one-click integration to help complete Microsoft Entra ID configuration. DCMC calls the Microsoft Graph API to create an application registration on your behalf in your Microsoft Entra ID tenant.

  2. Select Create. Microsoft Entra ID (Azure AD) SSO and MFA | Creare a New Microsoft Entra ID (Azure AD) IdP

Install and run Datawiza Access Proxy

Once clicking on the Create button, the basic configuration on the management console is finished. You will see the final step of the guide, which presents you with a page showing the simple steps to deploy Datawiza Access Proxy (DAP) with your application. Note down the commands for your deployment. The first command will download Docker and Datawiza Access Proxy image, and the second command will create a Docker Compose file and run Datawiza Access Proxy. You can refer to Install and Run Datawiza Access Proxy by command for more information.

DAP Docker Compose File

Single Sign-On & HTTP Headers

The DAP gets user attributes from IdP and passes them to the upstream application via header or cookie.

In order to let the Oracle JDE application recognize the user correctly, there is one more step to configure, which instructs DAP to pass the values from the identity provider to the application under what name through HTTP header.

Such configuration will be done in the Applications tab on the left panel and go to Attribute Pass sub-tab.

For Oracle JDE, please refer to the screenshot below to configure the attribute pass:

  • Field: email
  • Expected: JDE_SSO_UID
  • Type: HEADER

Oracle JDE SSO and MFA | Config Attr Pass

Info

This configuration will use user principal name as the login username for JDE. You can also specify user's other identity information as the login username in the Mappings tab.

Oracle JDE SSO and MFA | Config Mapping

SSL Configuration

  1. Certificate Configuration: Select Advanced tab in your application page: Oracle JDE SSO and MFA | Config SSL
  2. Enable SSL and select a proper Cert Type. Oracle JDE SSO and MFA | Select SSL Cert Type
  3. We provide a self-signed certificate for localhost. It can be used for testing purposes. Oracle JDE SSO and MFA | SSL Self-Signed Cert
  4. Optionally, you can choose to upload your own certificate from a file: Oracle JDE SSO and MFA | Upload SSL Cert and Key
  5. Click Save.

Enable Single Sign-On in JD Edwards EnterpriseOne console

To enable single sign-on in the JD Edwards environment:

  1. Sign in to the JD Edwards EnterpriseOne Server Manager Management console as an administrator.

  2. In Select Instance , select EnterpriseOne HTML Server. Oracle JDE SSO and MFA | JDE Select Instance

  3. In the Configuration tile, select View as Advanced, and then click Security. Oracle JDE SSO and MFA | JDE Advanced Security

  4. Select the Enable Oracle Access Manager check box, and then enter /datawiza/ab-logout in the Oracle Access Manager Sign-Off URL field. In the Security Server Configuration section, click Apply. Oracle JDE SSO and MFA | JDE Enable SSP

  5. Click Stop and confirm that you want to stop the managed instance. If a message indicates that the web server configuration (jas.ini) is out-of-date, click Synchronize Configuration. Oracle JDE SSO and MFA | JDE Sync Config

  6. Click Start and confirm that you want to start the managed instance.

(Optional) Enable MFA on Microsoft Entra ID (Formerly Azure AD)

To provide an extra level of security for sign-ins, sometimes you might want to enforce MFA for user sign-in. There are several ways to achieve this. The simplest and easiest way is to enable MFA on the Azure portal.

  1. Sign in to the Azure portal as a Global Administrator.
  2. Select Microsoft Entra ID > Manage > Properties.
  3. Under Properties , click the Manage security defaults. Microsoft Entra ID (Azure AD) SSO and MFA | Manage Security Defaults
  4. Under Enable Security defaults, select Yes and then Save. Microsoft Entra ID (Azure AD) SSO and MFA | Enable Security Default

Test an Oracle JDE application

To confirm SSO and MFA for Oracle JDE application work correctly, a prompt should appear to use an Identity Provider account for signing in. Credentials and optional MFA are checked and the Oracle JDE home page appears.

Note

For security purpose, organizations using this model in production environment should block all direct access to the application, thus forcing the use of a strict path through the Datawiza Access Proxy.

That's it! Here is a video clipopen in new windowshowing the user experience after a successful integration between Microsoft Entra ID and Oracle JDE via Datawiza.

Summary

In this article, you learned how to:

  • Configure and Deploy the Datawiza Access Proxy
  • Integrate the Datawiza Access Proxy with Oracle JDE
  • Enable Microsoft Entra ID SSO login and MFA for Oracle JDE

If you have any questions, don't be afraid to contact us through support email (support@datawiza.com)!