Skip to content

Commit f5f80cd

Browse files
committed
Changed usage of conjurSslContext to conjurSSLContext in readme
The old format was not proper CamelCase.
1 parent 67379b0 commit f5f80cd

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ ks.setCertificateEntry("conjurTlsCaPath", cert);
217217
final TrustManagerFactory tmf = TrustManagerFactory.getInstance("SunX509");
218218
tmf.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
323323
Conjur 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
341341
Conjur 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
360360
Conjur 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;
377377
Conjur conjur = new Conjur('host/host-id', 'password-or-api-key');
378378
// or
379379
Conjur 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.
397397
Credentials credentials = new Credentials('username', 'password-or-api-key');
398398
Conjur 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

416416
Token token = Token.fromFile(Paths.get('path/to/conjur/authentication/token.json'));
417417
Conjur 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

422422
Alternatively, use the `CONJUR_AUTHN_TOKEN_FILE` environment variable:
@@ -433,8 +433,8 @@ import net.conjur.api.Token;
433433

434434
Token token = Token.fromEnv();
435435
Conjur 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

Comments
 (0)