diff --git a/spring-security-login/.settings/org.eclipse.wst.common.component b/spring-security-login/.settings/org.eclipse.wst.common.component index 9784ac36ee..c42e29f80e 100644 --- a/spring-security-login/.settings/org.eclipse.wst.common.component +++ b/spring-security-login/.settings/org.eclipse.wst.common.component @@ -1,10 +1,10 @@ - + - - + + diff --git a/spring-security-login/pom.xml b/spring-security-login/pom.xml index c3ed1ebb2d..d8cecabcdb 100644 --- a/spring-security-login/pom.xml +++ b/spring-security-login/pom.xml @@ -120,7 +120,7 @@ - spring-mvc + spring-security-login src/main/resources diff --git a/spring-security-login/src/main/java/org/baeldung/spring/web/config/ClientWebConfig.java b/spring-security-login/src/main/java/org/baeldung/spring/web/config/ClientWebConfig.java index b13c73dce3..4aadc3a48c 100644 --- a/spring-security-login/src/main/java/org/baeldung/spring/web/config/ClientWebConfig.java +++ b/spring-security-login/src/main/java/org/baeldung/spring/web/config/ClientWebConfig.java @@ -24,7 +24,7 @@ public class ClientWebConfig extends WebMvcConfigurerAdapter { super.addViewControllers(registry); registry.addViewController("/login.html"); - registry.addViewController("/sample.html"); + registry.addViewController("/homepage.html"); } @Bean diff --git a/spring-security-login/src/main/resources/webSecurityConfig.xml b/spring-security-login/src/main/resources/webSecurityConfig.xml index 2b38e4cf17..7079e0e04b 100644 --- a/spring-security-login/src/main/resources/webSecurityConfig.xml +++ b/spring-security-login/src/main/resources/webSecurityConfig.xml @@ -9,11 +9,9 @@ - - - diff --git a/spring-security-login/src/main/webapp/WEB-INF/view/sample.jsp b/spring-security-login/src/main/webapp/WEB-INF/view/homepage.jsp similarity index 100% rename from spring-security-login/src/main/webapp/WEB-INF/view/sample.jsp rename to spring-security-login/src/main/webapp/WEB-INF/view/homepage.jsp diff --git a/spring-security-login/src/main/webapp/WEB-INF/view/login.jsp b/spring-security-login/src/main/webapp/WEB-INF/view/login.jsp index b026d0df44..d64f1e2f62 100644 --- a/spring-security-login/src/main/webapp/WEB-INF/view/login.jsp +++ b/spring-security-login/src/main/webapp/WEB-INF/view/login.jsp @@ -3,5 +3,24 @@

Login

+ +
+ + + + + + + + + + + + + +
User:
Password:
+ +
+ \ No newline at end of file