Author: atsushi
Date: 2007-02-15 14:45:03 -0500 (Thu, 15 Feb 2007)
New Revision: 72952

Modified:
   
trunk/olive/class/System.IdentityModel/System.IdentityModel.Selectors/ChangeLog
   
trunk/olive/class/System.IdentityModel/System.IdentityModel.Selectors/X509SecurityTokenAuthenticator.cs
Log:
2007-02-15  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * X509SecurityTokenAuthenticator.cs : message formatting fix.



Modified: 
trunk/olive/class/System.IdentityModel/System.IdentityModel.Selectors/ChangeLog
===================================================================
--- 
trunk/olive/class/System.IdentityModel/System.IdentityModel.Selectors/ChangeLog 
    2007-02-15 19:40:48 UTC (rev 72951)
+++ 
trunk/olive/class/System.IdentityModel/System.IdentityModel.Selectors/ChangeLog 
    2007-02-15 19:45:03 UTC (rev 72952)
@@ -1,3 +1,7 @@
+2007-02-15  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * X509SecurityTokenAuthenticator.cs : message formatting fix.
+
 2006-09-27  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * SecurityTokenResolver.cs : handle matchLocalId in the default impl.

Modified: 
trunk/olive/class/System.IdentityModel/System.IdentityModel.Selectors/X509SecurityTokenAuthenticator.cs
===================================================================
--- 
trunk/olive/class/System.IdentityModel/System.IdentityModel.Selectors/X509SecurityTokenAuthenticator.cs
     2007-02-15 19:40:48 UTC (rev 72951)
+++ 
trunk/olive/class/System.IdentityModel/System.IdentityModel.Selectors/X509SecurityTokenAuthenticator.cs
     2007-02-15 19:45:03 UTC (rev 72952)
@@ -80,7 +80,7 @@
                {
                        X509SecurityToken xt = token as X509SecurityToken;
                        if (xt == null)
-                               throw new InvalidOperationException ("Security 
token '{0}' cannot be validated by this security token authenticator.");
+                               throw new InvalidOperationException 
(String.Format ("Security token '{0}' cannot be validated by this security 
token authenticator.", xt));
                        validator.Validate (xt.Certificate);
                        IAuthorizationPolicy policy =
                                new X509AuthorizationPolicy (xt.Certificate);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to