/*
* The super exists so just update it
*/
if (isSuperUserCreationSupported(udb)) {
// (Probably) Already exists, just update
udb.updateAccount(user, email, user.getFullname(), user.getRoles());
l.add(new WizardActionStatus(WizardActionStatus.COMPLETED_OK, "installation.install.status.superUserUpdated"));
}
} catch (Exception unfe) {
if (isSuperUserCreationSupported(udb)) {
udb.createAccount(superUser, superUserPassword, email, "Super User", new Role[] {});