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
- TdsRecordBufferSetter.cs
- TransformCryptoHandle.cs
- TypeUtils.cs
- ElasticEase.cs
- ObjectPropertyMapping.cs
- Avt.cs
- WindowsListViewSubItem.cs
- FirstQueryOperator.cs
- NameObjectCollectionBase.cs
- ContentDesigner.cs
- IndexingContentUnit.cs
- RunClient.cs
- UntypedNullExpression.cs
- XPathSingletonIterator.cs
- PasswordBox.cs
- InteropBitmapSource.cs
- DBDataPermissionAttribute.cs
- CatalogZoneBase.cs
- DeriveBytes.cs
- RenderOptions.cs
- PointLight.cs
- HashMembershipCondition.cs
- ZoomComboBox.cs
- XNodeSchemaApplier.cs
- xsdvalidator.cs
- DrawingGroup.cs
- ReflectionUtil.cs
- InteropTrackingRecord.cs
- CompilationPass2TaskInternal.cs
- UrlPropertyAttribute.cs
- MetadataImporter.cs
- ColumnClickEvent.cs
- PathParser.cs
- SamlSecurityTokenAuthenticator.cs
- UserControlParser.cs
- DesignerAttribute.cs
- SubstitutionResponseElement.cs
- FontUnit.cs
- EventBuilder.cs
- StateBag.cs
- RowBinding.cs
- InstanceKey.cs
- XmlSchemaDocumentation.cs
- TaskCanceledException.cs
- GlobalAllocSafeHandle.cs
- Size.cs
- ConnectionPointGlyph.cs
- EqualityComparer.cs
- mactripleDES.cs
- NamespaceDecl.cs
- RenderOptions.cs
- ParameterToken.cs
- Floater.cs
- TracingConnection.cs
- ParserHooks.cs
- ScriptManager.cs
- AutoCompleteStringCollection.cs
- TabControl.cs
- OrderedDictionary.cs
- httpstaticobjectscollection.cs
- TreeViewImageKeyConverter.cs
- PrivateFontCollection.cs
- SurrogateChar.cs
- DefaultValueTypeConverter.cs
- ICspAsymmetricAlgorithm.cs
- EFColumnProvider.cs
- Command.cs
- SequentialWorkflowHeaderFooter.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- EventLogEntry.cs
- ProbeDuplexCD1AsyncResult.cs
- StateManagedCollection.cs
- CopyCodeAction.cs
- DbTypeMap.cs
- TripleDES.cs
- OutputCacheSettingsSection.cs
- SpeechUI.cs
- AppSettingsReader.cs
- EntityWrapperFactory.cs
- CellParaClient.cs
- BindingMAnagerBase.cs
- IgnoreFlushAndCloseStream.cs
- Int64KeyFrameCollection.cs
- DocumentViewerHelper.cs
- CompensationExtension.cs
- DataBindingCollectionConverter.cs
- SqlNodeAnnotation.cs
- IndicFontClient.cs
- DaylightTime.cs
- MetadataArtifactLoaderCompositeResource.cs
- DecimalAnimation.cs
- RunClient.cs
- HttpGetProtocolReflector.cs
- SqlAliaser.cs
- _AuthenticationState.cs
- Encoder.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- BitmapPalettes.cs
- NativeMethods.cs
- WindowPatternIdentifiers.cs