T
Tim Mulholland
I have created my own IIdentity class (actually inherited from
GenericIdentity) to contain lots of extra useful information to be passed
around with the user's basic information.
The class compiles fine, no problems there.
My problem is that i'm not sure where to actually set this to be part of the
HttpContext. I know that the IIdentity stuff is part of a principal (which
in my case will be a GenericPrinciple i suppose since i'm using forms
authentication). So i figure it needs to be whenever the HttpContext.User
object is set.
What event is raised that i need to handle to be able to do this? I'm going
to be controlling all of the authentication using custom forms
authentication.
Is there a good tutorial about this type of stuff (the 'flow' of the
authentication information) that someone could point me to?
Thanks in advance,
Tim
GenericIdentity) to contain lots of extra useful information to be passed
around with the user's basic information.
The class compiles fine, no problems there.
My problem is that i'm not sure where to actually set this to be part of the
HttpContext. I know that the IIdentity stuff is part of a principal (which
in my case will be a GenericPrinciple i suppose since i'm using forms
authentication). So i figure it needs to be whenever the HttpContext.User
object is set.
What event is raised that i need to handle to be able to do this? I'm going
to be controlling all of the authentication using custom forms
authentication.
Is there a good tutorial about this type of stuff (the 'flow' of the
authentication information) that someone could point me to?
Thanks in advance,
Tim