package com.uni.web.filters;

import java.io.IOException;

import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class SessionFilter implements Filter {
	
	private final Logger logger = LoggerFactory.getLogger(SessionFilter.class);
	
	public void destroy() {
		logger.info("Shutting Down Session Filter");
	}

	public void doFilter(ServletRequest arg0, ServletResponse arg1,FilterChain arg2) throws IOException, ServletException {
		System.out.println("INFO FINOF INFONF INFINF ************* * * * *");
		logger.info("Processing Request");
	}

	public void init(FilterConfig arg0) throws ServletException {
		logger.info("Initializing Session Filter");
	}

}
