// Path: src/main/java/security/constant/Constant.java
// public interface Constant {
// 
// 	String HEADER_SECURITY_TOKEN = "X-AuthToken";
// }
// 
// Path: src/main/java/security/service/base/AuthTokenGeneratorService.java
// public interface AuthTokenGeneratorService {
// 
// 	String generateToken(Authentication authentication);
// 
// 	public String[] decode(String token);
// }
// 
// Path: src/main/java/security/service/base/AuthTokenService.java
// public interface AuthTokenService {
// 
// 	AuthToken create(AuthToken authToken);
// 
// 	AuthToken update(AuthToken authToken);
// 
// 	AuthToken findUserByTokenAndSeries(final String token, final String series);
// 
// 	void deleteByTokenAndSeries(final String token, final String series);
// 
// 	void deleteExpiredTokens();
// }


import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler;
import org.springframework.security.web.authentication.logout.LogoutSuccessHandler;
import security.constant.Constant;
import security.service.base.AuthTokenGeneratorService;
import security.service.base.AuthTokenService;
package security.handler;





public class LogoutSuccessHandlerImpl extends
		AbstractAuthenticationTargetUrlRequestHandler implements
		LogoutSuccessHandler {

	@Autowired
	private AuthTokenService authTokenService;

	@Autowired
// Path: src/main/java/security/constant/Constant.java
// public interface Constant {
// 
// 	String HEADER_SECURITY_TOKEN = "X-AuthToken";
// }
// 
// Path: src/main/java/security/service/base/AuthTokenGeneratorService.java
// public interface AuthTokenGeneratorService {
// 
// 	String generateToken(Authentication authentication);
// 
// 	public String[] decode(String token);
// }
// 
// Path: src/main/java/security/service/base/AuthTokenService.java
// public interface AuthTokenService {
// 
// 	AuthToken create(AuthToken authToken);
// 
// 	AuthToken update(AuthToken authToken);
// 
// 	AuthToken findUserByTokenAndSeries(final String token, final String series);
// 
// 	void deleteByTokenAndSeries(final String token, final String series);
// 
// 	void deleteExpiredTokens();
// }


// Path: src/main/java/security/handler/LogoutSuccessHandlerImpl.java
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler;
import org.springframework.security.web.authentication.logout.LogoutSuccessHandler;
import security.constant.Constant;
import security.service.base.AuthTokenGeneratorService;
import security.service.base.AuthTokenService;

package security.handler;





public class LogoutSuccessHandlerImpl extends
		AbstractAuthenticationTargetUrlRequestHandler implements
		LogoutSuccessHandler {

	@Autowired
	private AuthTokenService authTokenService;

	@Autowired
	private AuthTokenGeneratorService authTokenGeneratorService;