@Override
	public void init(FilterConfig config) throws ServletException {
		logger.info("websecurity filter 初始化...");
		// init Parameter
		String configLoc = config.getInitParameter("config");
		if(configLoc != null && configLoc.length() > 0) {
			this.configPath = configLoc;
		}
		logger.info("websecurity 使用配置：" + this.configPath);
		// getServletContext
		this.servletContext = config.getServletContext();
		WebSecurity.setServletContext(servletContext);
		// parse deploy to init
		try {
			logger.info("websecurity 初始化配置文件...");
			this.securityApplicaionContext = new XmlSecurityApplicaionContext(servletContext, configPath);
			WebSecurity.setSecurityApplicaionContext(securityApplicaionContext);
			if(logger.isInfoEnabled()) {
				logger.info("websecurity 初始化配置成功：" + this.securityApplicaionContext);
			}
		} catch (SecurityRuntimeException e) {
			logger.error("websecurity 初始化配置文件异常");
			throw new ServletException("SecurityFilterChain initialize Configuration Exception", e);
		}
	}