mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 13:32:30 +00:00
SEC-360: Minor correction in patch applied yesterday.
This commit is contained in:
parent
2a65d386d5
commit
ad6c501379
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user