mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-27 06:12:27 +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;
|
includePort = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (forceHttps && inHttp) {
|
if (forceHttps && inHttp) {
|
||||||
httpsPort = (Integer) portMapper.lookupHttpsPort(new Integer(serverPort));
|
httpsPort = (Integer) portMapper.lookupHttpsPort(new Integer(serverPort));
|
||||||
doForceHttps = true;
|
|
||||||
|
|
||||||
if (httpsPort != null) {
|
if (httpsPort != null) {
|
||||||
|
doForceHttps = true;
|
||||||
if (httpsPort.intValue() == 443) {
|
if (httpsPort.intValue() == 443) {
|
||||||
includePort = false;
|
includePort = false;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user