usersession.setUserStatus(admin,username,UserDataConstants.STATUS_GENERATED);
usersession.setUserStatus(admin,username,UserDataConstants.STATUS_GENERATED, false);
    public void test03FailAuthenticateUser() throws Exception {        log.debug(">test03FailAuthenticateUser()");        // Set status to GENERATED so authentication will fail        usersession.setUserStatus(admin,username,UserDataConstants.STATUS_GENERATED);        boolean authfailed = false;        try {            UserDataVO auth = remote.authenticateUser(admin, username, pwd);            log.debug("Authenticated user: "+auth.getUsername());        } catch (Exception e) {            authfailed = true;        }        assertTrue("Authentication succeeded when it should have failed.", authfailed);        log.debug("<test03FailAuthenticateUser()");    }