Validates a username and password against a Visual Guard repository.
Namespace: Novalys.VisualGuard.Security.WebServiceAssembly: Novalys.VisualGuard.Security.WebService (in Novalys.VisualGuard.Security.WebService.dll) Version: 2017.0.101.17 (2017.0.101.17)
Syntax
C# |
---|
public sealed class VGUserNameValidator : UserNamePasswordValidator |
Visual Basic |
---|
Public NotInheritable Class VGUserNameValidator Inherits UserNamePasswordValidator |
Remarks
You have to declare this class in the <userNameAuthentication> element of the <serviceCredentials> section of the application configuration file.
For more information about integration of Visual Guard in a WCF application, we strongly recommend to read the "How to integrate Visual Guard in a WCF application" document.
Examples
Example of application configuration file:
<userNameAuthentication userNamePasswordValidationMode="Custom" includeWindowsGroups="false" customUserNamePasswordValidatorType="Novalys.VisualGuard.Security.WebService.VGUserNameValidator, Novalys.VisualGuard.Security.WebService" cacheLogonTokens="true" />
<userNameAuthentication userNamePasswordValidationMode="Custom" includeWindowsGroups="false" customUserNamePasswordValidatorType="Novalys.VisualGuard.Security.WebService.VGUserNameValidator, Novalys.VisualGuard.Security.WebService" cacheLogonTokens="true" />
Inheritance Hierarchy
System..::..Object
System.IdentityModel.Selectors..::..UserNamePasswordValidator
Novalys.VisualGuard.Security.WebService..::..VGUserNameValidator
System.IdentityModel.Selectors..::..UserNamePasswordValidator
Novalys.VisualGuard.Security.WebService..::..VGUserNameValidator