VGSecurityRuntime Class |
Namespace: Novalys.VisualGuard.Security
The VGSecurityRuntime type exposes the following members.
Name | Description | |
---|---|---|
VGSecurityRuntime |
Creates a new instance of VGSecurityRuntime and use the repository defined as default in the Visual Guard configuration file.
| |
VGSecurityRuntime(Guid) |
Creates a new instance of VGSecurityRuntime for the specified application in the default repository.
| |
VGSecurityRuntime(String) |
Creates a new instance of VGSecurityRuntime for the specified repository name.
| |
VGSecurityRuntime(VGSecurityRuntime) |
Creates a new instance of VGSecurityRuntime based on an existing runtime.
| |
VGSecurityRuntime(String, Guid) |
Creates a new instance of VGSecurityRuntime for the specified repository name and application id.
| |
VGSecurityRuntime(VGSecurityRuntime, Guid) |
Creates a new instance of VGSecurityRuntime based on an existing runtime and specifies the application managed by the new runtime.
|
Name | Description | |
---|---|---|
Actions | ||
AdfsServers | ||
Administration |
Gets a VGAdministrationInstance object used to manage the user rights of VG
| |
AllowedAuthenticationModes |
Gets the authentication modes defined in the configuration file and supported by the repository.
| |
Application |
Gets a VGApplicationInstance object used to manage Application informations
| |
ApplicationId |
Gets or sets the id of the application managed by Visual Guard
| |
ApplicationName |
gets the name of the application managed by Visual Guard
| |
ApplicationType |
Indicates the type of application managed by Visual Guard
| |
Auditing |
Gets a VGAuditingInstance object used to manage permissions for Auditing purpose.
| |
AuthenticationState |
Gets a VGAuthenticationState object representing the last authentication state.
| |
AuthorizationState |
Gets a VGAuthorizationState object representing the last authorization state.
| |
ConfigurationFile |
Gets or sets the configuration file used to load information from the repository
| |
ConnectionType | ||
ConsecutiveBadLoginsAllowed |
Gets or sets the maximum number of consecutive invalid password.
| |
Deployment | ||
Domains | ||
Enabled |
Gets or sets a value indicating if the Visual Guard security is enabled.
| |
EnablePasswordReset |
Gets a value indicating whether the current membership provider is configured to allow users to reset their passwords.
| |
EventLogs | ||
GraceLoginsAllowed |
Gets a value indicating if theire is Consecutive Bad Logins Allowed.
| |
Groups |
Gets a VGGroupsInstance object used to manage user membership in groups for the application managed by this runtime
| |
HistoryLength |
Gets a value indicating the History Length of the password.
| |
IdentityModules | ||
IncludeWindowsGroups |
Gets or sets a Boolean value that indicates whether role granted to Windows Groups are included to the list of role of a user.
| |
Licence |
The licence of the repository
| |
LogEnabled |
Gets a value indicating whether the log is enabled for the repository.
| |
MaxInvalidPasswordAttempts |
Gets the number of invalid password or password-answer attempts allowed before the membership user is locked out.
| |
Membership |
Gets a VGMembershipInstance object used to manage membership information for the application managed by this runtime
| |
MinRequiredNonAlphanumericCharacters |
Gets the minimum number of special characters that must be present in a valid password.
| |
MinRequiredPasswordLength |
Gets the minimum length required for a password.
| |
Modules |
Manage VG modules
| |
Monitoring |
Represents Monitoring API - which contains methods for monitoring graphs.
| |
PasswordAttemptWindow |
Gets the number of minutes in which a maximum number of invalid password or password-answer attempts are allowed before the membership user is locked out.
| |
PasswordPolicy |
Manager the password policy
| |
PasswordPolicyMessage |
Gets the message displayed to the user if the password does not match the validation rules.
| |
PasswordStrengthRegularExpression |
Gets the regular expression used to evaluate if the password.
| |
PasswordValidation |
Gets or sets the configured regular expression used for validating the password format.
| |
Permissions |
Gets a VGRolesInstance object used to manage user membership in roles for the application managed by this runtime
| |
PermissionSets |
Gets a VGRolesInstance object used to manage user membership in roles for the application managed by this runtime
| |
Principal |
Gets the VGIPrincipal representing the security context of current user on whose behalf the application is running.
this property is null (Nothing) before calling the or methods or is the authorization process has failed.
| |
Profile | ||
ReplaceCurrentPrincipal |
Gets or sets a value indicating if the principal of the current thread ().
| |
Repository |
Gets a VGRepositoryInstance object used to manage repository informations
| |
RepositoryDescription |
Get the description of the repository used by the runtime.
| |
RepositoryName |
Specifies the name of the repository used by the runtime.
| |
RequiresQuestionAndAnswer |
Gets a value indicating whether the default membership provider requires the user to answer a password question for password reset and retrieval.
| |
RequiresUniqueEmail |
Gets a value indicating whether the repository is configured to require a unique e-mail address for each user name.
| |
Roles |
Gets a VGRolesInstance object used to manage user membership in roles for the application managed by this runtime
| |
RuntimeModules | ||
SupportedAuthenticationModes |
Gets the authentication modes supported by the repository.
| |
SyncRoot |
Gets an object that can be used to synchronize access to the VGSecurityRuntime.
| |
Tokens | ||
Tools |
Get a tools of Visual-Guard
| |
UseAutomaticInterception |
Gets or sets a boolean value indicating whether Visual Guard can use its automatic interception mechanism to intercept the instantication of Forms and automatically set the security to this instance.
| |
WebPortals | ||
WebUserInterfaces |
Get a Web User Interface Manager
| |
WorkFlow |
Name | Description | |
---|---|---|
Authenticate(String) | ||
Authenticate(VGAdfsServer) |
Authenticates a federated user
| |
Authenticate(VGICredential) |
Authenticate the user by the VGICredential
| |
Authenticate(String, SecureString) |
Authenticates a user by using Visual Guard or Database authentication mode.
| |
Authenticate(String, String) |
Authenticates a user by using Visual Guard or Database authentication mode.
| |
Authenticate(String, SecureString, VGAuthenticationMode) |
Authenticates a user by using the specified authentication mode.
| |
Authenticate(String, String, VGAuthenticationMode) |
Authenticates a user by using the specified authentication mode.
| |
Authenticate(VGAdfsServer, String, String) |
Authenticates a federated user
| |
ChangePassword(SecureString, SecureString, SecureString) |
Change the password of the current user, the runtime need to have a Principal.
The current user needs to support password system.
| |
ChangePassword(String, String, String) |
Change the password of the current user, the runtime need to have a Principal.
The current user needs to support password system.
| |
ChangePassword(String, String, String, String) |
Changes the password of the user.
| |
ChangePassword(VGICredential, String, String, String) |
Changes the password of the user.
| |
ChangePasswordQuestionAndAnswer(String, String, String) |
Changes the password question and answer of the user.
| |
ChangePasswordQuestionAndAnswer(VGMembershipUser, String, String) | ||
ChangePasswordQuestionAndAnswer(String, String, String, String) |
Changes the password question and answer of the user.
| |
ChangePasswordQuestionAndAnswer(VGMembershipUser, VGICredential, String, String) | ||
ChangePasswordQuestionAndAnswer(VGMembershipUser, String, String, String) | ||
CheckContext |
Check if the context of Visual Guard is valid.
| |
CheckCredential |
Checks if credentials are valid but does not load security permissions or change current principal.
| |
CreateRuntimeForFile(String, VGAuthenticationMode, Boolean, Guid, String, Int32) |
Creates a new instance of the VGSecurityRuntime class and initializes a connection to a repository based on files.
| |
CreateRuntimeForFile(String, VGAuthenticationMode, Boolean, Guid, String, Int32, Boolean) |
Creates a new instance of the VGSecurityRuntime class and initializes a connection to a repository based on files.
| |
CreateRuntimeForOracle(String, VGAuthenticationMode, Boolean, Guid, String, String, Int32) |
Creates a new instance of the VGSecurityRuntime class and initializes a connection to a repository using Oracle as the backing store.
| |
CreateRuntimeForOracle(String, VGAuthenticationMode, Boolean, Guid, String, String, Int32, Boolean) |
Creates a new instance of the VGSecurityRuntime class and initializes a connection to a repository using Oracle as the backing store.
| |
CreateRuntimeForSQLServer(String, VGAuthenticationMode, Boolean, Guid, String, Int32) |
Creates a new instance of the VGSecurityRuntime class and initializes a connection to a repository using SQLServer as the backing store.
| |
CreateRuntimeForSQLServer(String, VGAuthenticationMode, Boolean, Guid, String, Int32, Boolean) |
Creates a new instance of the VGSecurityRuntime class and initializes a connection to a repository using SQLServer as the backing store.
| |
CreateRuntimeForVGServer(String, String, Guid, Boolean, Int32) | ||
CreateRuntimeForVGServer(String, String, VGAuthenticationMode, Boolean, Guid, Int32) | ||
Dispose |
Releases all resources used by the current instance
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
The destructor of the object.
(Overrides ObjectFinalize.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPasswordQuestion |
Gets the password question of a specified user.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsAnonymousSessionSupported |
Indicates whether an anonymous sessions are supported by the current application.
| |
LoadAnomymousSecurity |
Loads the permissions for an anonymous session.
| |
LoadAnomymousSecurity(IIdentity) |
Loads the permission for an anonymous session associated to the specified windows identity
| |
LoadAnomymousSecurity(VGIIdentity) | ||
LoadSecurity |
Loads the permission of the GetCurrent identity.
| |
LoadSecurity(VGToken) |
Load a principal by VGToken
| |
LoadSecurity(IIdentity) |
Loads the permission of the given IIdentity object.
| |
LoadSecurity(String) |
Loads the permission of the user identified by the user name.
| |
LoadSecurity(String, VGAuthenticationMode) |
Loads the permissions of a user identified by the user name by using the specified authentication mode.
| |
LoadSecurity(String, VGAuthenticationMode, Boolean) |
Loads the permission of the given user name.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ResetPassword(String) | Obsolete. Resets a user's password to a new, automatically generated password. | |
ResetPassword(String, Boolean) | Obsolete. Resets a user's password to a new, automatically generated password. | |
ResetPassword(String, String) | Obsolete. Resets a user's password to a new, automatically generated password. | |
SetSecurity(Object) |
Sets the security for the specified object.
| |
SetSecurity(Object, Type) |
Sets the security corresponding to the specified type for the specified object.
| |
SignOut |
Unloads the roles and permissions granted to the current user.
If you are in Web application use VGFormsAuthentication.SignOut() method
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ValidateUser(VGAdfsServer) | ||
ValidateUser(VGICredential) | ||
ValidateUser(String, String) |
Verifies that the supplied user name and password are valid by using the authentication mode VisualGuard or Database mode.
| |
ValidateUser(String, String, VGAuthenticationMode) |
Verifies that the supplied user name and password are valid.
| |
ValidateUser(VGAdfsServer, String, String) | ||
WriteLog |
Writes a new log entry as defined in the specified VGLogEntry object in the repository represented by this runtime.
|
Name | Description | |
---|---|---|
AcceptOfflineMode |
Occurs after VGRepository is created.
| |
CheckForOnlineStatus |
Occurs after VGRepository is created.
| |
CheckVersion |
Allows to check if the version of the repository permissions is compatible with the version of the application.
| |
GroupsLoading |
Occurs before the permissions are loaded and allows filtering the list of user's groups for contextual group selection.
| |
PermissionsLoading |
Occurs before the permissions are loaded and allows filtering the list of user's roles.
| |
SecurityError |
Occurs when Visual Guard loads security actions and a type are unknown or when Visual Guard sets the security of an object and an exception occurs.
| |
SecurityLoaded |
Occurs after the security permissions are loaded.
| |
SignedOut |
Occurs when the current user is signed out.
| |
UnableToSaveOffline |
Occurs when you have a error during save offlinemode conposant.
| |
ValidatingPassword |
Occurs when a password is changed or is reset.
|
Name | Description | |
---|---|---|
CleanUpAuthorizationCache |
Cleanup Authorization cache depending on cache duration.
(Defined by VGRuntimeExtension.) | |
ClearAuthorizationCache |
Clear Authorization cache irrespective of the cache duration
(Defined by VGRuntimeExtension.) | |
LoadSecurityToken |
Load the security via VGToken
(Defined by VGRuntimeExtension.) | |
MergeSecurityApplication |
Merge the current principal with an other application
Before calling this method, you need to have one principal load in the current runtime
(Defined by VGRuntimeExtension.) |
For example, you can create 2 instances of VGSecurityRuntime class to access to 2 differents repository from your application or when you want to load the security of 2 different users in the same time (in server environment for example).
When you create a new instance of VGSecurityRuntime class based on an other instance, Visual Guard will share its cache between the 2 instances.