UserData data4=null; String username1 = genRandomUserName(); data4 = home.create(username1, "foo123", "C=SE, O=AnaTom, CN="+username1); assertNotNull("Failed to create user "+username1, data4); data4.setType(SecConst.USER_ENDUSER); data4.setSubjectEmail(username1+"@anatom.se"); data4.setClearPassword("foo123"); System.out.println("created "+username1+ ", pwd=foo123");
UserData data4=null; String username1 = genRandomUserName(); data4 = home.create(username1, "foo123", "C=SE, O=AnaTom, CN="+username1); assertNotNull("Failed to create user "+username1, data4); data4.setType(SecConst.USER_ENDUSER); data4.setSubjectEmail(username1+"@anatom.se"); data4.setClearPassword("foo123"); cat.debug("created "+username1+ ", pwd=foo123");
    public void test01CreateNewUsers() throws Exception {        cat.debug(">test01CreateNewUser()");            UserData data1=null;            String username = genRandomUserName();            data1 = home.create(username, "foo123", "C=SE, O=AnaTom, CN="+username);            assertNotNull("Failed to create user "+username, data1);            data1.setType(SecConst.USER_ENDUSER);            data1.setSubjectEmail(username+"@anatom.se");            data1.setClearPassword("foo123");            System.out.println("created "+username+ ", pwd=foo123");            UserData data4=null;            String username1 = genRandomUserName();            data4 = home.create(username1, "foo123", "C=SE, O=AnaTom, CN="+username1);            assertNotNull("Failed to create user "+username1, data4);            data4.setType(SecConst.USER_ENDUSER);            data4.setSubjectEmail(username1+"@anatom.se");            data4.setClearPassword("foo123");            System.out.println("created "+username1+ ", pwd=foo123");        cat.debug("<test01CreateNewUsers()");    }