mirror of https://github.com/shred/acme4j
Merge pull request #55 from robaman/master
Remove code that replaces account key kid with external account bindingpull/61/head
commit
8597e84d53
|
@ -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());
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue