s.setString(2,alias);
int count = s.executeUpdate();
release(s);
return count>0;
} catch (java.security.NoSuchAlgorithmException ex) {
throw new AuthException(ex.getMessage());
} catch (SQLException ex) {
throw new AuthException("Cannot update user "+alias+" in the database.",ex);
} finally {
release(dbConnection);
}
} catch (SQLException ex) {
throw new AuthException("Cannot get database connection.",ex);
}
}