From 5ba5027e5085db584b72bdb21dec4924aad41cd0 Mon Sep 17 00:00:00 2001 From: eugenp Date: Sun, 9 Nov 2014 20:13:33 +0200 Subject: [PATCH] static resources project now eclipse web project --- handling-spring-static-resources/.classpath | 6 ++---- handling-spring-static-resources/.project | 5 +++-- .../security/MySimpleUrlAuthenticationSuccessHandler.java | 1 - 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/handling-spring-static-resources/.classpath b/handling-spring-static-resources/.classpath index ceb436dc82..71a1c1e0b5 100644 --- a/handling-spring-static-resources/.classpath +++ b/handling-spring-static-resources/.classpath @@ -19,11 +19,9 @@ - - - + - + diff --git a/handling-spring-static-resources/.project b/handling-spring-static-resources/.project index 3d1ebc3a95..a16def8042 100644 --- a/handling-spring-static-resources/.project +++ b/handling-spring-static-resources/.project @@ -31,17 +31,18 @@ - org.eclipse.m2e.core.maven2Builder + org.hibernate.eclipse.console.hibernateBuilder - org.hibernate.eclipse.console.hibernateBuilder + org.eclipse.m2e.core.maven2Builder + org.eclipse.jem.workbench.JavaEMFNature org.springframework.ide.eclipse.core.springnature org.eclipse.jdt.core.javanature org.eclipse.m2e.core.maven2Nature diff --git a/handling-spring-static-resources/src/main/java/org/baeldung/security/MySimpleUrlAuthenticationSuccessHandler.java b/handling-spring-static-resources/src/main/java/org/baeldung/security/MySimpleUrlAuthenticationSuccessHandler.java index 730def5adf..316642ab6f 100644 --- a/handling-spring-static-resources/src/main/java/org/baeldung/security/MySimpleUrlAuthenticationSuccessHandler.java +++ b/handling-spring-static-resources/src/main/java/org/baeldung/security/MySimpleUrlAuthenticationSuccessHandler.java @@ -17,7 +17,6 @@ public class MySimpleUrlAuthenticationSuccessHandler implements AuthenticationSu private RedirectStrategy redirectStrategy = new DefaultRedirectStrategy(); - @Override public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException { handle(request, response, authentication); HttpSession session = request.getSession(false);