November Happy Hour will be moved to Thursday December 5th.

My custom authentication module does not set the session correct

Vote:
 
I'm trying to implement a custom authentication provider according to the example in the FAQ (http://www.episerver.com/templates/faq____977.aspx). I get it to run as expected but the e.Principal does not seem to set the Context.User object correct. The login is accepted but the information I set in my GenericPrincipal is ignored. Context.User.Identity.Name is set, but it is set to the name I entered in the login form, no matter what value I set in my authentication provider. Does anyone recognise this problem? /Jan
#12198
Jan 12, 2005 16:46
Vote:
 
I found the problem. I had somehow changed my Global class to inherit System.Web.HttpApplication instead of EPiServer.Global.
#13825
Jan 17, 2005 17:27
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.