Skip to content

Commit 6e2e8c4

Browse files
aSemySteve Riesenberg
authored andcommitted
typo fitler -> filter
1 parent e7880b1 commit 6e2e8c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/src/main/java/org/springframework/security/test/web/servlet/setup/SecurityMockMvcConfigurer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public RequestPostProcessor beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> b
7171
WebApplicationContext context) {
7272
String securityBeanId = BeanIds.SPRING_SECURITY_FILTER_CHAIN;
7373
if (getSpringSecurityFilterChain() == null && context.containsBean(securityBeanId)) {
74-
setSpringSecurityFitlerChain(context.getBean(securityBeanId, Filter.class));
74+
setSpringSecurityFilterChain(context.getBean(securityBeanId, Filter.class));
7575
}
7676
Assert.state(getSpringSecurityFilterChain() != null,
7777
() -> "springSecurityFilterChain cannot be null. Ensure a Bean with the name " + securityBeanId
@@ -81,7 +81,7 @@ public RequestPostProcessor beforeMockMvcCreated(ConfigurableMockMvcBuilder<?> b
8181
return testSecurityContext();
8282
}
8383

84-
private void setSpringSecurityFitlerChain(Filter filter) {
84+
private void setSpringSecurityFilterChain(Filter filter) {
8585
this.delegateFilter.setDelegate(filter);
8686
}
8787

0 commit comments

Comments
 (0)