File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ public class Startup
187
187
// Configure the application to use the client certificate forwarded by the front-end load balancer.
188
188
services .AddCertificateForwarding (options => { options .CertificateHeader = " X-ARR-ClientCert" ; });
189
189
190
- // Add certificate authentication so that when authorization is performed the user will be created from the certificate.
190
+ // Add certificate authentication so that when authorization is performed the user will be created from the certificate.
191
191
services .AddAuthentication (CertificateAuthenticationDefaults .AuthenticationScheme ).AddCertificate ();
192
192
}
193
193
@@ -443,7 +443,7 @@ public class ClientCertValidator {
443
443
444
444
/**
445
445
* Check certificate's timestamp.
446
- * @return returns True if the certificate isn't expired. It returns False if it is expired.
446
+ * @return True if the certificate isn't expired. It returns False if it is expired.
447
447
*/
448
448
private boolean certificateHasNotExpired () {
449
449
Date currentTime = new java.util. Date ();
@@ -457,7 +457,7 @@ public class ClientCertValidator {
457
457
458
458
/**
459
459
* Check whether the certificate's thumbprint matches the given one.
460
- * @return returns True if the thumbprints match. False otherwise.
460
+ * @return True if the thumbprints match. False otherwise.
461
461
*/
462
462
private boolean thumbprintIsValid () throws NoSuchAlgorithmException , CertificateEncodingException {
463
463
MessageDigest md = MessageDigest . getInstance(" SHA-1" );
You can’t perform that action at this time.
0 commit comments