heowc 3 years ago
parent
commit
6c5fd38a3f

+ 1 - 3
config/src/main/java/org/springframework/security/config/annotation/web/configurers/ExpressionUrlAuthorizationConfigurer.java

@@ -369,9 +369,7 @@ public final class ExpressionUrlAuthorizationConfigurer<H extends HttpSecurityBu
 		}
 
 		/**
-		 * Specify that URLs requires a specific IP Address or <a href=
-		 * "https://forum.spring.io/showthread.php?102783-How-to-use-hasIpAddress&p=343971#post343971"
-		 * >subnet</a>.
+		 * Specify that URLs requires a specific IP Address or subnet.
 		 * @param ipaddressExpression the ipaddress (i.e. 192.168.1.79) or local subnet
 		 * (i.e. 192.168.0/24)
 		 * @return the {@link ExpressionUrlAuthorizationConfigurer} for further

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

@@ -29,7 +29,7 @@ import org.springframework.security.web.authentication.DelegatingAuthenticationE
  *
  * <p>
  * With the default EvaluationContext ({@link ELRequestMatcherContext}) you can use
- * <code>hasIpAdress()</code> and <code>hasHeader()</code>
+ * <code>hasIpAddress()</code> and <code>hasHeader()</code>
  * </p>
  *
  * <p>