Browse Source

Fix typo

pull/10705/head
heowc 4 years ago committed by Eleftheria Stein-Kousathana
parent
commit
1ab0705b47
  1. 4
      config/src/main/java/org/springframework/security/config/annotation/web/configurers/ExpressionUrlAuthorizationConfigurer.java
  2. 2
      web/src/main/java/org/springframework/security/web/util/matcher/ELRequestMatcher.java

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

@ -369,9 +369,7 @@ public final class ExpressionUrlAuthorizationConfigurer<H extends HttpSecurityBu @@ -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

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

@ -29,7 +29,7 @@ import org.springframework.security.web.authentication.DelegatingAuthenticationE @@ -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>

Loading…
Cancel
Save