From 34dde2dc891ba88440ad72d86f8c4cc138c101c8 Mon Sep 17 00:00:00 2001 From: Bjørn Christian Seime Date: Mon, 11 Jul 2022 14:31:53 +0200 Subject: Remove 'role' concept from 'authorized-peers' --- jrt/tests/com/yahoo/jrt/CryptoUtils.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'jrt/tests') diff --git a/jrt/tests/com/yahoo/jrt/CryptoUtils.java b/jrt/tests/com/yahoo/jrt/CryptoUtils.java index f1672f86e9b..d5ce32ee5ee 100644 --- a/jrt/tests/com/yahoo/jrt/CryptoUtils.java +++ b/jrt/tests/com/yahoo/jrt/CryptoUtils.java @@ -12,7 +12,6 @@ import com.yahoo.security.tls.policy.AuthorizedPeers; import com.yahoo.security.tls.policy.PeerPolicy; import com.yahoo.security.tls.policy.RequiredPeerCredential; import com.yahoo.security.tls.policy.RequiredPeerCredential.Field; -import com.yahoo.security.tls.policy.Role; import javax.security.auth.x500.X500Principal; import java.security.KeyPair; @@ -42,8 +41,6 @@ class CryptoUtils { singleton( new PeerPolicy( "localhost-policy", - singleton( - new Role("localhost-role")), singletonList( RequiredPeerCredential.of(Field.CN, "localhost"))))); -- cgit v1.2.3