protected override bool AuthorizeCore(System.Web.HttpContextBase httpContext) { bool?result = AuthorizationBehavior == null ? null : AuthorizationBehavior.OverrideAuthorize(this, httpContext); return(result.HasValue ? result.Value : base.AuthorizeCore(httpContext)); }
protected override bool AuthorizeCore(System.Web.HttpContextBase httpContext) { bool?result = AuthorizationBehavior == null ? null : AuthorizationBehavior.OverrideAuthorize(this, httpContext); log.Debug("AuthorizeCore1: ", result); bool aux = result.HasValue ? result.Value : base.AuthorizeCore(httpContext); log.Debug("AuthorizeCore2: ", result); return(aux); }