Skip to content

Commit e86ddf8

Browse files
committed
updates
1 parent d62b1ba commit e86ddf8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/app-service/app-service-web-configure-tls-mutual-auth.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public class Startup
187187
// Configure the application to use the client certificate forwarded by the front-end load balancer.
188188
services.AddCertificateForwarding(options => { options.CertificateHeader = "X-ARR-ClientCert"; });
189189

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.
191191
services.AddAuthentication(CertificateAuthenticationDefaults.AuthenticationScheme).AddCertificate();
192192
}
193193

@@ -443,7 +443,7 @@ public class ClientCertValidator {
443443

444444
/**
445445
* 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.
447447
*/
448448
private boolean certificateHasNotExpired() {
449449
Date currentTime = new java.util.Date();
@@ -457,7 +457,7 @@ public class ClientCertValidator {
457457

458458
/**
459459
* 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.
461461
*/
462462
private boolean thumbprintIsValid() throws NoSuchAlgorithmException, CertificateEncodingException {
463463
MessageDigest md = MessageDigest.getInstance("SHA-1");

0 commit comments

Comments
 (0)