diff --git a/Source/JNA/waffle-tomcat8/src/main/java/waffle/apache/MixedAuthenticator.java b/Source/JNA/waffle-tomcat8/src/main/java/waffle/apache/MixedAuthenticator.java index 535b701440..fee8c77a89 100644 --- a/Source/JNA/waffle-tomcat8/src/main/java/waffle/apache/MixedAuthenticator.java +++ b/Source/JNA/waffle-tomcat8/src/main/java/waffle/apache/MixedAuthenticator.java @@ -96,9 +96,7 @@ public boolean authenticate(final Request request, final HttpServletResponse res final boolean ntlmPost = authorizationHeader.isNtlmType1PostAuthorizationHeader(); this.log.debug("authorization: {}, ntlm post: {}", authorizationHeader, Boolean.valueOf(ntlmPost)); - final LoginConfig loginConfig = new LoginConfig(); - loginConfig.setErrorPage("error.html"); - loginConfig.setLoginPage("login.html"); + final LoginConfig loginConfig = context.getLoginConfig(); if (principal != null && !ntlmPost) { this.log.debug("previously authenticated user: {}", principal.getName());