Passing CSLA principal through dataportal?

Passing CSLA principal through dataportal?

Old forum URL: forums.lhotka.net/forums/t/6385.aspx


renegrin posted on Monday, February 09, 2009

I'm a little confused with using principal object with CSLA in a multi-tier deployment. I have it working fine on my local server, but having trouble applying the context via the dataportal. I am probably missing something. How would I pass the authorization credentials to server side? Or would I have to?

RockfordLhotka replied on Tuesday, February 10, 2009

If you have custom principal/identity objects that are Serializable, you just need to set the CslaAuthentication config setting to "Csla" (on client and server) and the data portal will do the work for you.

Copyright (c) Marimer LLC