Click or drag to resize

VGUserNameValidator Class

Validates a username and password against a Visual Guard repository.
Inheritance Hierarchy
SystemObject
  System.IdentityModel.SelectorsUserNamePasswordValidator
    Novalys.VisualGuard.Security.WebServiceVGUserNameValidator

Namespace:  Novalys.VisualGuard.Security.WebService
Assembly:  Novalys.VisualGuard.Security.WebService (in Novalys.VisualGuard.Security.WebService.dll) Version: 2018.1.720.18 (2018.1.0720.18)
Syntax
public sealed class VGUserNameValidator : UserNamePasswordValidator

The VGUserNameValidator type exposes the following members.

Constructors
  NameDescription
Public methodVGUserNameValidator
Initializes a new instance of the VGUserNameValidator class.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodValidate
Authenticates the specified user name and password.
(Overrides UserNamePasswordValidatorValidate(String, String).)
Top
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" />
See Also