summaryrefslogtreecommitdiffstats
path: root/jrt
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@yahooinc.com>2022-07-11 14:31:53 +0200
committerBjørn Christian Seime <bjorncs@yahooinc.com>2022-07-11 14:38:14 +0200
commit34dde2dc891ba88440ad72d86f8c4cc138c101c8 (patch)
tree774a3df8410de88711700246381d2597b1ea7f88 /jrt
parent548fcbaa2a98f1626e7fb652db36dbfd4e9a1624 (diff)
Remove 'role' concept from 'authorized-peers'
Diffstat (limited to 'jrt')
-rw-r--r--jrt/tests/com/yahoo/jrt/CryptoUtils.java3
1 files changed, 0 insertions, 3 deletions
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")))));