mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
synced 2025-02-27 20:19:03 +00:00
Added a comment
This commit is contained in:
parent
21b4c3ab87
commit
d00637b05e
@ -62,6 +62,7 @@ public class RESTClientSample {
|
||||
System.setProperty("javax.net.ssl.trustStorePassword", password-to-keystore);
|
||||
|
||||
//Establish credentials to use basic authentication.
|
||||
//Only for demo purposes. Do not specify your credentials in code.
|
||||
final CredentialsProvider credentialsProvider = new BasicCredentialsProvider();
|
||||
|
||||
credentialsProvider.setCredentials(AuthScope.ANY,
|
||||
|
Loading…
x
Reference in New Issue
Block a user