Replies: 2 comments 6 replies
-
I have rewritten my identity classes without using any of the csla identity classes as per Rocky's example. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Here is the gist of how I do this: Login method to fetch the data via dataportal. The
The
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Wondering if anyone has an example of these. I'm a little unclear how to migrate my old Csla 5 custom Identity which simply inherited from ReadOnlyBase and implemented IIdentity. I didn't find anything in the demo projects unless I missed it.
I see there is the
Csla.Security.ICslaIdentity
interface, but I got a little overwhelmed when I see all the stuff that would need to be implemented because of the three interfaces it is to implement:I also see the
CslaClaimsPrincipal
but that confuses me too because it implementsCsla.Serialization.Mobile.IMobileObject
but the methods are empty so I didn't know if this is like some stub and I'm supposed to know what to do with it:EDIT : Followup question or perhaps even more relevant to first is, if you were upgrading to Csla 6 and you had extensively used a custom Principal and Identity previously (not claims type) with all kinds of helpful properties about the user, then where would you put that stuff now to play nice with the ClaimsPrincipal and ClaimsIdentity. My thought was to simply make my own that extends those types with my extra stuff. But maybe that's bad. I suppose I could keep the main CP and CI parts simple and make a ReadOnlyBase object that holds all my custom stuff and stick it in ApplicationContext.ClientContext so that it would flow up and down the portal?
Beta Was this translation helpful? Give feedback.
All reactions