Skip to content

Commit 1ab0705

Browse files
heowceleftherias
authored andcommitted
Fix typo
1 parent f04cd64 commit 1ab0705

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

config/src/main/java/org/springframework/security/config/annotation/web/configurers/ExpressionUrlAuthorizationConfigurer.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,7 @@ public ExpressionInterceptUrlRegistry hasAnyAuthority(String... authorities) {
369369
}
370370

371371
/**
372-
* Specify that URLs requires a specific IP Address or <a href=
373-
* "https://forum.spring.io/showthread.php?102783-How-to-use-hasIpAddress&p=343971#post343971"
374-
* >subnet</a>.
372+
* Specify that URLs requires a specific IP Address or subnet.
375373
* @param ipaddressExpression the ipaddress (i.e. 192.168.1.79) or local subnet
376374
* (i.e. 192.168.0/24)
377375
* @return the {@link ExpressionUrlAuthorizationConfigurer} for further

web/src/main/java/org/springframework/security/web/util/matcher/ELRequestMatcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*
3030
* <p>
3131
* With the default EvaluationContext ({@link ELRequestMatcherContext}) you can use
32-
* <code>hasIpAdress()</code> and <code>hasHeader()</code>
32+
* <code>hasIpAddress()</code> and <code>hasHeader()</code>
3333
* </p>
3434
*
3535
* <p>

0 commit comments

Comments
 (0)