You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2020/01/31 16:44:42 UTC

[syncope] 01/03: Allowing fluent client TLS settings

This is an automated email from the ASF dual-hosted git repository.

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git

commit 2e4b930a1469e381270ca5f5f21cfd8fdb0f4694
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Fri Jan 31 13:34:17 2020 +0100

    Allowing fluent client TLS settings
---
 .../java/org/apache/syncope/client/lib/SyncopeClientFactoryBean.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/client/idrepo/lib/src/main/java/org/apache/syncope/client/lib/SyncopeClientFactoryBean.java b/client/idrepo/lib/src/main/java/org/apache/syncope/client/lib/SyncopeClientFactoryBean.java
index 0529e18..7244a4d 100644
--- a/client/idrepo/lib/src/main/java/org/apache/syncope/client/lib/SyncopeClientFactoryBean.java
+++ b/client/idrepo/lib/src/main/java/org/apache/syncope/client/lib/SyncopeClientFactoryBean.java
@@ -229,8 +229,9 @@ public class SyncopeClientFactoryBean {
      *
      * @param tlsClientParameters client TLS configuration
      */
-    public void setTlsClientParameters(final TLSClientParameters tlsClientParameters) {
+    public SyncopeClientFactoryBean setTlsClientParameters(final TLSClientParameters tlsClientParameters) {
         this.tlsClientParameters = tlsClientParameters;
+        return this;
     }
 
     public TLSClientParameters getTlsClientParameters() {