aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/dcae/TLSTest.java
diff options
context:
space:
mode:
authorZlatko Murgoski <zlatko.murgoski@nokia.com>2019-04-09 15:32:52 +0200
committerZlatko Murgoski <zlatko.murgoski@nokia.com>2019-04-15 10:04:19 +0200
commita6ffdd5cb52d61792dfe8e233620b34098a5fb37 (patch)
tree94d06e42027f4a51bc622765b07e28e9cd28c348 /src/test/java/org/onap/dcae/TLSTest.java
parent740ce4c075564a7005be5737adb9ff5b3f8120aa (diff)
Collector authentication enhancement
Add cert subject verifier Change-Id: If2c3c0984e9eec63e2884ca17db953fff2719888 Issue-ID: DCAEGEN2-1101 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
Diffstat (limited to 'src/test/java/org/onap/dcae/TLSTest.java')
-rw-r--r--src/test/java/org/onap/dcae/TLSTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/java/org/onap/dcae/TLSTest.java b/src/test/java/org/onap/dcae/TLSTest.java
index b1f90371..3cf0a162 100644
--- a/src/test/java/org/onap/dcae/TLSTest.java
+++ b/src/test/java/org/onap/dcae/TLSTest.java
@@ -125,6 +125,7 @@ public class TLSTest extends TLSTestBase {
when(settings.authMethod()).thenReturn(AuthMethodType.CERT_ONLY.value());
when(settings.truststoreFileLocation()).thenReturn(TRUSTSTORE.toString());
when(settings.truststorePasswordFileLocation()).thenReturn(TRUSTSTORE_PASSWORD_FILE.toString());
+ when(settings.certSubjectMatcher()).thenReturn(CERT_SUBJECT_MATCHER.toString());
}
}