Click or drag to resize

SecurityProviderUtility Methods

The SecurityProviderUtility type exposes the following members.

Methods
  Name Description
Public method Static member CreateProvider(String, String) Creates a new ISecurityProvider based on the settings in the config file.
Public method Static member CreateProvider(UserData, String) Creates a new ISecurityProvider based on the settings in the config file.
Public method Static member CreateProvider(String, IPrincipal, String) Creates a new ISecurityProvider based on the settings in the config file.
Public method Static member EncryptPassword Encrypts the password to a one-way hash using the SHA1 hash algorithm.
Public method Static member GeneratePassword Generates a random password of the specified length with at least one uppercase letter, one lowercase letter, one special character and one digit.
Public method Static member IsRegexMatch Determines if the specified target matches the specified spec.
Public method Static member IsResourceAccessible Determines if the current user, as defined by the principal, has permission to access the specified resource based on settings in the config file.
Public method Static member IsResourceSecurable Determines if the specified resource is to be secured based on settings in the config file.
Public method Static member SendNotification Sends email notification message to the specified recipient using settings specified in the config file.
Top
See Also