Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / TransportSecurityProtocolFactory.cs / 1 / TransportSecurityProtocolFactory.cs
//----------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------
namespace System.ServiceModel.Security
{
// Note that this protocol and other protocls represented by its
// subclasses rely on transport security to provide message
// integrity, confidentiality and request-reply correlation. SOAP
// level security features are add-ons to support custom tokens,
// and do not have the responsibility to protect specific exchange
// patterns. So, thie protocol return true to both requst-reply
// support as well as duplex support.
class TransportSecurityProtocolFactory : SecurityProtocolFactory
{
public TransportSecurityProtocolFactory()
: base()
{
}
internal TransportSecurityProtocolFactory(TransportSecurityProtocolFactory factory)
: base(factory)
{
}
public override bool SupportsDuplex
{
get
{
return true;
}
}
public override bool SupportsReplayDetection
{
get
{
return false;
}
}
protected override SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout)
{
return new TransportSecurityProtocol(this, target, via);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpCachePolicy.cs
- LeafCellTreeNode.cs
- CustomError.cs
- SqlNotificationRequest.cs
- WebBrowserUriTypeConverter.cs
- WindowsContainer.cs
- FileLogRecord.cs
- CheckBoxList.cs
- DataServiceProviderWrapper.cs
- GridItemPattern.cs
- MailDefinition.cs
- BitmapEffectCollection.cs
- CheckBoxFlatAdapter.cs
- SqlRetyper.cs
- DataGridCellAutomationPeer.cs
- XmlSchemaObjectTable.cs
- SamlNameIdentifierClaimResource.cs
- SqlBulkCopyColumnMapping.cs
- LoadWorkflowAsyncResult.cs
- ClientRuntimeConfig.cs
- ChtmlImageAdapter.cs
- RunClient.cs
- TerminateDesigner.cs
- Comparer.cs
- BufferAllocator.cs
- XmlPreloadedResolver.cs
- TrackingCondition.cs
- NamespaceEmitter.cs
- CancellableEnumerable.cs
- Funcletizer.cs
- FieldNameLookup.cs
- LineSegment.cs
- Trigger.cs
- SchemaCreator.cs
- WinOEToolBoxItem.cs
- TextBox.cs
- ColorMap.cs
- EditorZone.cs
- DataBindingCollectionConverter.cs
- UnsafeNetInfoNativeMethods.cs
- ParameterElement.cs
- HtmlButton.cs
- PresentationAppDomainManager.cs
- StringUtil.cs
- CollectionsUtil.cs
- ValueTypeFixupInfo.cs
- XmlRootAttribute.cs
- ComponentCollection.cs
- DashStyle.cs
- formatstringdialog.cs
- DocumentApplicationJournalEntry.cs
- ValidationSummary.cs
- odbcmetadatacollectionnames.cs
- ExpressionConverter.cs
- ListItemParagraph.cs
- DbConnectionHelper.cs
- FileRecordSequenceCompletedAsyncResult.cs
- RelationshipEndCollection.cs
- AutomationAttributeInfo.cs
- PersonalizationProviderCollection.cs
- Binding.cs
- OperationAbortedException.cs
- HistoryEventArgs.cs
- PolicyManager.cs
- GridErrorDlg.cs
- EtwTrace.cs
- ItemCollection.cs
- Vector.cs
- WebPartRestoreVerb.cs
- TraceHandler.cs
- TextSpanModifier.cs
- ByteArrayHelperWithString.cs
- LoginName.cs
- JoinGraph.cs
- ThreadPool.cs
- SelectionChangedEventArgs.cs
- SignedXml.cs
- ClockGroup.cs
- ContentIterators.cs
- BehaviorEditorPart.cs
- WebPartCatalogAddVerb.cs
- TrackingMemoryStreamFactory.cs
- SqlRewriteScalarSubqueries.cs
- LogSwitch.cs
- GridToolTip.cs
- CqlLexerHelpers.cs
- TransformedBitmap.cs
- loginstatus.cs
- LogLogRecord.cs
- TreeNodeStyle.cs
- HttpDictionary.cs
- RelativeSource.cs
- MouseOverProperty.cs
- ListControlDesigner.cs
- TemplateControlBuildProvider.cs
- SafeProcessHandle.cs
- TableLayoutSettingsTypeConverter.cs
- XmlExpressionDumper.cs
- XPathArrayIterator.cs
- XmlSchemaAttributeGroup.cs