public virtual void HandleFailure(HttpResponse response, AuthException ae) { throw ae; }
public override void HandleFailure(System.Web.HttpResponse response, AuthException ae) { response.AddHeader("WWW-Authenticate", "Basic realm=\""+Environment.MachineName+"\""); response.StatusCode = 401; }