We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e64102b commit 5f5427bCopy full SHA for 5f5427b
web/src/main/java/org/springframework/security/web/PortResolver.java
@@ -31,6 +31,14 @@
31
*/
32
public interface PortResolver {
33
34
+ PortResolver NO_OP = new PortResolver() {
35
+
36
+ @Override
37
+ public int getServerPort(ServletRequest request) {
38
+ return request.getServerPort();
39
+ }
40
+ };
41
42
/**
43
* Indicates the port the <code>ServletRequest</code> was received on.
44
* @param request that the method should lookup the port for
0 commit comments