---
title: Wildfly Configuration Strategy
slug: kronpam-reference-guide-3-9-0/wildfly-configuration-strategy
docTags: 
createdAt: 2024-12-03T09:57:59.140Z
---

This section explains how to change the passwords of the users on the **Datasources of Wildfly Server&#x20;**&#x77;ith the help of Application Configuration and Trigger.

WinRM service needs to be installed on the target server. The HTTP port needs to be open to requests of JBoss and Wildfly servers.&#x20;

Wildfly Server configuration needs to have been completed before. Then you need to get the username and password from **Wildfly&#x20;**&#x73;ettings (**Configuration > Subsystems > Datasources & Drivers > Datasources**) and save them in the Kron PAM Vault.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/eJc5g84iJNsk0tPjsK3ut_image.png "Wildfly Server Management Screen")

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/I4Rn2KHfW-h_yh44rfMDN_image.png "Wildfly Data Source User Definition Screen")

- Application Trigger Config definition needs to be made first.&#x20;
- Navigate to **Secrets > Configurations > Application Configuration**.
- Click **+Add** and enter parameters. &#x20;

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/rab2GlBBOIEADcgjqPb6s_image.png "Application Configuration Management Definition Screen")

- Select **Wildfly&#x20;**&#x61;s the strateg&#x79;**.**
- The admin username (Service Username) and password (Service Password) information for connection to the Wildfly server needs to be saved. An HTTP connection will be used for the Wildfly Strategy; therefore, you need to enter the Wildfly Server IP and port.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/6XE4nnc1nkqBq6bDtJJab_image.png "Application Configuration Definition Screen")

1. Click **Save**.&#x20;
2. Navigate to **Secrets > Application Management** screen. &#x20;
3. Add a new trigger by clicking **+Add**.
4. Enter the name of the trigger in the Name field.
5. Select the **Application Configuration**.
6. In the **Data Source Name field**, enter the Wildfly Server Datasource name. Otherwise, the password value will not change because Kron PAM cannot find the relevant data source.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/553EwGZ_ZWdQCw3ZWyp-p_image.png "Application Management – Application Trigger Definition Screen")

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/rhTdF3ZaHswP5Z8o_eC_V_image.png" size="64" width="539" height="409" position="center" caption="Application Management Definition Screen" darkWidth="539" darkHeight="409" showCaption="true"}

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/j7_IACyZwBbHbPMuXEUDg_image.png "Wildfly Datasource Management Screen")

- Select the Vault Account defined in Password Vault and the device where the Wildfly Server is installed.
- Click **Save.**

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/m_gIIJIlt1EXg9aLiz2n9_image.png "Application Management – Application Trigger Definition Screen")

After the definition is completed, open the **Vault&#x20;**&#x73;creen and select the Vault account. Whenever the user selects the Vault account and click the **Update** or **Reset Password** option, Kron PAM will create a trigger and a password change will be performed, either automatically after some time or upon your manual request from the trigger process list shown on the application management page, as pictured below.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/sPoS4dGxDfIXlV9q-Ww3E_image.png)

