private static void setAttribute(final ServerSocketFactory serverSF, final String name, final String value, final String property, final String defaultValue) { serverSF.setAttribute(name, value == null ? System.getProperty(property, defaultValue) : value); }
"javax.net.ssl.trustStorePassword", "changeit"); serverSF.setAttribute("keyAlias", ssl != null ? ssl.getCertNickname() : null); serverSF.init(); newSslContext = serverSF.getSSLContext(); CipherInfo.updateCiphers(newSslContext); } catch (IOException e) {
"javax.net.ssl.trustStorePassword", "changeit"); serverSF.setAttribute("keyAlias", ssl != null ? ssl.getCertNickname() : null); serverSF.init(); newSslContext = serverSF.getSSLContext(); CipherInfo.updateCiphers(newSslContext); } catch (IOException e) {
private static void setAttribute(final ServerSocketFactory serverSF, final String name, final String value, final String property, final String defaultValue) { serverSF.setAttribute(name, value == null ? System.getProperty(property, defaultValue) : value); }