Author: spouliot
Date: 2006-10-31 08:00:02 -0500 (Tue, 31 Oct 2006)
New Revision: 67175

Modified:
   
trunk/mcs/class/System/System.Security.Authentication/AuthenticationException.cs
   trunk/mcs/class/System/System.Security.Authentication/ChangeLog
   
trunk/mcs/class/System/System.Security.Authentication/InvalidCredentialException.cs
   trunk/mcs/class/System/System.Security.Authentication/SslProtocols.cs
Log:
2006-10-31  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * AuthenticationException.cs: Unseal class and fix visibility on 
        .ctor(SerializationInfo,StreamingContext).
        * InvalidCredentialException.cs: Unseal class, fix base class, fix 
        default message and fix visibility on .ctor(SerializationInfo,
        StreamingContext).
        * SslProtocols.cs: Fix enum values.



Modified: 
trunk/mcs/class/System/System.Security.Authentication/AuthenticationException.cs
===================================================================
--- 
trunk/mcs/class/System/System.Security.Authentication/AuthenticationException.cs
    2006-10-31 10:23:30 UTC (rev 67174)
+++ 
trunk/mcs/class/System/System.Security.Authentication/AuthenticationException.cs
    2006-10-31 13:00:02 UTC (rev 67175)
@@ -1,16 +1,13 @@
 //
-// System.AuthenticationException.cs
+// System.Security.Authentication.AuthenticationException
 //
 // Author:
 //   Joe Shaw ([EMAIL PROTECTED])
 //   Miguel de Icaza ([EMAIL PROTECTED])
+//   Sebastien Pouliot  <[EMAIL PROTECTED]>
 //
-// (C) 2006 Novell, Inc.  http://www.novell.com
+// Copyright (C) 2004, 2006 Novell, Inc (http://www.novell.com)
 //
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // "Software"), to deal in the Software without restriction, including
@@ -32,14 +29,14 @@
 //
 
 #if NET_2_0
+
 using System.Runtime.Serialization;
 
-namespace System.Security.Authentication
-{
+namespace System.Security.Authentication {
+
        [Serializable]
-       public sealed class AuthenticationException : SystemException
-       {
-               // Constructors
+       public class AuthenticationException : SystemException {
+
                public AuthenticationException ()
                        : base (Locale.GetText ("Authentication exception.")) 
                {
@@ -55,10 +52,11 @@
                {
                }
 
-               internal AuthenticationException (SerializationInfo 
serializationInfo, StreamingContext streamingContext)
-                       : base(serializationInfo, streamingContext)
+               protected AuthenticationException (SerializationInfo 
serializationInfo, StreamingContext streamingContext)
+                       : base (serializationInfo, streamingContext)
                {
                }
        }
 }
+
 #endif

Modified: trunk/mcs/class/System/System.Security.Authentication/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.Security.Authentication/ChangeLog     
2006-10-31 10:23:30 UTC (rev 67174)
+++ trunk/mcs/class/System/System.Security.Authentication/ChangeLog     
2006-10-31 13:00:02 UTC (rev 67175)
@@ -1,3 +1,12 @@
+2006-10-31  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * AuthenticationException.cs: Unseal class and fix visibility on 
+       .ctor(SerializationInfo,StreamingContext).
+       * InvalidCredentialException.cs: Unseal class, fix base class, fix 
+       default message and fix visibility on .ctor(SerializationInfo,
+       StreamingContext).
+       * SslProtocols.cs: Fix enum values.
+
 2006-04-04  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * AuthenticationException.cs InvalidCredentialException.cs :

Modified: 
trunk/mcs/class/System/System.Security.Authentication/InvalidCredentialException.cs
===================================================================
--- 
trunk/mcs/class/System/System.Security.Authentication/InvalidCredentialException.cs
 2006-10-31 10:23:30 UTC (rev 67174)
+++ 
trunk/mcs/class/System/System.Security.Authentication/InvalidCredentialException.cs
 2006-10-31 13:00:02 UTC (rev 67175)
@@ -1,16 +1,13 @@
 //
-// System.AuthenticationException.cs
+// System.Security.Authentication.InvalidCredentialException
 //
 // Author:
 //   Joe Shaw ([EMAIL PROTECTED])
 //   Miguel de Icaza ([EMAIL PROTECTED])
+//   Sebastien Pouliot  <[EMAIL PROTECTED]>
 //
-// (C) 2006 Novell, Inc.  http://www.novell.com
+// Copyright (C) 2004, 2006 Novell, Inc (http://www.novell.com)
 //
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // "Software"), to deal in the Software without restriction, including
@@ -32,16 +29,16 @@
 //
 
 #if NET_2_0
+
 using System.Runtime.Serialization;
 
-namespace System.Security.Authentication
-{
+namespace System.Security.Authentication {
+
        [Serializable]
-       public sealed class InvalidCredentialException : SystemException
-       {
-               // Constructors
+       public class InvalidCredentialException : AuthenticationException {
+
                public InvalidCredentialException ()
-                       : base (Locale.GetText ("Authentication exception.")) 
+                       : base (Locale.GetText ("Invalid credentials 
exception.")) 
                {
                }
 
@@ -55,8 +52,8 @@
                {
                }
 
-               internal InvalidCredentialException (SerializationInfo 
serializationInfo, StreamingContext streamingContext)
-                       : base(serializationInfo, streamingContext)
+               protected InvalidCredentialException (SerializationInfo 
serializationInfo, StreamingContext streamingContext)
+                       : base (serializationInfo, streamingContext)
                {
                }
        }

Modified: trunk/mcs/class/System/System.Security.Authentication/SslProtocols.cs
===================================================================
--- trunk/mcs/class/System/System.Security.Authentication/SslProtocols.cs       
2006-10-31 10:23:30 UTC (rev 67174)
+++ trunk/mcs/class/System/System.Security.Authentication/SslProtocols.cs       
2006-10-31 13:00:02 UTC (rev 67175)
@@ -3,12 +3,11 @@
 //
 // Authors:
 //     Tim Coleman ([EMAIL PROTECTED])
+//     Sebastien Pouliot  <[EMAIL PROTECTED]>
 //
 // Copyright (C) Tim Coleman, 2004
-// (c) 2004 Novell, Inc. (http://www.novell.com)
+// Copyright (C) 2004, 2006 Novell, Inc (http://www.novell.com)
 //
-
-//
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // "Software"), to deal in the Software without restriction, including
@@ -31,18 +30,15 @@
 
 #if NET_2_0 
 
-using System;
+namespace System.Security.Authentication {
 
-namespace System.Security.Authentication
-{
        [Flags]
-       public enum SslProtocols
-       {
-               Default,
+       public enum SslProtocols {
                None,
-               Ssl2,
-               Ssl3,
-               Tls
+               Ssl2 = 12,
+               Ssl3 = 48,
+               Tls = 192,
+               Default = Ssl3 | Tls
        }
 }
 

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

Reply via email to