This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push: new 88db4aa Polish 88db4aa is described below commit 88db4aa3924a9f44f3f681528fc1f5dd4cfc5d59 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Jun 27 22:06:07 2019 +0100 Polish --- java/org/apache/catalina/authenticator/AuthenticatorBase.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/java/org/apache/catalina/authenticator/AuthenticatorBase.java b/java/org/apache/catalina/authenticator/AuthenticatorBase.java index 18b4bde..6c0e5b2 100644 --- a/java/org/apache/catalina/authenticator/AuthenticatorBase.java +++ b/java/org/apache/catalina/authenticator/AuthenticatorBase.java @@ -552,8 +552,8 @@ public abstract class AuthenticatorBase extends ValveBase request.getCoyoteRequest().getMimeHeaders().getValue("authorization") != null; } - if (!authRequired && context.getPreemptiveAuthentication() - && HttpServletRequest.CLIENT_CERT_AUTH.equals(getAuthMethod())) { + if (!authRequired && context.getPreemptiveAuthentication() && + HttpServletRequest.CLIENT_CERT_AUTH.equals(getAuthMethod())) { X509Certificate[] certs = getRequestCertificates(request); authRequired = certs != null && certs.length > 0; } @@ -1067,8 +1067,8 @@ public abstract class AuthenticatorBase extends ValveBase // Configure httpOnly on SSO cookie using same rules as session // cookies - if (request.getServletContext().getSessionCookieConfig().isHttpOnly() - || request.getContext().getUseHttpOnly()) { + if (request.getServletContext().getSessionCookieConfig().isHttpOnly() || + request.getContext().getUseHttpOnly()) { cookie.setHttpOnly(true); } @@ -1285,4 +1285,4 @@ public abstract class AuthenticatorBase extends ValveBase public void refresh() { } } -} \ No newline at end of file +} --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org