From 6c5fd38a3f656f68a2de9fc630aa5d1270ed5bcf Mon Sep 17 00:00:00 2001 From: heowc Date: Sat, 8 Jan 2022 16:46:19 +0900 Subject: [PATCH] Fix typo --- .../web/configurers/ExpressionUrlAuthorizationConfigurer.java | 4 +--- .../security/web/util/matcher/ELRequestMatcher.java | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/config/src/main/java/org/springframework/security/config/annotation/web/configurers/ExpressionUrlAuthorizationConfigurer.java b/config/src/main/java/org/springframework/security/config/annotation/web/configurers/ExpressionUrlAuthorizationConfigurer.java index 1c0499693f..0a990fa876 100644 --- a/config/src/main/java/org/springframework/security/config/annotation/web/configurers/ExpressionUrlAuthorizationConfigurer.java +++ b/config/src/main/java/org/springframework/security/config/annotation/web/configurers/ExpressionUrlAuthorizationConfigurer.java @@ -369,9 +369,7 @@ public final class ExpressionUrlAuthorizationConfigurersubnet. + * 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 diff --git a/web/src/main/java/org/springframework/security/web/util/matcher/ELRequestMatcher.java b/web/src/main/java/org/springframework/security/web/util/matcher/ELRequestMatcher.java index 53091a136b..0312531c38 100644 --- a/web/src/main/java/org/springframework/security/web/util/matcher/ELRequestMatcher.java +++ b/web/src/main/java/org/springframework/security/web/util/matcher/ELRequestMatcher.java @@ -29,7 +29,7 @@ import org.springframework.security.web.authentication.DelegatingAuthenticationE * *

* With the default EvaluationContext ({@link ELRequestMatcherContext}) you can use - * hasIpAdress() and hasHeader() + * hasIpAddress() and hasHeader() *

* *