Commit 3de21d55 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

Custom* -> *Impl

parent d3b633fd
......@@ -11,7 +11,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
@Component
public class CustomAuthenticationFailureHandler implements AuthenticationFailureHandler {
public class AuthenticationFailureHandlerImpl implements AuthenticationFailureHandler {
@Override
public void onAuthenticationFailure(
......
......@@ -21,13 +21,16 @@ import lcsb.mapviewer.model.user.User;
import lcsb.mapviewer.services.interfaces.IUserService;
@Component
public class CustomAuthenticationSuccessHandler implements AuthenticationSuccessHandler {
public class AuthenticationSuccessHandlerImpl implements AuthenticationSuccessHandler {
private static Logger logger = LogManager.getLogger(CustomAuthenticationSuccessHandler.class);
private static Logger logger = LogManager.getLogger(AuthenticationSuccessHandlerImpl.class);
@Autowired
private IUserService userService;
public AuthenticationSuccessHandlerImpl(IUserService userService) {
this.userService = userService;
}
@Override
public void onAuthenticationSuccess(
HttpServletRequest request,
......
......@@ -10,7 +10,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
@Service
public class CustomLogoutSuccessHandler implements LogoutSuccessHandler {
public class LogoutSuccessHandlerImpl implements LogoutSuccessHandler {
@Override
public void onLogoutSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication)
throws IOException, ServletException {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment