When I deploy and run my WAR using the Maven plugin the custom login module is not used for authentication.
When I place the exact same WAR in the standalone/deployments folder and start WildFly it works as expected.
I have a minimal example showing this issue here: acornett/wildfly-security-jaas · GitHub.
I'm assuming this is a bug in WildFly, but I'm not a WildFly expert so if someone can help me get this working otherwise that would be great.
Retrieving data ...