Work Around SECURITY-864

If you’re using WildFly and EJB security you’ll likely run into SECURITY-864. The symptom is a javax.naming.NameNotFoundException happening on every EJB invocation. You won’t see them in your logs unless you’re using the TRACE log level but they will show up in monitoring tools like Java Mission Control or OverOps.

As a work around we provide policy-registration-factory which allows you to register a ObjectFactory under java:/policyRegistration. You have the choice between a real one and a stub one. The project pages goes into details about the installation.