SEC-360: Minor correction in patch applied yesterday.

This commit is contained in:
Ben Alex 2006-11-14 01:09:35 +00:00
parent 2a65d386d5
commit ad6c501379

View File

@ -100,12 +100,11 @@ public class AuthenticationProcessingFilterEntryPoint implements AuthenticationE
includePort = false;
}
if (forceHttps && inHttp) {
httpsPort = (Integer) portMapper.lookupHttpsPort(new Integer(serverPort));
doForceHttps = true;
if (httpsPort != null) {
doForceHttps = true;
if (httpsPort.intValue() == 443) {
includePort = false;
} else {