Polish sample package names

This commit is contained in:
Phillip Webb
2015-06-23 00:47:12 -07:00
parent 9c0335fc29
commit 1ce617f1ae
163 changed files with 401 additions and 760 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package sample.ui.secure;
package sample.web.secure;
import java.util.Date;
import java.util.Map;
@@ -52,15 +52,15 @@ public class SampleWebSecureApplication extends WebMvcConfigurerAdapter {
throw new RuntimeException("Expected exception in controller");
}
public static void main(String[] args) throws Exception {
new SpringApplicationBuilder(SampleWebSecureApplication.class).run(args);
}
@Override
public void addViewControllers(ViewControllerRegistry registry) {
registry.addViewController("/login").setViewName("login");
}
public static void main(String[] args) throws Exception {
new SpringApplicationBuilder(SampleWebSecureApplication.class).run(args);
}
@Configuration
@Order(SecurityProperties.ACCESS_OVERRIDE_ORDER)
protected static class ApplicationSecurity extends WebSecurityConfigurerAdapter {