Click or drag to resize

VGHttpModule Class

Loads the Visual Guard permission of the current user for an ASP.NET application when Visual Guard is enabled. This class cannot be inherited. .
Inheritance Hierarchy
SystemObject
  Novalys.VisualGuard.Security.WebFormVGHttpModule

Namespace:  Novalys.VisualGuard.Security.WebForm
Assembly:  Novalys.VisualGuard.Security.WebForm (in Novalys.VisualGuard.Security.WebForm.dll) Version: 2018.1.720.18 (2018.1.0720.18)
Syntax
public sealed class VGHttpModule : IHttpModule

The VGHttpModule type exposes the following members.

Constructors
  NameDescription
Public methodVGHttpModule
Initializes a new instance of the VGHttpModule class.
Top
Properties
  NameDescription
Public propertyStatic memberHasDefaultRuntime
Top
Methods
  NameDescription
Public methodAuthenticate
Authenticates a user for the specified HttpContext.
Public methodDispose
Releases all resources, other than memory, used by the VGHttpModule
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetSecurityRuntime
Gets the current VGSecurityRuntime used to secure the current request.
Public methodGetType (Inherited from Object.)
Public methodInit
Initializes the VGHttpModule object.
Public methodLoadSecurity(HttpContext, WindowsIdentity)
Loads the permissions of the given WindowsIdentity.
Public methodLoadSecurity(HttpContext, String, VGAuthenticationMode, Boolean)
Loads the permissions of a user for the specified HttpContext.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Events
  NameDescription
Public eventInitialized
A global application event that is raised when the VGHttpModule is initialized.
Public eventPermissionLoading
A global application event that is raised when the VGHttpModule is loading permissions for a user.
Public eventSecurityLoaded
Occurs after the security permissions are loaded.
Top
Remarks

This module allows Visual Guard to load security in conjunction with Forms, Windows and Passport authentication. It sets the User property to a VGIPrincipal object.

You can enable this module by declaring it in the list of module in your web.config file.
See Also