The Novalys.VisualGuard.Security namespace provides classes that allow interacting with Visual Guard.
One of the most important classes of this namespace is the VGSecurityManager class. This class Provides the main access point for classes interacting with the Visual Guard security system.
If you need to integrate Visual Guard in a WinForm application, we strongly recommend to read the "How to integrate Visual Guard in a WinForm application" document.
If you need to integrate Visual Guard in an ASP.Net 1.1 application, we strongly recommend to read the "How to integrate Visual Guard in an ASP.Net 1.1 application" document.
If you need to integrate Visual Guard in an ASP.Net 2.0 application, we strongly recommend to read the "How to integrate Visual Guard in an ASP.Net 2.0 application" document.
If you need to integrate Visual Guard in a WCF application, we strongly recommend to read the "How to integrate Visual Guard in a WCF application" document.
Classes
Class | Description | |
---|---|---|
VGAnonymousSessionNotAllowedException |
Exception thrown when the method LoadAnomymousSecurity()()() is called and the application disallows anonymous session or if the role granted to anonymous session is not valid.
| |
VGAssemblyNotSecuredException |
Exception thrown when the application tries to load security permission from a repository and the application is not declared in the repository.
| |
VGAuthenticationState |
Defines the state of an authentication process.
| |
VGAuthorizationState |
Defines the state of an authorization process.
| |
VGCheckVersionEventArgs |
Provides data for the CheckVersion event.
| |
VGConfigurationException |
Exception thrown when an error occurs during the initialization of Visual Guard.
| |
VGEditorBrowsableAttribute |
Specifies that an assembly, class, property or event is viewable in a Visual Guard editor.
| |
VGGrantedRole |
Represents a Visual Guard role granted to a user.
| |
VGInvalidActionException |
Exception thrown when an action generates an exception.
| |
VGInvalidRepositoryException |
Exception thrown when the repository containing the security information cannot not be found.
| |
VGInvalidTargetTypeException |
Exception thrown when an action must be executed on a target and the target type cannot be found in the current application domain.
| |
VGLogWritingEventArgs | Provides data for the LogWriting event. | |
VGPasswordModificationState |
Defines the state of a password modification process.
| |
VGPasswordQuestionAndAnswerModificationState |
Defines the state of a password modification process.
| |
VGPermissionAttributeCollection |
Represents a collection of VGIPermissionAttribute associated to a VGIPermission.
| |
VGPermissionsLoadingEventArgs |
Provides data for the PermissionsLoading event.
| |
VGPermissionVersionNotSupportedException |
Exception thrown when the version of the permissions stored in the repository is not supported by the application.
| |
VGPrincipalPermission |
Allows checks against the current principal (see Principal) using the language constructs defined for both declarative and imperative security actions.
| |
VGPrincipalPermissionAttribute | Allows security actions for VGPrincipalPermission to be applied to code using declarative security. | |
VGProductInformation |
Gets information about the product.
| |
VGReflectionHelper | Helper class for reflection. | |
VGRepositoryVersionNotSupportedException |
Exception thrown when the version of the repository does not support the version of the Visual Guard runtime.
| |
VGSecurityErrorEventArgs | Provides data for the SecurityError event. | |
VGSecurityInitializedEventArgs | Provides data for the DefaultRuntimeInitialized event. | |
VGSecurityLoadedEventArgs | Provides data for the SecurityError event. | |
VGSecurityManager |
Provides the main access point for classes interacting with the Visual Guard security system. This class cannot be inherited.
| |
VGSecurityRuntime |
Provides the main access point for classes interacting with the Visual Guard security system. This class cannot be inherited.
| |
VGUnauthorizedAnonymousUserException |
Exception thrown when the method LoadAnomymousSecurity()()() is called and the defined anonymous user is not authorized to access to the application.
| |
VGValidatePasswordEventArgs | Provides data for the ValidatingPassword event. |
Interfaces
Interface | Description | |
---|---|---|
VGIIdentity |
Defines basic functionality of a Visual Guard identity.
| |
VGIPermission |
Defines the basic functionality for a Visual Guard permission.
| |
VGIPermissionAttribute |
Represents an attribute (argument) of a VGIPermission object.
| |
VGIPermissionSet |
Represents a collection of Visual Guard permissions. This collection can contain VGIPermissionSet or VGIPermission objects.
| |
VGIPrincipal |
Defines the basic functionality of a Visual Guard principal
| |
VGISecurable |
Provides an interface for classes that need to be secured by Visual Guard.
|
Delegates
Delegate | Description | |
---|---|---|
VGCheckVersionEventHandler |
Represents the method that handles a CheckVersion event.
| |
VGLogWritingEventHandler |
Represents the method that handles a LogWriting event.
| |
VGPermissionsLoadingEventHandler |
Represents the method that handles a PermissionsLoading event.
| |
VGSecurityErrorEventHandler |
Represents the method that handles a SecurityError event.
| |
VGSecurityInitializedEventHandler |
Represents the method that handles a DefaultRuntimeInitialized event.
| |
VGSecurityLoadedEventHandler |
Represents the method that handles a SecurityLoaded event.
| |
VGValidatePasswordEventHandler |
Represents the method that handles a ValidatingPassword event.
|
Enumerations
Enumeration | Description | |
---|---|---|
VGApplicationType |
Defines all types of application supported by Visual Guard
| |
VGAuthenticationMode |
Indicates the authentication mode used by Visual Guard to authenticate a user.
| |
VGAuthenticationStatus |
Defines all the authentication status
| |
VGAuthorizationStatus |
Defines all the authorization status
| |
VGDebugOptions |
Specifies whether debug information should be generated
| |
VGEditorBrowsableState |
Specifies the browsable state of a class, assembly, property or event from within a Visual Guard editor.
| |
VGMembershipPermissionAccess |
Specifies access to Membership api
| |
VGMemberShipUserState |
Indicates the state of the Visual Guard user .
| |
VGPasswordModificationStatus |
Defines all the password modification status
| |
VGPasswordQuestionAndAnswerModificationStatus |
Defines all the password question and answer modification status
| |
VGPermissionType |
Specifies the type of the item (role or permission) checked by the VGPrincipalPermission object.
|