cat.debug("<test02AuthenticateUser()");
log.debug("<test02AuthenticateUser()");
    public void test02AuthenticateUser() throws Exception {        cat.debug(">test02AuthenticateUser()");        // user that we know exists...        UserAuthData data = remote.authenticateUser(new Admin(Admin.TYPE_INTERNALUSER), username, pwd);        cat.debug("DN: "+data.getDN());        assertTrue("DN is wrong", data.getDN().indexOf(username) != -1);        cat.debug("Email: "+data.getEmail());        assertNotNull("Email should not be null", data.getEmail());        assertTrue("Email is wrong", data.getEmail().equals(username+"@anatom.se"));        cat.debug("Type: "+data.getType());        assertTrue("Type is wrong", data.getType() == SecConst.USER_ENDUSER);        cat.debug("<test02AuthenticateUser()");    }