Your authenticate method has the wrong signature. It should accept no parameters, and
instead refer to the username and password in Identity.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048803#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...