String userName = (String) authentication.getPrincipal();
String passwd = (String) authentication.getCredentials();
try {
IAuthenticationService userAuthenticationService =
new UserAuthenticationService(new VCAuthenticationAdapter(
userName, passwd));
userAuthenticationService.validate();
UserDetails user =
userService.loadUserByUsername(authentication.getName());
UserAuthenticationToken accountAuthenticationToken =