Commit 07cad723 authored by Quxl's avatar Quxl

x

parent 1dbc652e
package com.egolm.sso.clients;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.security.KeyStore;
import java.security.cert.CertificateException;
import java.security.cert.X509Certificate;
import java.util.HashMap;
import java.util.Map;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.KeyManager;
import javax.net.ssl.KeyManagerFactory;
import javax.net.ssl.SSLSession;
import javax.net.ssl.TrustManager;
import javax.net.ssl.TrustManagerFactory;
import javax.net.ssl.X509TrustManager;
import javax.security.auth.callback.Callback;
import javax.security.auth.callback.CallbackHandler;
......@@ -43,14 +37,14 @@ public class SAPServiceFactory {
@Value("${CLIENT.SSL.OPEN}")
private boolean isOpenSSLAuth;
@Value("${CLIENT.SSL.PROTOCOL}")
private String SSLProtocol;
@Value("${CLIENT.SSL.KEYSTORE.FILEPATH}")
private String keyStoreFile;
@Value("${CLIENT.SSL.KEYSTORE.PASSWORD}")
private String keyStorePassword;
// @Value("${CLIENT.SSL.PROTOCOL}")
// private String SSLProtocol;
//
// @Value("${CLIENT.SSL.KEYSTORE.FILEPATH}")
// private String keyStoreFile;
//
// @Value("${CLIENT.SSL.KEYSTORE.PASSWORD}")
// private String keyStorePassword;
@Value("${CLIENT.USER.OPEN}")
private boolean isOpenUserAuth;
......@@ -125,6 +119,7 @@ public class SAPServiceFactory {
}
/*
private static TrustManager[] trustManagers = null;
private static KeyManager[] keyManagers = null;
......@@ -180,4 +175,5 @@ public class SAPServiceFactory {
}
return keyManagers;
}
*/
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment