Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / IdentityModel / System / IdentityModel / Selectors / UserNameSecurityTokenAuthenticator.cs / 1 / UserNameSecurityTokenAuthenticator.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.IdentityModel.Selectors { using System.Collections.ObjectModel; using System.IdentityModel.Policy; using System.IdentityModel.Tokens; public abstract class UserNameSecurityTokenAuthenticator : SecurityTokenAuthenticator { protected UserNameSecurityTokenAuthenticator() { } protected override bool CanValidateTokenCore(SecurityToken token) { return token is UserNameSecurityToken; } protected override ReadOnlyCollectionValidateTokenCore(SecurityToken token) { UserNameSecurityToken userNameToken = (UserNameSecurityToken) token; return ValidateUserNamePasswordCore(userNameToken.UserName, userNameToken.Password); } protected abstract ReadOnlyCollection ValidateUserNamePasswordCore(string userName, string password); } } // 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
- HtmlTable.cs
- InlineObject.cs
- LocationUpdates.cs
- EmptyEnumerator.cs
- IndicFontClient.cs
- TextRangeBase.cs
- TimeStampChecker.cs
- DrawingAttributes.cs
- CacheMemory.cs
- GridViewPageEventArgs.cs
- DataReaderContainer.cs
- Enumerable.cs
- HwndKeyboardInputProvider.cs
- SessionEndingEventArgs.cs
- PerfCounters.cs
- DynamicValidator.cs
- Condition.cs
- RootBrowserWindow.cs
- RenderOptions.cs
- GraphicsContainer.cs
- SerializationObjectManager.cs
- TabControlEvent.cs
- TextParaClient.cs
- Size3D.cs
- ToolstripProfessionalRenderer.cs
- ColorTranslator.cs
- SymbolDocumentGenerator.cs
- ActiveDocumentEvent.cs
- TextServicesContext.cs
- ApplicationDirectory.cs
- EllipseGeometry.cs
- DelayedRegex.cs
- HttpCookieCollection.cs
- BaseTemplateCodeDomTreeGenerator.cs
- OuterGlowBitmapEffect.cs
- GroupJoinQueryOperator.cs
- AssemblyUtil.cs
- XmlNamespaceMapping.cs
- WindowsComboBox.cs
- DataRelation.cs
- ListViewItemEventArgs.cs
- PropertyMapper.cs
- AdornerLayer.cs
- ScrollViewerAutomationPeer.cs
- unsafeIndexingFilterStream.cs
- HandlerBase.cs
- SerializationBinder.cs
- AuthenticationServiceManager.cs
- SymDocumentType.cs
- CheckPair.cs
- EventSinkActivityDesigner.cs
- ValidationEventArgs.cs
- GlobalProxySelection.cs
- TcpServerChannel.cs
- _ListenerRequestStream.cs
- CapabilitiesState.cs
- PkcsUtils.cs
- BrushValueSerializer.cs
- VectorValueSerializer.cs
- RepeatEnumerable.cs
- X500Name.cs
- WebControlsSection.cs
- NamedPermissionSet.cs
- AddDataControlFieldDialog.cs
- wgx_render.cs
- ExtensionFile.cs
- CatalogPartCollection.cs
- Transform.cs
- DataTableExtensions.cs
- BufferedGraphicsContext.cs
- XmlElementAttribute.cs
- TailPinnedEventArgs.cs
- XPathBuilder.cs
- OleDbWrapper.cs
- AnnotationComponentChooser.cs
- FileUtil.cs
- TryLoadRunnableWorkflowCommand.cs
- WebPartDescriptionCollection.cs
- MethodBody.cs
- PropertyDescriptorCollection.cs
- IPipelineRuntime.cs
- HasCopySemanticsAttribute.cs
- NaturalLanguageHyphenator.cs
- Environment.cs
- Duration.cs
- XpsColorContext.cs
- validationstate.cs
- DescendentsWalker.cs
- ConcurrencyMode.cs
- MessageAction.cs
- ValidatingPropertiesEventArgs.cs
- ArraySortHelper.cs
- Automation.cs
- Zone.cs
- ThousandthOfEmRealPoints.cs
- Vector.cs
- KeyTimeConverter.cs
- CellConstant.cs
- SessionStateContainer.cs
- DataTableReaderListener.cs