@@ -217,8 +217,8 @@ ks.setCertificateEntry("conjurTlsCaPath", cert);
217217final TrustManagerFactory tmf = TrustManagerFactory . getInstance(" SunX509" );
218218tmf. init(ks);
219219
220- SSLContext conjurSslContext = SSLContext . getInstance(" TLS" );
221- conjurSslContext . init(null , tmf. getTrustManagers(), null );
220+ SSLContext conjurSSLContext = SSLContext . getInstance(" TLS" );
221+ conjurSSLContext . init(null , tmf. getTrustManagers(), null );
222222```
223223
224224### JVM-level trust
@@ -321,8 +321,8 @@ import net.conjur.api.Conjur;
321321
322322// Configured using environment variables
323323Conjur conjur = new Conjur ();
324- // or using custom SSLContext setup as conjurSslContext variable
325- Conjur conjur = new Conjur (conjurSslContext );
324+ // or using custom SSLContext setup as conjurSSLContext variable
325+ Conjur conjur = new Conjur (conjurSSLContext );
326326```
327327
328328### System Properties
@@ -339,8 +339,8 @@ import net.conjur.api.Conjur;
339339
340340// Configured using system properties
341341Conjur conjur = new Conjur ();
342- // or using custom SSLContext setup as conjurSslContext variable
343- Conjur conjur = new Conjur (conjurSslContext );
342+ // or using custom SSLContext setup as conjurSSLContext variable
343+ Conjur conjur = new Conjur (conjurSSLContext );
344344```
345345
346346### System Properties with Maven
@@ -358,8 +358,8 @@ import net.conjur.api.Conjur;
358358
359359// Configured using system properties
360360Conjur conjur = new Conjur ();
361- // or using custom SSLContext setup as conjurSslContext variable
362- Conjur conjur = new Conjur (conjurSslContext );
361+ // or using custom SSLContext setup as conjurSSLContext variable
362+ Conjur conjur = new Conjur (conjurSSLContext );
363363```
364364
365365### Username and Password
@@ -377,8 +377,8 @@ import net.conjur.api.Conjur;
377377Conjur conjur = new Conjur (' host/host-id' , ' password-or-api-key' );
378378// or
379379Conjur conjur = new Conjur (' username' , ' password-or-api-key' );
380- // or using custom SSLContext setup as conjurSslContext variable
381- Conjur conjur = new Conjur (' username' , ' password-or-api-key' , conjurSslContext );
380+ // or using custom SSLContext setup as conjurSSLContext variable
381+ Conjur conjur = new Conjur (' username' , ' password-or-api-key' , conjurSSLContext );
382382```
383383
384384### Credentials
@@ -396,8 +396,8 @@ import net.conjur.api.Credentials;
396396// regarding how 'password-or-api-key' is processed.
397397Credentials credentials = new Credentials (' username' , ' password-or-api-key' );
398398Conjur conjur = new Conjur (credentials);
399- // or using custom SSLContext setup as conjurSslContext variable
400- Conjur conjur = new Conjur (credentials, conjurSslContext );
399+ // or using custom SSLContext setup as conjurSSLContext variable
400+ Conjur conjur = new Conjur (credentials, conjurSSLContext );
401401```
402402
403403### Authorization Token
@@ -415,8 +415,8 @@ import net.conjur.api.Token;
415415
416416Token token = Token . fromFile(Paths . get(' path/to/conjur/authentication/token.json' ));
417417Conjur conjur = new Conjur (token);
418- // or using custom SSLContext setup as conjurSslContext variable
419- Conjur conjur = new Conjur (token, conjurSslContext );
418+ // or using custom SSLContext setup as conjurSSLContext variable
419+ Conjur conjur = new Conjur (token, conjurSSLContext );
420420```
421421
422422Alternatively, use the ` CONJUR_AUTHN_TOKEN_FILE ` environment variable:
@@ -433,8 +433,8 @@ import net.conjur.api.Token;
433433
434434Token token = Token . fromEnv();
435435Conjur conjur = new Conjur (token);
436- // or using custom SSLContext setup as conjurSslContext variable
437- Conjur conjur = new Conjur (token, conjurSslContext );
436+ // or using custom SSLContext setup as conjurSSLContext variable
437+ Conjur conjur = new Conjur (token, conjurSSLContext );
438438```
439439
440440## Client APIs
0 commit comments