GeoServerUser wfs = (GeoServerUser) userService.loadUserByUsername("wfs");
assertNotNull(wfs);
assertTrue(enc.isPasswordValid(wfs.getPassword(), "webFeatureService", null));
assertTrue(wfs.isEnabled());
GeoServerUser disabledUser = (GeoServerUser) userService.loadUserByUsername("disabledUser");
assertNotNull(disabledUser);
assertTrue(enc.isPasswordValid(disabledUser.getPassword(), "nah", null));
assertFalse(disabledUser.isEnabled());
GeoServerRole role_admin = roleService.getRoleByName(XMLRoleService.DEFAULT_LOCAL_ADMIN_ROLE);