Skip to content

Commit b6e68f3

Browse files
edburnsKarlErickson
authored andcommitted
On branch edburns/rh-1337-passwordless-red-hat-jboss-eap
modified: articles/java/ee/how-to-configure-passwordless-datasource-eap.md modified: articles/java/ee/how-to-configure-passwordless-datasource-websphere.md articles/java/ee/media/how-to-configure-passwordless-datasource-eap/ Signed-off-by: Ed Burns <[email protected]>
1 parent 4455932 commit b6e68f3

File tree

5 files changed

+26
-21
lines changed

5 files changed

+26
-21
lines changed

articles/java/ee/how-to-configure-passwordless-datasource-eap.md

Lines changed: 25 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ titleSuffix: Azure
44
description: Configure passwordless datasource connections for Java apps on Red Hat JBoss EAP.
55
author: KarlErickson
66
ms.author: karler
7-
ms.reviewer: haiche
7+
ms.reviewer: edburns
88
ms.topic: how-to
9-
ms.date: 07/01/2025
9+
ms.date: 07/17/2025
1010
ms.custom: devx-track-azurecli, devx-track-java, devx-track-javaee, devx-track-javaee-wls, devx-track-javaee-wls-aks, devx-track-javaee-wls-vm, has-azure-ad-ps-ref, passwordless-java
1111
---
1212

@@ -29,7 +29,7 @@ The offers support passwordless connections for Azure database for PostgreSQL an
2929

3030
## Configure a passwordless database connection for Red Hat JBoss EAP on Azure VMs
3131

32-
Before proceeding, ensure that the Azure identity you use to sign in and complete this article has either the [Owner](/azure/role-based-access-control/built-in-roles#owner) role in the current subscription or the [Contributor](/azure/role-based-access-control/built-in-roles#contributor) and [User Access Administrator](/azure/role-based-access-control/built-in-roles#user-access-administrator) roles in the current subscription. For an overview of Azure roles, see [What is Azure role-based access control (Azure RBAC)?](/azure/role-based-access-control/overview) For details on the specific roles required by Oracle WebLogic marketplace offer, see [Azure built-in roles](/azure/role-based-access-control/built-in-roles).
32+
Before proceeding, ensure that the Azure identity you use to sign in and complete this article has either the [Owner](/azure/role-based-access-control/built-in-roles#owner) role in the current subscription or the [Contributor](/azure/role-based-access-control/built-in-roles#contributor) and [User Access Administrator](/azure/role-based-access-control/built-in-roles#user-access-administrator) roles in the current subscription. For an overview of Azure roles, see [What is Azure role-based access control (Azure RBAC)?](/azure/role-based-access-control/overview) For details on the specific roles required by the Red Hat JBoss EAP marketplace offer, see [Azure built-in roles](/azure/role-based-access-control/built-in-roles).
3333

3434
This section shows you how to configure the passwordless data source connection using the Azure Marketplace offers for Red Hat JBoss EAP.
3535

@@ -41,7 +41,7 @@ First, begin the process of deploying an offer. The following offers support pas
4141
Enter the required information in the **Basics** pane and other panes if you want to enable the features. When you reach the **Database** pane, enter the passwordless configuration as shown in the following steps:
4242

4343
1. For **Connect to database?**, select **Yes**.
44-
1. Under **Connection settings**, for **Choose database type**, open the dropdown menu and then select **Azure SQL (with support for passwordless connection)**.
44+
1. Under **Connection settings**, for **Choose database type**, open the dropdown menu and then select **Azure SQL (supports passwordless connection)**.
4545
1. For **JNDI Name**, enter **testpasswordless** or your expected value.
4646
1. For **DataSource Connection String**, input the connection string you obtained in last section.
4747
1. Select **Use passwordless datasource connection**.
@@ -50,34 +50,36 @@ Enter the required information in the **Basics** pane and other panes if you wan
5050

5151
The **Connection settings** section should look like the following screenshot:
5252

53-
:::image type="content" source="media/how-to-configure-passwordless-datasource-websphere/azure-portal-azure-sql-configuration.png" alt-text="Screenshot of the Azure portal that shows the Choose database type page." lightbox="media/how-to-configure-passwordless-datasource-websphere/azure-portal-azure-sql-configuration.png":::
53+
:::image type="content" source="media/how-to-configure-passwordless-datasource-eap/azure-portal-azure-sql-configuration.png" alt-text="Screenshot of the Azure portal that shows the Choose database type page." lightbox="media/how-to-configure-passwordless-datasource-eap/azure-portal-azure-sql-configuration.png":::
5454

5555
## Verify the database connection
5656

5757
The database connection is configured successfully if the offer deployment completes without error.
5858

5959
After the deployment completes, follow these steps in the Azure portal to find the Admin console URL.
6060

61-
1. Find the resource group in which you deployed WebSphere.
61+
1. Find the resource group in which you deployed JBoss EAP.
6262
1. Under **Settings**, select **Deployments**.
6363
1. Select the deployment with the longest **Duration**. This deployment should be at the bottom of the list.
6464
1. Select **Outputs**.
65-
1. The URL of the Integrated Solutions Console is the value of the **adminSecuredConsole** output.
66-
1. Copy the value of the output variable **adminSecuredConsole**.
65+
1. The URL of the admin console is the value of the **adminConsole** output.
66+
1. Copy the value of the output variable **adminConsole**.
6767
1. Paste the value into your browser address bar and press <kbd>Enter</kbd> to open the sign-in page of the Integrated Solutions Console.
6868

6969
Use the following steps to verify the database connection:
7070

71-
1. Sign in to the Integrated Solutions Console with the username and password you provided on the **Basics** pane.
72-
1. In the navigation pane, expand **Resources** then **JDBC**.
73-
1. Select **Data sources**.
74-
1. Select the check box next to the row with the **JNDI name** value matching the value you entered in the **Database** tab.
75-
1. Select **Test connection**.
76-
1. You should see a message stating something similar to `The test connection operation for data source dataSource-sqlserver on server server1 at node was0aef4a-vmNode01 was successful.`
71+
1. Sign in to the admin console with the username and password you provided on the **Basics** pane.
72+
73+
:::image type="content" source="media/how-to-configure-passwordless-datasource-eap/admin-console-login.png" alt-text="Screenshot of admin console login screen." lightbox="media/how-to-configure-passwordless-datasource-eap/admin-console-login.png":::
74+
75+
1. Once signed in, select **Configuration** from the main menu.
76+
1. In the column browser, select **Subsystems**, **Datasources & Drivers**, **Datasources**, **dataSource-mssqlserver**.
77+
1. In the dropdown menu, select **Test connection**
78+
1. You should see a message stating something similar to `Successfully tested connection for data source **dataSource-mssqlserver**.`
7779

7880
The following screenshot highlights the relevant user interface elements:
7981

80-
:::image type="content" source="media/how-to-configure-passwordless-datasource-websphere/screenshot-twas-console-successful-database.png" alt-text="Screenshot of the Integrated solutions console that shows the test database page." lightbox="media/how-to-configure-passwordless-datasource-websphere/screenshot-twas-console-successful-database.png":::
82+
:::image type="content" source="media/how-to-configure-passwordless-datasource-eap/screenshot-eap-console-successful-database.png" alt-text="Screenshot of the admin console that shows the test database page." lightbox="media/how-to-configure-passwordless-datasource-eap/screenshot-eap-console-successful-database.png":::
8183

8284
## Clean up resources
8385

@@ -90,16 +92,19 @@ az group delete --name <resource-group-name-that-deploys-the-offer>
9092

9193
## Next steps
9294

93-
Learn more about running WebSphere Application Server on AKS, Azure RedHat OpenShift, or virtual machines by following these links:
95+
Learn more about running JBoss EAP on Azure RedHat OpenShift and virtual machines by following these links:
96+
97+
> [!div class="nextstepaction"]
98+
> [Explore JBoss EAP products on Azure](/azure/developer/java/ee/jboss-on-azure)
9499
95100
> [!div class="nextstepaction"]
96-
> [Explore IBM WebSphere products on Azure](websphere-family.md)
101+
> [Quickstart: Deploy a JBoss EAP cluster on Azure Virtual Machines (VMs)](/azure/virtual-machines/workloads/redhat/jboss-eap-azure-vm?toc=/azure/developer/java/ee/toc.json&bc=/azure/developer/java/breadcrumb/toc.json)
97102
98103
> [!div class="nextstepaction"]
99-
> [Migrate WebSphere applications to AKS](../migration/migrate-websphere-to-azure-kubernetes-service.md?toc=/azure/developer/java/ee/toc.json&bc=/azure/developer/java/breadcrumb/toc.json)
104+
> [Quickstart: Deploy JBoss EAP on Azure Red Hat OpenShift](/azure/openshift/howto-deploy-java-jboss-enterprise-application-platform-app?toc=/azure/developer/java/ee/toc.json&bc=/azure/developer/java/breadcrumb/toc.json)
100105
101106
> [!div class="nextstepaction"]
102-
> [Migrate WebSphere applications to Azure Red Hat OpenShift](../migration/migrate-websphere-to-azure-redhat-openshift.md?toc=/azure/developer/java/ee/toc.json&bc=/azure/developer/java/breadcrumb/toc.json)
107+
> [Migrate JBoss EAP applications to JBoss EAP on Azure VMs](/azure/developer/java/migration/migrate-jboss-eap-to-jboss-eap-on-azure-vms?toc=/azure/developer/java/ee/toc.json&bc=/azure/developer/java/breadcrumb/toc.json)
103108
104109
> [!div class="nextstepaction"]
105-
> [Migrate WebSphere applications to Azure Virtual Machines](../migration/migrate-websphere-to-virtual-machines.md?toc=/azure/developer/java/ee/toc.json&bc=/azure/developer/java/breadcrumb/toc.json)
110+
> [Tutorial: Migrate JBoss EAP Application Server to Azure Virtual Machines with high availability and disaster recovery](/azure/developer/java/migration/migrate-jboss-eap-to-vms-with-ha-dr?toc=/azure/developer/java/ee/toc.json&bc=/azure/developer/java/breadcrumb/toc.json)

articles/java/ee/how-to-configure-passwordless-datasource-websphere.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Enter the required information in the **Basics** pane and other panes if you wan
4242

4343
1. For **Connect to database?**, select **Yes**.
4444
1. Under **Connection settings**, for **Choose database type**, open the dropdown menu and then select **Azure SQL (with support for passwordless connection)**.
45-
1. For **JNDI Name**, enter **testpasswordless** or your expected value.
45+
1. For **JNDI name**, enter **testpasswordless** or your expected value.
4646
1. For **DataSource Connection String**, input the connection string you obtained in last section.
4747
1. Select **Use passwordless datasource connection**.
4848
1. For **User assigned managed identity**, select the managed identity you created in previous step. In this example, its name is **myManagedIdentity**.
48.7 KB
Loading
92.1 KB
Loading
Loading

0 commit comments

Comments
 (0)