You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
692 B
34 lines
692 B
package filter;
|
|
|
|
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 javax.servlet.annotation.WebFilter;
|
|
|
|
/**
|
|
* 系统管理员过滤
|
|
* @author Mingyue
|
|
*
|
|
*/
|
|
public class AdminFilter implements Filter {
|
|
|
|
public void destroy() {
|
|
|
|
}
|
|
|
|
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
|
|
//TODO
|
|
|
|
chain.doFilter(request, response);
|
|
}
|
|
|
|
public void init(FilterConfig fConfig) throws ServletException {
|
|
|
|
}
|
|
|
|
}
|