Write a login() method that calls Identity.login() and does whatever you like. (Or even extend and override Identity.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015806#4015806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015806