I can hardly find a documentation that helps me in deploying a new LoginContext Module for my Web Application. Currently I have to change the JBoss configuration to get it working. Is there a way to create a deployable unit?
see: "Porting a WAR using JAAS to the JBoss 4 Tomcat" http://www.jboss.org/index.html?module=bb&op=viewtopic&t=55195
The DynamicLoginModule from the referenced post is the only way we provide to extend the login module configuration at runtime, and this does not allow a deployment to overwrite an existing configuration. You have to install a new configuration and use that.