Author: atsushi
Date: 2007-04-05 03:22:40 -0400 (Thu, 05 Apr 2007)
New Revision: 75414
Modified:
trunk/olive/class/System.IdentityModel/System.IdentityModel.Claims/ChangeLog
trunk/olive/class/System.IdentityModel/System.IdentityModel.Claims/Claim.cs
Log:
2007-04-05 Atsushi Enomoto <[EMAIL PROTECTED]>
* Claim.cs : added serialized fields.
Modified:
trunk/olive/class/System.IdentityModel/System.IdentityModel.Claims/ChangeLog
===================================================================
---
trunk/olive/class/System.IdentityModel/System.IdentityModel.Claims/ChangeLog
2007-04-05 03:07:21 UTC (rev 75413)
+++
trunk/olive/class/System.IdentityModel/System.IdentityModel.Claims/ChangeLog
2007-04-05 07:22:40 UTC (rev 75414)
@@ -1,3 +1,7 @@
+2007-04-05 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * Claim.cs : added serialized fields.
+
2007-02-05 Atsushi Enomoto <[EMAIL PROTECTED]>
* X509CertificateClaimSet.cs : removed extraneous claims.
Modified:
trunk/olive/class/System.IdentityModel/System.IdentityModel.Claims/Claim.cs
===================================================================
--- trunk/olive/class/System.IdentityModel/System.IdentityModel.Claims/Claim.cs
2007-04-05 03:07:21 UTC (rev 75413)
+++ trunk/olive/class/System.IdentityModel/System.IdentityModel.Claims/Claim.cs
2007-04-05 07:22:40 UTC (rev 75414)
@@ -136,8 +136,13 @@
return new Claim (ClaimTypes.X500DistinguishedName,
x500DistinguishedName, Rights.PossessProperty);
}
+ // since those public properties do not expose attributes,
+ // here I use them on the fields instead ...
+ [DataMember (Name = "ClaimType")]
string claim_type;
+ [DataMember (Name = "Resource")]
object resource;
+ [DataMember (Name = "Right")]
string right;
public Claim (string claimType, object resource,
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches