You should use the Authority and WritePermission classes:



 List<Authority> authorities = new ArrayList<Authority>();

 authorities.add(new WritePermission());

 user.setAuthorities(authorities);

I hope this helps,

Frank
                                          
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop

Reply via email to