Property | Type | Description | |
---|---|---|---|
_realm | string |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
Init ( System.Web.HttpApplication application ) : void |
Inits the specified module.
|
Method | Description | |
---|---|---|
AccessDenied ( System.Web.HttpApplication app ) : void | ||
ApplicationAuthenticateRequest ( object sender, |
Handles the AuthenticateRequest event of the application control. The main work is done here. We parse incoming headers, get user name and password from them. Then we verify the user name and password against configured membership provider. |
|
ApplicationEndRequest ( object sender, |
Handles the EndRequest event of the application control. This methods adds the "WWW-Authenticate" challenge header to all requests ending with the HTTP status code 401 (Access Denied), set either in this module's application_AuthenticateRequest or in any other place in application (most likely the authorization module). |
|
Authenticate ( System.Web.HttpApplication app ) : bool | ||
BuildChallengeHeader ( System.Web.HttpApplication app ) : string | ||
GetConfigurationProvider ( ) : IConfigurationProvider | ||
GetUserService ( ) : IUserService |
protected static AccessDenied ( System.Web.HttpApplication app ) : void | ||
app | System.Web.HttpApplication | |
return | void |
protected ApplicationAuthenticateRequest ( object sender, |
||
sender | object | The source of the event. |
e |
/// The |
|
return | void |
protected ApplicationEndRequest ( object sender, |
||
sender | object | The source of the event. |
e |
/// The |
|
return | void |
protected abstract Authenticate ( System.Web.HttpApplication app ) : bool | ||
app | System.Web.HttpApplication | |
return | bool |
protected abstract BuildChallengeHeader ( System.Web.HttpApplication app ) : string | ||
app | System.Web.HttpApplication | |
return | string |
protected static GetConfigurationProvider ( ) : IConfigurationProvider | ||
return | IConfigurationProvider |
protected static GetUserService ( ) : IUserService | ||
return | IUserService |
public Init ( System.Web.HttpApplication application ) : void | ||
application | System.Web.HttpApplication | The HTTP application containing the module. |
return | void |