initial login page

This commit is contained in:
eugenp 2013-05-01 15:39:36 +03:00
parent 1083636ca2
commit 2dbcc24761
3 changed files with 8 additions and 5 deletions

View File

@ -12,11 +12,6 @@
<!-- Spring Security -->
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>${org.springframework.security.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>

View File

@ -23,6 +23,7 @@ public class ClientWebConfig extends WebMvcConfigurerAdapter {
public void addViewControllers(final ViewControllerRegistry registry) {
super.addViewControllers(registry);
registry.addViewController("/login.html");
registry.addViewController("/sample.html");
}

View File

@ -0,0 +1,7 @@
<html>
<head></head>
<body>
<h1>Login</h1>
</body>
</html>