Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / Tokens / UserNameSecurityTokenParameters.cs / 1 / UserNameSecurityTokenParameters.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Security.Tokens { using System.IdentityModel.Selectors; using System.ServiceModel; using System.IdentityModel.Tokens; using System.ServiceModel.Security; public class UserNameSecurityTokenParameters : SecurityTokenParameters { protected UserNameSecurityTokenParameters(UserNameSecurityTokenParameters other) : base(other) { base.RequireDerivedKeys = false; } public UserNameSecurityTokenParameters() : base() { base.RequireDerivedKeys = false; } internal protected override bool HasAsymmetricKey { get { return false; } } internal protected override bool SupportsClientAuthentication { get { return true; } } internal protected override bool SupportsServerAuthentication { get { return false; } } internal protected override bool SupportsClientWindowsIdentity { get { return true; } } protected override SecurityTokenParameters CloneCore() { return new UserNameSecurityTokenParameters(this); } internal protected override SecurityKeyIdentifierClause CreateKeyIdentifierClause(SecurityToken token, SecurityTokenReferenceStyle referenceStyle) { return this.CreateKeyIdentifierClause(token, referenceStyle); } protected internal override void InitializeSecurityTokenRequirement(SecurityTokenRequirement requirement) { requirement.TokenType = SecurityTokenTypes.UserName; requirement.RequireCryptographicToken = false; } } } // 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
- ImageListStreamer.cs
- ApplicationServicesHostFactory.cs
- RootDesignerSerializerAttribute.cs
- DataGridViewCellMouseEventArgs.cs
- IgnoreFileBuildProvider.cs
- NextPreviousPagerField.cs
- GenerateHelper.cs
- GridViewSelectEventArgs.cs
- ScrollEventArgs.cs
- graph.cs
- Int32Animation.cs
- ColorConvertedBitmap.cs
- OutputCacheSection.cs
- ThicknessConverter.cs
- DataObjectMethodAttribute.cs
- XmlSchemaException.cs
- _SslSessionsCache.cs
- WrappingXamlSchemaContext.cs
- Validator.cs
- PrintController.cs
- NativeWindow.cs
- SmtpMail.cs
- PropertyDescriptorComparer.cs
- CreateUserErrorEventArgs.cs
- NavigationProperty.cs
- XmlCharCheckingWriter.cs
- _ConnectOverlappedAsyncResult.cs
- basenumberconverter.cs
- EntitySetRetriever.cs
- ArrayTypeMismatchException.cs
- PriorityBindingExpression.cs
- WindowInteractionStateTracker.cs
- AttributeUsageAttribute.cs
- IdentityManager.cs
- TransformedBitmap.cs
- ListViewGroupItemCollection.cs
- CursorInteropHelper.cs
- XmlUrlResolver.cs
- XamlHostingConfiguration.cs
- TaskDesigner.cs
- VisualBasicImportReference.cs
- ProfilePropertyNameValidator.cs
- BrushValueSerializer.cs
- EntityClientCacheKey.cs
- PreProcessInputEventArgs.cs
- Literal.cs
- MetadataArtifactLoader.cs
- XmlHierarchicalDataSourceView.cs
- ConfigurationException.cs
- SearchExpression.cs
- ReflectionPermission.cs
- SmiRecordBuffer.cs
- PasswordDeriveBytes.cs
- ValidatedMobileControlConverter.cs
- TracedNativeMethods.cs
- Bind.cs
- TransformCryptoHandle.cs
- Trace.cs
- ADConnectionHelper.cs
- ColumnMapVisitor.cs
- TextDecorationUnitValidation.cs
- LinkButton.cs
- _LocalDataStore.cs
- PageBuildProvider.cs
- IMembershipProvider.cs
- ConfigXmlText.cs
- NaturalLanguageHyphenator.cs
- DefaultBindingPropertyAttribute.cs
- PropertyConverter.cs
- EntityDataSourceDataSelection.cs
- CompilationLock.cs
- Label.cs
- TableSectionStyle.cs
- AuthorizationContext.cs
- AnonymousIdentificationModule.cs
- StringBuilder.cs
- MappingItemCollection.cs
- DataPointer.cs
- KeyBinding.cs
- AnnotationComponentChooser.cs
- RealProxy.cs
- Propagator.ExtentPlaceholderCreator.cs
- InteropBitmapSource.cs
- XmlExtensionFunction.cs
- HtmlImage.cs
- AppDomainFactory.cs
- ADMembershipUser.cs
- MLangCodePageEncoding.cs
- MetafileHeader.cs
- OutputCacheProfileCollection.cs
- ProxyManager.cs
- Configuration.cs
- CommandHelpers.cs
- EmptyControlCollection.cs
- HeaderedContentControl.cs
- RangeBaseAutomationPeer.cs
- JavaScriptString.cs
- MethodImplAttribute.cs
- COM2PropertyDescriptor.cs
- TreeWalkHelper.cs