![]() |
Security
|
public class SecurityModule : IHttpModule
The SecurityModule type exposes the following members.
Name | Description | |
---|---|---|
![]() | SecurityModule | Initializes a new instance of the SecurityModule class |
Name | Description | |
---|---|---|
![]() | Application | Gets the current HttpApplication instance. |
Name | Description | |
---|---|---|
![]() | Dispose | Releases the resources used by SecurityModule. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetResourceName | Gets the name of resource being accessed. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | Init | Initializes the SecurityModule. |
![]() | IsAccessRestricted | Determines if access to the requested resource is restricted by RestrictAccessAttribute. |
![]() | IsAccessSecured | Determines if access to the requested resource is to be secured. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | Redirect | Redirects the client browser based on the specified httpStatusCode |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
![]() | GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
![]() | GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
<?xml version="1.0"?> <configuration> <configSections> <section name="categorizedSettings" type="GSF.Configuration.CategorizedSettingsSection, GSF.Core" /> </configSections> <categorizedSettings> <securityProvider> <add name="ApplicationName" value="" description="Name of the application being secured as defined in the backend security datastore." encrypted="false" /> <add name="ConnectionString" value="" description="Connection string to be used for connection to the backend security datastore." encrypted="false" /> <add name="ProviderType" value="GSF.Security.LdapSecurityProvider, GSF.Security" description="The type to be used for enforcing security." encrypted="false" /> <add name="IncludedResources" value="*/*.*=*" description="Semicolon delimited list of resources to be secured along with role names." encrypted="false" /> <add name="ExcludedResources" value="*/WebResource.axd*;*/SecurityPortal.aspx*" description="Semicolon delimited list of resources to be excluded from being secured." encrypted="false" /> <add name="NotificationSmtpServer" value="localhost" description="SMTP server to be used for sending out email notification messages." encrypted="false" /> <add name="NotificationSenderEmail" value="sender@company.com" description="Email address of the sender of email notification messages." encrypted="false" /> </securityProvider> <activeDirectory> <add name="PrivilegedDomain" value="" description="Domain of privileged domain user account." encrypted="false" /> <add name="PrivilegedUserName" value="" description="Username of privileged domain user account." encrypted="false" /> <add name="PrivilegedPassword" value="" description="Password of privileged domain user account." encrypted="true" /> </activeDirectory> </categorizedSettings> <system.web> <authentication mode="Windows"/> <httpModules> <add name="SecurityModule" type="GSF.Web.SecurityModule, GSF.Web" /> </httpModules> </system.web> </configuration>