This commit is contained in:
heowc 2022-01-08 16:46:19 +09:00 committed by Eleftheria Stein
parent 5598a6a9e1
commit 6c5fd38a3f
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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>