diff options
author | dave.adams (da490c) <dave.adams@amdocs.com> | 2017-06-09 22:34:16 -0400 |
---|---|---|
committer | dave.adams (da490c) <dave.adams@amdocs.com> | 2017-06-09 22:38:07 -0400 |
commit | cf2f6ef5fadb27bab1e65cb25ff9d36acad4a68d (patch) | |
tree | 8253f7e6f3cf8ca697055a76159e69e643e6af91 /src | |
parent | f709acf2e6fc372ed36e0d2612a0b25ff1d582de (diff) |
Modify authentication mode default
Change-Id: I751af549f37200b6e12cf2b6f1319f3d4d5f628a
Signed-off-by: dave.adams (da490c) <dave.adams@amdocs.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/openecomp/restclient/rest/RestClientBuilder.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/openecomp/restclient/rest/RestClientBuilder.java b/src/main/java/org/openecomp/restclient/rest/RestClientBuilder.java index 0afd8a6..2dd19ac 100644 --- a/src/main/java/org/openecomp/restclient/rest/RestClientBuilder.java +++ b/src/main/java/org/openecomp/restclient/rest/RestClientBuilder.java @@ -58,7 +58,7 @@ public class RestClientBuilder { public static final String DEFAULT_TRUST_STORE_FILENAME = null;
public static final int DEFAULT_CONNECT_TIMEOUT_MS = 60000;
public static final int DEFAULT_READ_TIMEOUT_MS = 60000;
- public static final RestAuthenticationMode DEFAULT_AUTH_MODE = RestAuthenticationMode.HTTP_NOAUTH;
+ public static final RestAuthenticationMode DEFAULT_AUTH_MODE = RestAuthenticationMode.SSL_CERT;
public static final String DEFAULT_BASIC_AUTH_USERNAME = "";
public static final String DEFAULT_BASIC_AUTH_PASSWORD = "";
@@ -88,7 +88,7 @@ public class RestClientBuilder { truststoreFilename = DEFAULT_TRUST_STORE_FILENAME;
connectTimeoutInMs = DEFAULT_CONNECT_TIMEOUT_MS;
readTimeoutInMs = DEFAULT_READ_TIMEOUT_MS;
- authenticationMode = RestAuthenticationMode.HTTP_NOAUTH;
+ authenticationMode = DEFAULT_AUTH_MODE;
basicAuthUsername = DEFAULT_BASIC_AUTH_USERNAME;
basicAuthPassword = DEFAULT_BASIC_AUTH_PASSWORD;
}
|