Trying to use System.Security.Principal.GenericIdentity
-
Tuesday, January 03, 2012 12:23 PM
Hi all
I've created a silverlight class library and I am trying to link to a class in a non silverlight class library. This other class uses the GenericIdentity() method of the System.Security.Principal dll.
I can't get the silverlight class library to build as it doesn't recognise the GenericIdentity() method.
Does anybody know what dll/version of the dll that I need to reference or is this going to work?
Thanks
Paul
All Replies
-
Tuesday, January 03, 2012 2:35 PM
Paul,
you need to change your thinking, asp.net security is changing
Silverlight 5 and in fact microsoft.net security is changing to oauth or openid http://msdn.microsoft.com/en-us/library/system.security.principal.genericidentity(v=VS.110).aspx
You can see that it is using a claims based token service http://en.wikipedia.org/wiki/OpenID
http://blog.markarteaga.com/OAuthWithSilverlightForWindowsPhone7.aspx
http://www.docstoc.com/docs/74678134/Programming-Windows-Identity-Foundation
If you read michelle busamante's book it is like windows idnetity foundation
federated security model
In othe words you use purchase a token from a issuer and they have their own server etc
-
Wednesday, January 04, 2012 4:20 AM
Thanks billsm will have a look at those links, but unfortunatly I have to use what's there, are you saying this can't be used in silverlight?
Thanks
Paul
-
Wednesday, January 04, 2012 8:29 AM
You should be able to use silverlight using security however you need to not stuck in the old membeship provider this is what I am telling you-challenge yourself to grow. you need to expand your learning curve asp.net will be using this also....
For example In silverlight 4 and earlier versions silverlight was able to use claims based security by building on top of custom membership security
It is too long to explain windows idnetity foundation, you need to look http://msmvps.com/blogs/nunogodinho/archive/2010/09/06/claims-based-identity-and-silverlight-4-0-part-1-of-n.aspx
and really study these hard to understand. By the way Paypal uses this type of security and it is the future with client server

