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.
|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)|
Copyright © 2008 by Microsoft Corporation. All rights reserved.