From 83992a7a27f8991c147341655003a1167b14f28e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zied=20Za=C3=AFem?= Date: Tue, 5 Jan 2016 14:12:04 +0100 Subject: [PATCH] fix typo in doc --- docs/manual/src/docs/asciidoc/_includes/test.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/manual/src/docs/asciidoc/_includes/test.adoc b/docs/manual/src/docs/asciidoc/_includes/test.adoc index 45857070c2..e2e95ecd8c 100644 --- a/docs/manual/src/docs/asciidoc/_includes/test.adoc +++ b/docs/manual/src/docs/asciidoc/_includes/test.adoc @@ -252,7 +252,7 @@ public class WithMockCustomUserSecurityContextFactory } ---- -We can now annotate a test class or a test method with our new annotation and Spring Security's `WithSecurityContextTestExcecutionListener` will ensure that our `SecurityContext` is populated appropriately. +We can now annotate a test class or a test method with our new annotation and Spring Security's `WithSecurityContextTestExecutionListener` will ensure that our `SecurityContext` is populated appropriately. When creating your own `WithSecurityContextFactory` implementations, it is nice to know that they can be annotated with standard Spring annotations. For example, the `WithUserDetailsSecurityContextFactory` uses the `@Autowired` annotation to acquire the `UserDetailsService`: @@ -672,4 +672,4 @@ We can also combine the assertions: mvc .perform(formLogin().user("admin").roles("USER","ADMIN")) .andExpect(authenticated().withUsername("admin")); ----- \ No newline at end of file +----