When you create User in that moment you must create Credential. After that link that
entities.
user.setCredential(that new credential);
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100210#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...