@Override
  public void init(ServletConfig servletConfig) throws ServletException {
    super.init(servletConfig);
    plugin = (WixatPlugin) XMPPServer.getInstance().getPluginManager().getPlugin("wixat");

    // Exclude this servlet from requering the user to login
    AuthCheckFilter.addExclude("wixat/check");
  }
 @Override
 public void destroy() {
   super.destroy();
   // Release the excluded URL
   AuthCheckFilter.removeExclude("wixat/check");
 }