diff --git a/docs/modules/ROOT/pages/modules.adoc b/docs/modules/ROOT/pages/modules.adoc index c74d34fb04..df36c89014 100644 --- a/docs/modules/ROOT/pages/modules.adoc +++ b/docs/modules/ROOT/pages/modules.adoc @@ -21,7 +21,7 @@ Where a module depends on another Spring Security module, the non-optional depen [[spring-security-core]] == Core -- `spring-security-core.jar` -This module contains core authentication and access-contol classes and interfaces, remoting support, and basic provisioning APIs. +This module contains core authentication and access-control classes and interfaces, remoting support, and basic provisioning APIs. It is required by any application that uses Spring Security. It supports standalone applications, remote clients, method (service layer) security, and JDBC user provisioning. It contains the following top-level packages: @@ -277,7 +277,7 @@ This is the basis of the Spring Security integration. This module contains support for testing with Spring Security. [[spring-security-taglibs]] -== Taglibs -- `spring-secuity-taglibs.jar` +== Taglibs -- `spring-security-taglibs.jar` Provides Spring Security's JSP tag implementations. .Taglib Dependencies diff --git a/test/src/main/java/org/springframework/security/test/web/servlet/response/SecurityMockMvcResultMatchers.java b/test/src/main/java/org/springframework/security/test/web/servlet/response/SecurityMockMvcResultMatchers.java index d27f1c5afb..ae661d612a 100644 --- a/test/src/main/java/org/springframework/security/test/web/servlet/response/SecurityMockMvcResultMatchers.java +++ b/test/src/main/java/org/springframework/security/test/web/servlet/response/SecurityMockMvcResultMatchers.java @@ -140,11 +140,11 @@ public final class SecurityMockMvcResultMatchers { /** * Allows for any validating the authentication with arbitrary assertions - * @param assesrtAuthentication the Consumer which validates the authentication + * @param assertAuthentication the Consumer which validates the authentication * @return the AuthenticatedMatcher to perform additional assertions */ - public AuthenticatedMatcher withAuthentication(Consumer assesrtAuthentication) { - this.assertAuthentication = assesrtAuthentication; + public AuthenticatedMatcher withAuthentication(Consumer assertAuthentication) { + this.assertAuthentication = assertAuthentication; return this; }