@@ -53,7 +53,7 @@ public class WebClientOptions implements Serializable {
5353 private boolean isRedirectEnabled_ = true ;
5454 private File tempFileDirectory_ ;
5555
56- private KeyStore sslClientCertificateStore_ ;
56+ private transient KeyStore sslClientCertificateStore_ ;
5757 private char [] sslClientCertificatePassword_ ;
5858 private transient KeyStore sslTrustStore_ ;
5959 private String [] sslClientProtocols_ ;
@@ -188,6 +188,7 @@ public boolean isRedirectEnabled() {
188188 * In some cases the impl seems to pick old certificates from the {@link KeyStore}. To avoid
189189 * that, wrap your {@link KeyStore} inside your own {@link KeyStore} impl and filter out outdated
190190 * certificates.
191+ * <p>This property is transient (because KeyStore is not serializable)
191192 *
192193 * @param keyStore {@link KeyStore} to use
193194 * @param keyStorePassword the keystore password
@@ -205,6 +206,7 @@ public void setSSLClientCertificateKeyStore(final KeyStore keyStore, final char[
205206 * "sun.security.ssl.allowUnsafeRenegotiation" to true, as hinted in
206207 * <a href="http://www.oracle.com/technetwork/java/javase/documentation/tlsreadme2-176330.html">
207208 * TLS Renegotiation Issue</a>.
209+ * <p>This property is transient (because KeyStore is not serializable)
208210 *
209211 * @param keyStoreUrl the URL which locates the certificate {@link KeyStore}
210212 * @param keyStorePassword the certificate {@link KeyStore} password
@@ -253,6 +255,8 @@ public void setSSLClientCertificateKeyStore(final InputStream keyStoreInputStrea
253255
254256 /**
255257 * Gets the SSLClientCertificateStore.
258+ * <p>This property is transient (because KeyStore is not serializable)
259+ *
256260 * @return the KeyStore for use on SSL connections
257261 */
258262 public KeyStore getSSLClientCertificateStore () {
@@ -542,8 +546,7 @@ public String getSSLInsecureProtocol() {
542546 * Sets the SSL server certificate trust store. All server certificates will be validated against
543547 * this trust store.
544548 * <p>This property is transient (because KeyStore is not serializable)
545- * <p>
546- * The needed parameters are used to construct a {@link java.security.KeyStore}.
549+ * <p>The needed parameters are used to construct a {@link java.security.KeyStore}.
547550 *
548551 * @param sslTrustStoreUrl the URL which locates the trust store
549552 * @param sslTrustStorePassword the trust store password
0 commit comments