In WildFly, Weld complains about firing an event during a AfterBeanDiscovery event. In EAP this works fine.
Just need to move the SecurityConfigurationEvent firing to AfterDeploymentValidation,