Validates a username and password against a Visual Guard repository.

Namespace:  Novalys.VisualGuard.Security.WebService
Assembly:  Novalys.VisualGuard.Security.WebService (in Novalys.VisualGuard.Security.WebService.dll) Version: 3.2.912.1 (3.2.912.01)

Syntax

C#
public sealed class VGUserNameValidator : UserNamePasswordValidator
Visual Basic (Declaration)
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" />

Inheritance Hierarchy

System..::.Object
  System.IdentityModel.Selectors..::.UserNamePasswordValidator
    Novalys.VisualGuard.Security.WebService..::.VGUserNameValidator

See Also