diff --git a/docs/guides/src/asciidoc/_hello-includes/secure-the-application.asc b/docs/guides/src/asciidoc/_hello-includes/secure-the-application.asc index 95f4463d3b..ff0fcae8bc 100644 --- a/docs/guides/src/asciidoc/_hello-includes/secure-the-application.asc +++ b/docs/guides/src/asciidoc/_hello-includes/secure-the-application.asc @@ -50,8 +50,9 @@ The next step is to create a Spring Security configuration. ---- package org.springframework.security.samples.config; -import org.springframework.context.annotation.*; -import org.springframework.security.config.annotation.authentication.builders.*; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Configuration; +import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; import org.springframework.security.config.annotation.web.configuration.*; @Configuration diff --git a/samples/insecuremvc/src/main/webapp/WEB-INF/decorators.xml b/samples/insecuremvc/src/main/webapp/WEB-INF/decorators.xml deleted file mode 100644 index a4542da250..0000000000 --- a/samples/insecuremvc/src/main/webapp/WEB-INF/decorators.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - /* - - diff --git a/samples/insecuremvc/src/main/webapp/WEB-INF/decorators/main.jsp b/samples/insecuremvc/src/main/webapp/WEB-INF/decorators/main.jsp deleted file mode 100644 index 4e19966a33..0000000000 --- a/samples/insecuremvc/src/main/webapp/WEB-INF/decorators/main.jsp +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - SecureMail: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Inbox - - Compose - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/insecuremvc/src/main/webapp/WEB-INF/views/messages/compose.jspx b/samples/insecuremvc/src/main/webapp/WEB-INF/views/messages/compose.jspx deleted file mode 100644 index a92f7e2d6c..0000000000 --- a/samples/insecuremvc/src/main/webapp/WEB-INF/views/messages/compose.jspx +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Compose - - - - Messages : Create - - - Summary - - Message - - - - - - - - - \ No newline at end of file diff --git a/samples/insecuremvc/src/main/webapp/WEB-INF/views/messages/inbox.jspx b/samples/insecuremvc/src/main/webapp/WEB-INF/views/messages/inbox.jspx deleted file mode 100644 index ed02d313c6..0000000000 --- a/samples/insecuremvc/src/main/webapp/WEB-INF/views/messages/inbox.jspx +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Inbox - - - Inbox - - - - Created - Summary - - - - - - You have not received any mail yet. - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/insecuremvc/src/main/webapp/WEB-INF/views/messages/show.jspx b/samples/insecuremvc/src/main/webapp/WEB-INF/views/messages/show.jspx deleted file mode 100644 index 82007c267b..0000000000 --- a/samples/insecuremvc/src/main/webapp/WEB-INF/views/messages/show.jspx +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - Message : - - Created - - Message - - - - - - \ No newline at end of file