From 0a15ed81fdde99920359f209341114119c1aa11a Mon Sep 17 00:00:00 2001 From: Instrumental Date: Tue, 28 Jan 2020 15:54:01 -0600 Subject: Modify for use of JDK 11 Issue-ID: AAF-1066 Signed-off-by: Instrumental Change-Id: I31484958c48b0d9b930921bec2581144e0675970 --- auth/auth-core/src/main/java/org/onap/aaf/auth/server/AbsService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auth/auth-core') diff --git a/auth/auth-core/src/main/java/org/onap/aaf/auth/server/AbsService.java b/auth/auth-core/src/main/java/org/onap/aaf/auth/server/AbsService.java index 678fb28e..0e770e5f 100644 --- a/auth/auth-core/src/main/java/org/onap/aaf/auth/server/AbsService.java +++ b/auth/auth-core/src/main/java/org/onap/aaf/auth/server/AbsService.java @@ -25,7 +25,7 @@ import java.security.NoSuchAlgorithmException; import java.util.Properties; import javax.net.ssl.SSLContext; -import javax.net.ssl.SSLSocketFactory; +import javax.net.ssl.SSLServerSocketFactory; import javax.servlet.Filter; import org.onap.aaf.auth.common.Define; @@ -86,7 +86,7 @@ public abstract class AbsService exte } catch (NoSuchAlgorithmException e) { throw new CadiException("SSLContext issue",e); } - SSLSocketFactory sf = context.getSocketFactory(); + SSLServerSocketFactory sf = context.getServerSocketFactory(); StringBuilder sb = new StringBuilder("Available Cipher Suites: "); boolean first = true; int count=0; -- cgit 1.2.3-korg