ClaimsPrincipalHttpModule Members
[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]
This HttpModule converts the HttpContext.Current.User to an IClaimsPrincipal. It can be used to ensure that the security principal and the associated Identity used for ASP.Net applications (e.g. Page.User or Thread.CurrentPrincipal) are claims-based. It makes use of the CreateFromPrincipal(IPrincipal) method. The conversion takes place in response to the PostAuthenticateRequest event.
The following tables list the members exposed by the ClaimsPrincipalHttpModule type.
Public Constructors
Name | Description | |
---|---|---|
ClaimsPrincipalHttpModule | Initializes a new instance of the ClaimsPrincipalHttpModule class. |
Top
Public Properties
Name | Description | |
---|---|---|
AuthenticationManager | Gets/Sets the ClaimsAuthenticationManager | |
ClientCertificateAuthenticationEnabled | A value that indicates whether the client certificate (if present) in the HttpRequest must be authenticated. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Dispose | Disposes of the resources (other than memory) used by the module that implements System.Web.IHttpModule. | |
Equals | (Inherited from Object) | |
GetHashCode | (Inherited from Object) | |
GetType | (Inherited from Object) | |
Init | Initializes the module by registering an event handler for the PostAuthenticateRequest event. | |
ToString | (Inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object) | |
MemberwiseClone | (Inherited from Object) | |
OnPostAuthenticateRequest | Event handler for Application.PostAuthenticateRequest |
Top
See Also
Reference
ClaimsPrincipalHttpModule Class
Microsoft.IdentityModel.Web Namespace
Copyright © 2008 by Microsoft Corporation. All rights reserved.