From a75fb6be17e2227f1446442a04f1b771478db4c5 Mon Sep 17 00:00:00 2001 From: Lachlan Date: Thu, 9 Aug 2018 14:19:04 +1000 Subject: [PATCH] Issue #321 - DeadCode JaspiAuthenticatorFactory.findServerName Server param not used changes from review --- .../eclipse/jetty/security/jaspi/JaspiAuthenticatorFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiAuthenticatorFactory.java b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiAuthenticatorFactory.java index 16af3d04811..facb0d4d8a7 100644 --- a/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiAuthenticatorFactory.java +++ b/jetty-jaspi/src/main/java/org/eclipse/jetty/security/jaspi/JaspiAuthenticatorFactory.java @@ -97,7 +97,7 @@ public class JaspiAuthenticatorFactory extends DefaultAuthenticatorFactory RegistrationListener listener = (layer, appContext) -> {}; Subject serviceSubject=findServiceSubject(server); - String serverName=findServerName(server); + String serverName=findServerName(server, serviceSubject); String contextPath=context.getContextPath(); if (contextPath==null || contextPath.length()==0)