Issue #321 - DeadCode JaspiAuthenticatorFactory.findServerName Server param not used

changes from review
This commit is contained in:
Lachlan 2018-08-09 14:19:04 +10:00 committed by GitHub
parent e285bc52c4
commit a75fb6be17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ public class JaspiAuthenticatorFactory extends DefaultAuthenticatorFactory
RegistrationListener listener = (layer, appContext) -> {}; RegistrationListener listener = (layer, appContext) -> {};
Subject serviceSubject=findServiceSubject(server); Subject serviceSubject=findServiceSubject(server);
String serverName=findServerName(server); String serverName=findServerName(server, serviceSubject);
String contextPath=context.getContextPath(); String contextPath=context.getContextPath();
if (contextPath==null || contextPath.length()==0) if (contextPath==null || contextPath.length()==0)