Свойство | Тип | Описание | |
---|---|---|---|
_realm | string |
Метод | Описание | |
---|---|---|
Dispose ( ) : void | ||
Init ( System.Web.HttpApplication application ) : void |
Inits the specified module.
|
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
protected ApplicationAuthenticateRequest ( object sender, |
||
sender | object | The source of the event. |
e |
/// The |
|
Результат | void |
protected ApplicationEndRequest ( object sender, |
||
sender | object | The source of the event. |
e |
/// The |
|
Результат | void |
protected abstract Authenticate ( System.Web.HttpApplication app ) : bool | ||
app | System.Web.HttpApplication | |
Результат | bool |
protected abstract BuildChallengeHeader ( System.Web.HttpApplication app ) : string | ||
app | System.Web.HttpApplication | |
Результат | string |
protected static GetConfigurationProvider ( ) : IConfigurationProvider | ||
Результат | IConfigurationProvider |
protected static GetUserService ( ) : IUserService | ||
Результат | IUserService |
public Init ( System.Web.HttpApplication application ) : void | ||
application | System.Web.HttpApplication | The HTTP application containing the module. |
Результат | void |