Peter, you described quite perfectly. I gave a look into DatabaseServerLoginModule and make my own subclass, and worked very fine! Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025148#4025148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025148