Merge pull request #55 from robaman/master

Remove code that replaces account key kid with external account binding
pull/61/head
Richard Körber 2018-01-16 11:47:44 +01:00 committed by GitHub
commit 8597e84d53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -182,9 +182,6 @@ public class AccountBuilder {
URL location = conn.getLocation(); URL location = conn.getLocation();
Account account = new Account(session, location); Account account = new Account(session, location);
if (keyIdentifier != null) {
session.setKeyIdentifier(keyIdentifier);
}
if (resp == HttpURLConnection.HTTP_CREATED) { if (resp == HttpURLConnection.HTTP_CREATED) {
account.setJSON(conn.readJsonResponse()); account.setJSON(conn.readJsonResponse());

View File

@ -179,7 +179,6 @@ public class AccountBuilderTest {
Account account = builder.create(session); Account account = builder.create(session);
assertThat(account.getLocation(), is(locationUrl)); assertThat(account.getLocation(), is(locationUrl));
assertThat(session.getKeyIdentifier(), is(keyIdentifier));
provider.close(); provider.close();
} }