Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / Tokens / KerberosSecurityTokenParameters.cs / 1 / KerberosSecurityTokenParameters.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Security.Tokens { using System.ServiceModel.Security; using System.ServiceModel; using System.IdentityModel.Selectors; using System.IdentityModel.Tokens; public class KerberosSecurityTokenParameters : SecurityTokenParameters { protected KerberosSecurityTokenParameters(KerberosSecurityTokenParameters other) : base(other) { // empty } public KerberosSecurityTokenParameters() : base() { this.InclusionMode = SecurityTokenInclusionMode.Once; } internal protected override bool HasAsymmetricKey { get { return false; } } internal protected override bool SupportsClientAuthentication { get { return true; } } internal protected override bool SupportsServerAuthentication { get { return true; } } internal protected override bool SupportsClientWindowsIdentity { get { return true; } } protected override SecurityTokenParameters CloneCore() { return new KerberosSecurityTokenParameters(this); } internal protected override SecurityKeyIdentifierClause CreateKeyIdentifierClause(SecurityToken token, SecurityTokenReferenceStyle referenceStyle) { return base.CreateKeyIdentifierClause(token, referenceStyle); } protected internal override void InitializeSecurityTokenRequirement(SecurityTokenRequirement requirement) { requirement.TokenType = SecurityTokenTypes.Kerberos; requirement.KeyType = SecurityKeyType.SymmetricKey; requirement.RequireCryptographicToken = true; } } } // 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
- StringUtil.cs
- WindowInteropHelper.cs
- NetSectionGroup.cs
- AutoResizedEvent.cs
- DocumentPageHost.cs
- CommonGetThemePartSize.cs
- RuntimeHelpers.cs
- MemberBinding.cs
- WhitespaceReader.cs
- DesignerDeviceConfig.cs
- TransformCryptoHandle.cs
- EventLog.cs
- NotificationContext.cs
- ObjectCloneHelper.cs
- HealthMonitoringSectionHelper.cs
- ConfigXmlCDataSection.cs
- webproxy.cs
- Link.cs
- ControlBuilderAttribute.cs
- SupportsEventValidationAttribute.cs
- GridLengthConverter.cs
- StandardCommands.cs
- TextParaLineResult.cs
- ProviderSettings.cs
- Baml2006KnownTypes.cs
- DocumentViewerConstants.cs
- ContentOperations.cs
- FieldToken.cs
- XmlBaseReader.cs
- SecurityKeyIdentifierClause.cs
- AssemblyCollection.cs
- FatalException.cs
- DocumentXPathNavigator.cs
- TableItemProviderWrapper.cs
- LinqExpressionNormalizer.cs
- Menu.cs
- XmlSchemaExporter.cs
- InputDevice.cs
- TemplateField.cs
- ImageAttributes.cs
- TextEmbeddedObject.cs
- EncoderBestFitFallback.cs
- RouteParametersHelper.cs
- UnauthorizedAccessException.cs
- ListCollectionView.cs
- StateItem.cs
- ApplicationDirectory.cs
- SQLDateTime.cs
- InfoCardProofToken.cs
- Point.cs
- TcpServerChannel.cs
- Utils.cs
- HttpChannelHelper.cs
- Monitor.cs
- Drawing.cs
- TextServicesLoader.cs
- Span.cs
- SqlErrorCollection.cs
- IntegerFacetDescriptionElement.cs
- PageBreakRecord.cs
- PeerNearMe.cs
- ObjectNavigationPropertyMapping.cs
- Synchronization.cs
- SelectionListDesigner.cs
- FrameworkElementFactoryMarkupObject.cs
- ListenerUnsafeNativeMethods.cs
- GeometryModel3D.cs
- ReferentialConstraint.cs
- TemplatedControlDesigner.cs
- NameValueCollection.cs
- Vars.cs
- DataColumnChangeEvent.cs
- tibetanshape.cs
- XmlValidatingReaderImpl.cs
- DbParameterCollectionHelper.cs
- BitStack.cs
- Bits.cs
- DataGridViewColumnDesigner.cs
- OutArgument.cs
- BitFlagsGenerator.cs
- TextBox.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- BulletedList.cs
- EditorAttribute.cs
- ResourceWriter.cs
- Span.cs
- _SafeNetHandles.cs
- SymLanguageVendor.cs
- StateManagedCollection.cs
- DataGridViewCellConverter.cs
- OutputCacheProviderCollection.cs
- XmlWrappingWriter.cs
- KeyFrames.cs
- TextBox.cs
- SiteOfOriginContainer.cs
- TableLayoutSettingsTypeConverter.cs
- MessagingActivityHelper.cs
- TripleDESCryptoServiceProvider.cs
- CharEnumerator.cs
- RayMeshGeometry3DHitTestResult.cs