assertTrue("scott password is echoman", isValid);
HashSet testRole = new HashSet();
testRole.add(new SimplePrincipal("Echo"));
boolean hasRole = secMgr.doesUserHaveRole(domain, user, password, testRole);
assertTrue("scott has Echo role", hasRole);
testRole.clear();
testRole.add(new SimplePrincipal("EchoLocal"));
hasRole = secMgr.doesUserHaveRole(domain, user, password, testRole);
assertTrue("scott has EchoLocal role", hasRole);
testRole.clear();
testRole.add(new SimplePrincipal("ProjectUser"));