Due to security restrictions issue involving asp.net mvc, remoting and forms authentication

  • Thread starter Thread starter Michael D Pine
  • Start date Start date
M

Michael D Pine

Guest
Hi,

We have a solid infrastructure that basically includes a Web front end communicating with a Remoting setup, the remoting
setup is fairly standard however we do have a mechanism in place where we use Forms Authentication and we take that Username
and password that is entered and we authenticate it against our Customer table and return a Principal that we use for subsequent
calls in that this Principal has to be assigned to the thread before the call can be made and this all works fine.

The issue we have is that if the user is already logged in and for whatever reason they try to log in again the Authentication remoting call fails with a familiar "Due to security restrictions the type XXXX cannot be accessed", the difference with the Authentication call is that it DOES NOT require a principal obviously because at this stage we have not authenticated the user.

I have a work around for this but I would like to know why I am getting that error if they try and log in again, if you need any other information just let me know but that is pretty much it, everything works fine it is just this small niggle and I would like
to know why I get this error message

cheers
Michael

Continue reading...
 
Back
Top