Just as following official document said, in standalone mode, when client remote access to MBeanServer, wildfly will use authentication methods being defined in ManagementRealm to authenticate client.
When configuring the security realms remote access to the server's MBeanServer needs a special mention. When running in standalone mode the following is the default configuration:
With this configuration remote access to JMX is provided over the http management interface, this is secured using the realm ManagementRealm
In my case, I'd like to use other security realm, actually I need use ApplicationRealm. But I don't know how to do this, what I have tried is configure "use-management-endpoint" to false as below,
because the JMX xsd document says "If true then this connector will use the management endpoint, otherwise it will use the remoting subsystem endpoint." , and the remoting subsystem is configured to use ApplicationRealm as below
<http-connector name="http-remoting-connector" connector-ref="default" security-realm="ApplicationRealm"/>
Maybe I misunderstand something. Please help me