Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_security thread: Custom Security


Message #1 by mark@m... on Tue, 10 Dec 2002 10:35:26
Hi,

I have been trying to implement custome security using the IIdentity 
IPrincipal interfaces.  I have a public method that is used to request a 
logon and which takes the username and password as parameters.  I then set-
up two custom objects, one which inherits the IIdentity interface and one 
which inherits the IPrincipal interface.  I then attach the new IPrincipal 
object to Thread.CurrentPrincipal.  When I use the logon page I get 
feedback that tells me that I have been authenticated, however if I move 
to another page the authenticated property is set back to false.  Does 
anyone know what may be happening?

Mark

  Return to Index