}
ChapUtil chapUtil = new ChapUtil();
if(radiusAuthenticate(rc, chapUtil, username, password)){
log.debug("RADIUS Validation SUCCEEDED!");
try {
User user = CoreServlet.getServlet().getUserDatabase().getAccount(null, username);
return user;
} catch (Exception e) {
throw new UserDatabaseException("Failed to get user account.", e);
}
}else{