}
} catch (ClassNotFoundException cne) {
logger.warn("Could not generate authority information for: " + cne.getMessage());
}
for (String role : authorities) {
if (!mainRoles.contains(new RoleImpl(role))) {
if (logger.isInfoEnabled()) logger.info("Creating application security role [" + role + "]");
dao.createAuthority(role);
}
}
if (createRootUser) {