title: AuthorizeAttribute behavior in ASP.NET MVC when authentication mode is set to Windows
body: <p>I have a controller protected with <code>AuthorizeAttribute</code>. When the authorization fails i get just an empty page. If i override <code>OnAuthorization()</code> i can see that after calling <code>base.OnAuthorization()</code> <code>filterContext.Result</code> is null (why?). If i override <code>OnException()</code> and set a breakpoint it never hits. Can please someone explain how it's supposed to work? How can i make it redirect to specified page? Where can i inject into to log failed authorization attempts (better not to write custom filter)? I use MVC 3 RC1 if it's important.</p>