Hello kai,
This is the xml file , where i want to enable Ldap user registry and disable basic local registry using ansible
____________________________________________________________________________________________________
<server description="CLM server">
<!--
Licensed Materials - Property of IBM
(c) Copyright IBM Corporation 2015, 2017. All Rights Reserved.
Note to U.S. Government Users Restricted Rights:
Use, duplication or disclosure restricted by GSA ADP Schedule
Contract with IBM Corp.
-->
<!-- Enable features -->
<featureManager>
<feature>monitor-1.0</feature>
<feature>jsp-2.2</feature>
<feature>servlet-3.0</feature>
<feature>ssl-1.0</feature>
<feature>appSecurity-2.0</feature>
<feature>adminCenter-1.0</feature>
</featureManager>
<ssl id="defaultSSLConfig" keyStoreRef="defaultKeyStore" sslProtocol="SSL" enabledCiphers="TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 TLS_RSA_WITH_AES_128_CBC_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA TLS_RSA_WITH_AES_128_CBC_SHA TLS_DHE_RSA_WITH_AES_128_CBC_SHA TLS_DHE_RSA_WITH_AES_128_CBC_SHA256"/>
<keyStore id="defaultKeyStore" location="ibm-team-ssl.keystore" type="JCEKS" password="{xor}Nj0ycis6PjI="/>
<httpEndpoint id="defaultHttpEndpoint"
host="*"
httpPort="9080"
httpsPort="9443" />
<httpSession invalidateOnUnauthorizedSessionRequestException="true" cookieSecure="true"/>
<webAppSecurity ssoRequiresSSL="true"/>
<!-- The deferServletLoad attribute value can be changed to "false" to force all applications
to load on startup, instead of when they are first accessed -->
<webContainer deferServletLoad="false"/>
<!--include location="conf/basicUserRegistry.xml"/-->
<include location="conf/ldapUserRegistry.xml"/>
<include location="conf/application.xml"/>
<executor coreThreads="100"/>
<!-- Edit the following, after setting up the user registry,
to define the user(s) and/or group(s) that can perform Liberty server administration
(e.g. access the Admin Center) -->
<administrator-role>
<user>ADMIN</user>
<group>JazzAdmins</group>
<group>vwjazzadmin</group>
</administrator-role>
<remoteFileAccess>
<writeDir>${server.config.dir}</writeDir>
</remoteFileAccess>
<!-- do not allow dropped-in applications, and reduce frequency of config file change polling -->
<applicationMonitor dropinsEnabled="false" pollingRate="10s" updateTrigger="mbean"/>
<config onError="WARN" monitorInterval="1s" updateTrigger="polled"/>
<!-- suppress messages about references to missing third party jars that are not used -->
<logging hideMessage="SRVE9967W"/>
</server>