// Token: 0x060004D2 RID: 1234 RVA: 0x0001AB04 File Offset: 0x00018D04 protected override void AddProtocolSpecificHeadersToServerRequest(WebHeaderCollection headers) { base.AddProtocolSpecificHeadersToServerRequest(headers); if (!Utilities.IsPartnerHostedOnly && !GlobalConfiguration.GetSnapshot(MachineSettingsContext.Local, null, null).MultiTenancy.Enabled&& HttpProxyGlobals.ProtocolType == 1 && base.ProxyToDownLevel) { EcpProxyRequestHandler.AddDownLevelProxyHeaders(headers, base.HttpContext); } }
protected override void AddProtocolSpecificHeadersToServerRequest(WebHeaderCollection headers) { base.AddProtocolSpecificHeadersToServerRequest(headers); if (!Utilities.IsPartnerHostedOnly && !VariantConfiguration.InvariantNoFlightingSnapshot.Global.MultiTenancy.Enabled && HttpProxyGlobals.ProtocolType == ProtocolType.Ecp && base.ProxyToDownLevel) { EcpProxyRequestHandler.AddDownLevelProxyHeaders(headers, base.HttpContext); } }
// Token: 0x06000509 RID: 1289 RVA: 0x0001BAC4 File Offset: 0x00019CC4 protected override void AddProtocolSpecificHeadersToServerRequest(WebHeaderCollection headers) { headers[Constants.LiveIdEnvironment] = (string)base.HttpContext.Items[Constants.LiveIdEnvironment]; headers[Constants.LiveIdPuid] = (string)base.HttpContext.Items[Constants.LiveIdPuid]; headers[Constants.OrgIdPuid] = (string)base.HttpContext.Items[Constants.OrgIdPuid]; headers[Constants.LiveIdMemberName] = (string)base.HttpContext.Items[Constants.LiveIdMemberName]; headers["msExchClientPath"] = Uri.EscapeDataString(base.ClientRequest.Path); if (this.isSyndicatedAdminManageDownLevelTarget) { headers["msExchCafeForceRouteToLogonAccount"] = "1"; } if (!this.IsCrossForestDelegated && base.ProxyToDownLevel) { EcpProxyRequestHandler.AddDownLevelProxyHeaders(headers, base.HttpContext); if (base.IsExplicitSignOn) { string value = null; AnchoredRoutingTarget anchoredRoutingTarget = this.isSyndicatedAdminManageDownLevelTarget ? this.originalAnchoredRoutingTarget : base.AnchoredRoutingTarget; if (anchoredRoutingTarget != null) { UserBasedAnchorMailbox userBasedAnchorMailbox = anchoredRoutingTarget.AnchorMailbox as UserBasedAnchorMailbox; if (userBasedAnchorMailbox != null) { ADRawEntry adrawEntry = userBasedAnchorMailbox.GetADRawEntry(); if (adrawEntry != null) { SecurityIdentifier securityIdentifier = adrawEntry[ADMailboxRecipientSchema.Sid] as SecurityIdentifier; if (securityIdentifier != null) { value = securityIdentifier.ToString(); } } } } headers["msExchTargetMailbox"] = value; } } base.AddProtocolSpecificHeadersToServerRequest(headers); }