PasswordCredentials passwordCredentials = new PasswordCredentials();
passwordCredentials.setUsername("user1");
passwordCredentials.setPassword("secretuser1");
String tenantId = null;
client.authenticate(tenantId, passwordCredentials);
}
@Test(expected = KeystoneAuthenticationException.class)
public void listTenants_forgedToken() throws Exception {
KeystoneAuthenticationClient client = new KeystoneAuthenticationClient();