diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2022-07-13 17:21:22 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2022-07-15 15:35:10 +0200 |
commit | e69c68a2c4b9b8f8d556f376c8f023f602a95eff (patch) | |
tree | d6ebd79ecabb3292139e288e5c0ab8a33c8f9ea3 /jrt | |
parent | eed3e5deaf3fd13c353361e45420735a93d0f3d0 (diff) |
Include full certificate chain in auth context
Diffstat (limited to 'jrt')
-rw-r--r-- | jrt/tests/com/yahoo/jrt/EchoTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jrt/tests/com/yahoo/jrt/EchoTest.java b/jrt/tests/com/yahoo/jrt/EchoTest.java index 7213068c0f9..e6243eaf4da 100644 --- a/jrt/tests/com/yahoo/jrt/EchoTest.java +++ b/jrt/tests/com/yahoo/jrt/EchoTest.java @@ -64,7 +64,7 @@ public class EchoTest { assertEquals(1, metrics.clientTlsConnectionsEstablished()); }, (ConnectionAuthContextAssertion) context -> { - List<X509Certificate> chain = context.peerCertificate(); + List<X509Certificate> chain = context.peerCertificateChain(); assertEquals(1, chain.size()); assertEquals(CryptoUtils.certificate, chain.get(0)); }}, @@ -82,7 +82,7 @@ public class EchoTest { assertEquals(1, metrics.clientTlsConnectionsEstablished()); }, (ConnectionAuthContextAssertion) context -> { - List<X509Certificate> chain = context.peerCertificate(); + List<X509Certificate> chain = context.peerCertificateChain(); assertEquals(1, chain.size()); assertEquals(CryptoUtils.certificate, chain.get(0)); }}}; |