accountDAO.makePersistent(account);
accountDAO.flush();
}
public void verifyCredentials(String providerTypeStr) {
OpenIdProviderType providerType =
OpenIdProviderType.valueOf(providerTypeStr);
HOpenIdCredentials newCreds = new HOpenIdCredentials();
newCreds.setAccount(authenticatedAccount);
if( providerType == OpenIdProviderType.Generic ) {
authenticationManager.openIdAuthenticate(openId, providerType,