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
- WebPartZone.cs
- MultiView.cs
- PageFunction.cs
- IInstanceTable.cs
- InstanceKeyNotReadyException.cs
- XmlTextAttribute.cs
- WebPartVerbsEventArgs.cs
- DesignerWebPartChrome.cs
- GeneralTransform3DTo2DTo3D.cs
- MILUtilities.cs
- ConfigurationValue.cs
- HttpApplicationFactory.cs
- DataGridViewComboBoxColumn.cs
- EdmToObjectNamespaceMap.cs
- TransactionFlowBindingElementImporter.cs
- XsdBuilder.cs
- EntityDataSourceWizardForm.cs
- HtmlTextArea.cs
- Vertex.cs
- COM2ExtendedUITypeEditor.cs
- BoundField.cs
- CustomAttribute.cs
- PrivilegedConfigurationManager.cs
- SiteMapNodeItemEventArgs.cs
- WebMethodAttribute.cs
- UndoManager.cs
- StackOverflowException.cs
- MouseBinding.cs
- NumericUpDownAcceleration.cs
- MethodAccessException.cs
- IntellisenseTextBox.cs
- WebServiceHandlerFactory.cs
- FormsAuthenticationUserCollection.cs
- DataGridViewRowStateChangedEventArgs.cs
- X509RecipientCertificateServiceElement.cs
- GroupItem.cs
- ClearTypeHintValidation.cs
- ArithmeticException.cs
- JavaScriptSerializer.cs
- Trace.cs
- GcSettings.cs
- RenderTargetBitmap.cs
- PenThreadWorker.cs
- ImageSource.cs
- TableCell.cs
- DoubleAnimationClockResource.cs
- Graph.cs
- XmlSchemaSet.cs
- XmlSignatureManifest.cs
- UserControl.cs
- MenuItemCollection.cs
- MessageQueueTransaction.cs
- ArglessEventHandlerProxy.cs
- KoreanCalendar.cs
- SelectionItemProviderWrapper.cs
- XPathBuilder.cs
- DataGridDesigner.cs
- ClientSideProviderDescription.cs
- DoubleLink.cs
- TextTreeUndoUnit.cs
- CodeAttributeDeclarationCollection.cs
- TextServicesContext.cs
- SliderAutomationPeer.cs
- SmtpReplyReaderFactory.cs
- MdiWindowListItemConverter.cs
- InputScopeManager.cs
- SpeakCompletedEventArgs.cs
- Transactions.cs
- UnaryExpression.cs
- SafeRightsManagementQueryHandle.cs
- CounterSample.cs
- ProfessionalColors.cs
- TreeNodeClickEventArgs.cs
- FlowPosition.cs
- ResXResourceReader.cs
- HyperLinkStyle.cs
- Slider.cs
- EntitySetDataBindingList.cs
- EditorZone.cs
- ToolStripItemClickedEventArgs.cs
- WeakEventTable.cs
- ConnectionPoint.cs
- Table.cs
- WebConfigurationHost.cs
- XmlDictionaryString.cs
- _ConnectOverlappedAsyncResult.cs
- StaticExtensionConverter.cs
- XmlSchemaSimpleType.cs
- HandledEventArgs.cs
- IconEditor.cs
- ConfigurationElement.cs
- PersonalizationStateQuery.cs
- Empty.cs
- TextBox.cs
- PointConverter.cs
- XmlILModule.cs
- CreateParams.cs
- QueryOutputWriterV1.cs
- DocComment.cs
- CodeMethodReturnStatement.cs