Section 6.4.1. Use Security Realms with Remote EJB Clients of EJB dev guide (https://doc-stage.usersys.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/developing_ejb_applications/#use_security_realms_with_remote_ejb_clients):
The wildfly-config.xml contains this superfluous element:
<providers> <use-service-loader /> </providers>
Including this is a bit confusing, because it's not needed (it will behave the same way if you remove these three lines) and is not in any way connected to security realms, which is the topic of this section, therefore I think this element creates unnecessary noise.