System.out.println("New user: "+data.getUsername()+", "+data.getDN()+", "+data.getEmail()+", "+data.getStatus()+", "+data.getType());
cat.debug("New user: "+data.getUsername()+", "+data.getDN()+", "+data.getEmail()+", "+data.getStatus()+", "+data.getType());
    public void test05ListNewUser() throws Exception {        cat.debug(">test05ListNewUser()");        Object obj1 = ctx.lookup("UserAdminSession");        IUserAdminSessionHome adminhome = (IUserAdminSessionHome) javax.rmi.PortableRemoteObject.narrow(obj1, IUserAdminSessionHome.class);        IUserAdminSession admin = adminhome.create();        Collection coll = admin.findAllUsersByStatus(UserData.STATUS_NEW);        Iterator iter = coll.iterator();        while (iter.hasNext())        {            UserAdminData data = (UserAdminData)iter.next();            System.out.println("New user: "+data.getUsername()+", "+data.getDN()+", "+data.getEmail()+", "+data.getStatus()+", "+data.getType());            admin.setUserStatus(data.getUsername(), UserData.STATUS_GENERATED);        }        Collection coll1 = admin.findAllUsersByStatus(UserData.STATUS_NEW);        assertTrue("found NEW users though there should be none!", coll1.isEmpty());        cat.debug("<test05ListNewUser()");    }