code: public Object doFilter(Object object, Method method, Object[] params, AjaxFilterChain chain) throws Exception
      {
          // We allow anyone to authenticate
          if (authenticateName.equals(method.getName()))
          {
              return chain.doFilter(object, method, params);
          }
  
          Object user = getUser();
          if (user != null)
          {
              return chain.doFilter(object, method, params);
          }
  
          throw new SecurityException("Not authenticated");
      }
docs: /* (non-Javadoc)
  @see org.directwebremoting.AjaxFilter#doFilter(java.lang.Object, java.lang.reflect.Method, java.lang.Object[], org.directwebremoting.AjaxFilterChain)