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
- EditorZoneDesigner.cs
- ProgressBar.cs
- ProviderConnectionPointCollection.cs
- ObjectDataSourceMethodEventArgs.cs
- DesignerLoader.cs
- DocumentReferenceCollection.cs
- AnonymousIdentificationSection.cs
- InternalConfigRoot.cs
- ReflectionTypeLoadException.cs
- BinaryObjectWriter.cs
- DeviceContexts.cs
- Crc32.cs
- RuleProcessor.cs
- DataServices.cs
- WaitForChangedResult.cs
- DecoderBestFitFallback.cs
- XamlClipboardData.cs
- TimeSpanConverter.cs
- OleDbRowUpdatingEvent.cs
- CellTreeNode.cs
- _AuthenticationState.cs
- DataGridViewTextBoxCell.cs
- BufferedGraphics.cs
- PngBitmapDecoder.cs
- OracleBinary.cs
- PointConverter.cs
- Matrix3DValueSerializer.cs
- JsonUriDataContract.cs
- SourceFileBuildProvider.cs
- HierarchicalDataSourceConverter.cs
- ErrorStyle.cs
- ReceiveContext.cs
- JsonWriter.cs
- XmlFileEditor.cs
- StylusPointProperty.cs
- DomNameTable.cs
- SystemShuttingDownException.cs
- XmlSchemas.cs
- formatter.cs
- TableLayoutCellPaintEventArgs.cs
- BinHexEncoder.cs
- DefaultCommandConverter.cs
- basecomparevalidator.cs
- CallbackWrapper.cs
- EventLogPermission.cs
- EncodingDataItem.cs
- ChildDocumentBlock.cs
- Timer.cs
- XmlStreamNodeWriter.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Calendar.cs
- DataGridViewCellValidatingEventArgs.cs
- ColorMap.cs
- ParsedAttributeCollection.cs
- TransformGroup.cs
- GridViewRow.cs
- FrameworkElement.cs
- FormViewModeEventArgs.cs
- SimpleWorkerRequest.cs
- StreamGeometryContext.cs
- BasicHttpMessageSecurity.cs
- Parser.cs
- AsyncPostBackErrorEventArgs.cs
- HttpMethodConstraint.cs
- XmlNodeList.cs
- StylusTip.cs
- GC.cs
- MultiTrigger.cs
- ProfileGroupSettingsCollection.cs
- GlyphCollection.cs
- TextReader.cs
- TextDecorationCollection.cs
- Timer.cs
- PropertyStore.cs
- SystemPens.cs
- FixedHyperLink.cs
- COAUTHIDENTITY.cs
- Attributes.cs
- WinEventQueueItem.cs
- MsmqIntegrationSecurity.cs
- PasswordPropertyTextAttribute.cs
- MouseCaptureWithinProperty.cs
- WebPartVerbsEventArgs.cs
- DrawingImage.cs
- UnregisterInfo.cs
- AnnouncementEventArgs.cs
- ConstraintCollection.cs
- FontDifferentiator.cs
- Visitors.cs
- NullableDecimalAverageAggregationOperator.cs
- DateTimeConverter.cs
- InkCanvasAutomationPeer.cs
- SerializationEventsCache.cs
- TextBox.cs
- SmtpNegotiateAuthenticationModule.cs
- ThicknessAnimationBase.cs
- TraceSection.cs
- IPEndPointCollection.cs
- SchemaImporterExtension.cs
- Expression.cs