Sorry, I didn't see that you use a servlet, but thought it would be an application client (as creating an InitialContext with explicit properties is normally only used for remote clients).
With a servlet, you could use also the class "WebAuthentication", see http://www.jboss.org/community/docs/DOC-12656 For the error message: take a look at the security FAQ (sticky post), question 4. This tells you how to activate TRACE logging for the security layer, and this logging should tell you why JBoss does not use your login module. Maybe your servlet is deployed before the login module is initialized. If yes, you could define a deployment dependency using the @Depends annotation. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211781#4211781 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211781 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
