I was a little too fast there. Make sure you only set the credentials if the credentials are null. Else they'll be overwritten. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100195#4100195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100195