@@ -88,7 +88,7 @@ public class TomcatJSS implements SSLSocketListener {
88
88
boolean requireClientAuth ;
89
89
boolean wantClientAuth ;
90
90
91
- boolean enableOCSP ;
91
+ boolean enableRevocationCheck ;
92
92
String ocspResponderURL ;
93
93
String ocspResponderCertNickname ;
94
94
int ocspCacheSize = 1000 ; // entries
@@ -183,12 +183,12 @@ public boolean getWantClientAuth() {
183
183
return wantClientAuth ;
184
184
}
185
185
186
- public boolean getEnableOCSP () {
187
- return enableOCSP ;
186
+ public boolean getEnableRevocationCheck () {
187
+ return enableRevocationCheck ;
188
188
}
189
189
190
- public void setEnableOCSP (boolean enableOCSP ) {
191
- this .enableOCSP = enableOCSP ;
190
+ public void setEnableRevocationCheck (boolean enableRevocationCheck ) {
191
+ this .enableRevocationCheck = enableRevocationCheck ;
192
192
}
193
193
194
194
public String getOcspResponderURL () {
@@ -267,9 +267,9 @@ public void loadJSSConfig(Properties config) {
267
267
if (passwordFileProp != null )
268
268
setPasswordFile (passwordFileProp );
269
269
270
- String enableOCSPProp = config .getProperty ("enableOCSP " );
271
- if (enableOCSPProp != null )
272
- setEnableOCSP (Boolean .parseBoolean (enableOCSPProp ));
270
+ String enableRevocationCheckProp = config .getProperty ("enableRevocationCheck " );
271
+ if (enableRevocationCheckProp != null )
272
+ setEnableRevocationCheck (Boolean .parseBoolean (enableRevocationCheckProp ));
273
273
274
274
String ocspResponderURLProp = config .getProperty ("ocspResponderURL" );
275
275
if (ocspResponderURLProp != null )
@@ -343,9 +343,9 @@ public void loadTomcatConfig(Document document) throws XPathExpressionException
343
343
if (serverCertNickFileProp != null )
344
344
setServerCertNickFile (serverCertNickFileProp );
345
345
346
- String enableOCSPProp = connector .getAttribute ("enableOCSP " );
347
- if (enableOCSPProp != null )
348
- setEnableOCSP (Boolean .parseBoolean (enableOCSPProp ));
346
+ String enableRevocationCheckProp = connector .getAttribute ("enableRevocationCheck " );
347
+ if (enableRevocationCheckProp != null )
348
+ setEnableRevocationCheck (Boolean .parseBoolean (enableRevocationCheckProp ));
349
349
350
350
String ocspResponderURLProp = connector .getAttribute ("ocspResponderURL" );
351
351
if (ocspResponderURLProp != null )
@@ -469,7 +469,7 @@ public void init() throws KeyDatabaseException, CertDatabaseException, GeneralSe
469
469
logger .debug ("wantClientAuth: {}" , wantClientAuth );
470
470
471
471
if (requireClientAuth || wantClientAuth ) {
472
- configureOCSP ();
472
+ configureRevocationCheck ();
473
473
}
474
474
475
475
// 12 hours = 43200 seconds
@@ -549,12 +549,12 @@ public CryptoToken getToken(String tag) throws NoSuchTokenException {
549
549
return null ;
550
550
}
551
551
552
- public void configureOCSP () throws GeneralSecurityException , ConfigurationException {
552
+ public void configureRevocationCheck () throws GeneralSecurityException , ConfigurationException {
553
553
554
- logger .info ("configuring OCSP " );
554
+ logger .info ("configuring Revocation Check " );
555
555
556
- logger .debug ("enableOCSP : {}" , enableOCSP );
557
- if (!enableOCSP ) {
556
+ logger .debug ("enableCertificateCheck : {}" , enableRevocationCheck );
557
+ if (!enableRevocationCheck ) {
558
558
return ;
559
559
}
560
560
0 commit comments