login.openLogin();
login.openLoginIfNecessary(RoleType.MANAGER);
    private static void createManagerUser() {	final Person person = new Person();	person.setName("Fenix System Administrator");	person.addPersonRoles(Role.getRoleByRoleType(RoleType.PERSON));	person.addPersonRoles(Role.getRoleByRoleType(RoleType.MANAGER));	final User user = person.getUser();	final Login login = user.readUserLoginIdentification();	login.setActive(Boolean.TRUE);	LoginAlias.createNewCustomLoginAlias(login, "admin");	login.openLogin();    }