The VGSecurityManager type exposes the following members.

Methods

  NameDescription
Public methodStatic memberAddRuntimeProvider
Add a runtime provider to the list of runtime provider.
Public methodAuthenticate(VGAdfsServer)
Public methodAuthenticate(VGICredential)
Authenticate the user by the VGICredential
Public methodStatic memberAuthenticate(String, String)
Authenticates a user by using the database or Visual Guard authentication mode.
Public methodStatic memberAuthenticate(String, String, VGAuthenticationMode)
Authenticates a user by using the specified authentication mode.
Public methodAuthenticate(VGAdfsServer, String, String)
Authenticates a federated user
Public methodStatic memberChangePassword
Changes the password of the user.
Public methodStatic memberChangePasswordQuestionAndAnswer
Changes the password question and answer of the user.
Public methodStatic memberCheckContext
Check if the context of Visual Guard is valid.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGeneratePassword
Generates a random password of the specified length.
Public methodStatic memberGetBytes
Encodes a specified String into a byte array
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodStatic memberGetManagerOfRepository
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsAnonymousSessionSupported
Indicates whether an anonymous sessions are supported by the current application.
Public methodStatic memberLoadAnomymousSecurity()()()()
Loads the permissions for an anonymous session.
Public methodStatic memberLoadAnomymousSecurity(WindowsIdentity)
Loads the permission for an anonymous session associated to the specified windows identity
Public methodStatic memberLoadSecurity()()()()
Loads the permission of the CurrentPrincipal identity.
Public methodStatic memberLoadSecurity(IIdentity)
Loads the permissions of the given IIdentity object.
Public methodStatic memberLoadSecurity(WindowsIdentity)
Loads the permission of the given WindowsIdentity IIdentity.
Public methodStatic memberLoadSecurity(String)
Loads the permissions of a user identified by the user name.
Public methodStatic memberLoadSecurity(String, VGAuthenticationMode, Boolean)
Loads the permissions of a user identified by the user name by using the specified authentication mode.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberResetPassword(String) Obsolete.
Resets a user's password to a new, automatically generated password.
Public methodStatic memberResetPassword(String, Boolean) Obsolete.
Resets a user's password to a new, automatically generated password.
Public methodStatic memberResetPassword(String, String) Obsolete.
Resets a user's password to a new, automatically generated password.
Public methodStatic memberSetSecurity(Object)
Sets the security for the specified object.
Public methodStatic memberSetSecurity(Object, Type)
Sets the security corresponding to the specified type for the specified object.
Public methodStatic memberSignOut
Unloads the roles and permissions granted to the current user.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodStatic memberValidateUser
Verifies that the supplied user name and password are valid.
Public methodStatic memberWriteLog
Writes a new log entry as defined in the specified VGLogEntry object to the log stored in the default Visual Guard repository.

Properties

  NameDescription
Public propertyStatic memberAllowAutomaticInterception
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.
Public propertyStatic memberApplicationName
gets the name of the application managed by Visual Guard
Public propertyStatic memberApplicationType
gets the type of the application managed by Visual Guard
Public propertyStatic memberAuthenticationState
Gets a VGAuthenticationState object representing the last authentication state.
Public propertyStatic memberAuthorizationState
Gets a VGAuthorizationState object representing the last authorization state.
Public propertyStatic memberConfigurationFile
Gets or sets the path of the Visual Guard configuration file.
Public propertyStatic memberDefaultConfigurationFilename
Gets the default name of the file used as Visual Guard configuration file
Public propertyStatic memberEnablePasswordReset
Gets a value indicating whether the current membership provider is configured to allow users to reset their passwords.
Public propertyStatic memberGenerateDebugInformation
Gets or sets a VGDebugOptions value indicating whether debug information should be included or not.
Public propertyStatic memberIncludeWindowsGroups
Gets or sets a Boolean value that indicates whether role granted to Windows Groups are included to the list of role of a user.
Public propertyStatic memberLogEnabled
Gets a value indicating whether the log is enabled for the current repository.
Public propertyStatic memberMaxInvalidPasswordAttempts
Gets the number of invalid password or password-answer attempts allowed before the membership user is locked out.
Public propertyStatic memberMinRequiredNonAlphanumericCharacters
Gets the minimum number of special characters that must be present in a valid password.
Public propertyStatic memberMinRequiredPasswordLength
Gets the minimum length required for a password.
Public propertyStatic memberPasswordAttemptWindow
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.
Public propertyStatic memberPasswordPolicyMessage
Gets the message displayed to the user if the password does not match the validation rules.
Public propertyStatic memberPasswordStrengthRegularExpression
Gets the regular expression used to evaluate a password.
Public propertyStatic memberPrincipal
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 when the last authorization or authentication process has failed.
Public propertyStatic memberReplaceCurrentPrincipal
Gets or sets a value indicating if the principal of the current thread (CurrentPrincipal) must be replaced by the Visual Guard principal after an authentication.
Public propertyStatic memberRequiresQuestionAndAnswer
Gets a value indicating whether the default membership provider requires the user to answer a password question for password reset and retrieval.
Public propertyStatic memberRequiresUniqueEmail
Gets a value indicating whether the repository is configured to require a unique e-mail address for each user name.
Public propertyStatic memberRuntime
Gets the current VGSecurityRuntime instance used by the security manager
Public propertyStatic memberSecurityEnabled
Gets or sets a value indicating if the Visual Guard security is enabled.
Public propertyStatic memberSyncRoot
Gets an object that can be used to synchronize access to the VGSecurityManager.
Public propertyStatic memberTraceLevel
Gets or sets the level of the Visual Guard trace.
Public propertyStatic memberTraceListener
Gets or sets the TraceListener object used to trace Visual Guard messages.
Public propertyStatic memberUpdateCredentialStatistics
Gets or sets a boolean value indicating if the statistics of credential must be updated or not.

Events

  NameDescription
Public eventStatic memberCheckVersion
Allows to check if the version of the repository permissions is compatible with the version of the application.
Public eventStatic memberDefaultRuntimeInitialized
Occurs when the VGSecurityRuntime object assigned by default to the security manager is initialized.
Public eventStatic memberGroupsLoading
Occurs before the permissions are loaded and allows filtering the list of user's groups for contextual group selection.
Public eventStatic memberLogWriting
Occurs before a log entries is written in a repository.
Public eventStatic memberPermissionsLoading
Occurs before the permissions are loaded and allows filtering the list of user's roles.
Public eventStatic memberSecurityError
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.
Public eventStatic memberSecurityLoaded
Occurs after the security permissions are loaded.
Public eventStatic memberSignedOut
Occurs when the current user is signed out.
Public eventStatic memberValidatingPassword
Occurs when a password is changed or is reset.

See Also