assertFalse(service.authenticate("Joe1", "Joe", "fang"));
List<String> list = service.getRoles("Joe");
assertEquals(1, list.size());
assertEquals("Joe", list.get(0));
assertEquals("get Joe", service.getAuthentication("Joe"));
Authenticate au = new Authenticate();
au.setSid("ffang");
au.setUid("ffang");
assertTrue(service.authenticate(au));
au.setUid("ffang1");
assertFalse(service.authenticate(au));
}