Author: spouliot
Date: 2005-04-22 23:12:49 -0400 (Fri, 22 Apr 2005)
New Revision: 43469

Modified:
   trunk/mcs/class/corlib/System.Security.Principal/ChangeLog
   trunk/mcs/class/corlib/System.Security.Principal/GenericIdentity.cs
   trunk/mcs/class/corlib/System.Security.Principal/GenericPrincipal.cs
   trunk/mcs/class/corlib/System.Security.Principal/IIdentity.cs
   trunk/mcs/class/corlib/System.Security.Principal/IPrincipal.cs
   trunk/mcs/class/corlib/System.Security.Principal/PrincipalPolicy.cs
   trunk/mcs/class/corlib/System.Security.Principal/TokenImpersonationLevel.cs
   trunk/mcs/class/corlib/System.Security.Principal/WindowsAccountType.cs
   trunk/mcs/class/corlib/System.Security.Principal/WindowsBuiltInRole.cs
Log:
2005-04-22  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * GenericIdentity.cs: Added [ComVisible(true)] for NET_2_0.
        * GenericPrincipal.cs: Added [ComVisible(true)] for NET_2_0.
        * IIdentity.cs: Added [ComVisible(true)] for NET_2_0.
        * IPrincipal.cs: Added [ComVisible(true)] for NET_2_0.
        * PrincipalPolicy.cs: Added [ComVisible(true)] for NET_2_0.
        * TokenImpersonationLevel.cs: Added [ComVisible(true)] for NET_2_0.
        * WindowsAccountType.cs: Added [ComVisible(true)] for NET_2_0.
        * WindowsBuiltInRole.cs: Added [ComVisible(true)] for NET_2_0.



Modified: trunk/mcs/class/corlib/System.Security.Principal/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System.Security.Principal/ChangeLog  2005-04-23 
02:53:43 UTC (rev 43468)
+++ trunk/mcs/class/corlib/System.Security.Principal/ChangeLog  2005-04-23 
03:12:49 UTC (rev 43469)
@@ -1,3 +1,14 @@
+2005-04-22  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * GenericIdentity.cs: Added [ComVisible(true)] for NET_2_0.
+       * GenericPrincipal.cs: Added [ComVisible(true)] for NET_2_0.
+       * IIdentity.cs: Added [ComVisible(true)] for NET_2_0.
+       * IPrincipal.cs: Added [ComVisible(true)] for NET_2_0.
+       * PrincipalPolicy.cs: Added [ComVisible(true)] for NET_2_0.
+       * TokenImpersonationLevel.cs: Added [ComVisible(true)] for NET_2_0.
+       * WindowsAccountType.cs: Added [ComVisible(true)] for NET_2_0.
+       * WindowsBuiltInRole.cs: Added [ComVisible(true)] for NET_2_0.
+
 2005-01-24  Sebastien Pouliot  <[EMAIL PROTECTED]>
 
        * WindowsIdentity.cs: Added security permissions for ControlPrincipal

Modified: trunk/mcs/class/corlib/System.Security.Principal/GenericIdentity.cs
===================================================================
--- trunk/mcs/class/corlib/System.Security.Principal/GenericIdentity.cs 
2005-04-23 02:53:43 UTC (rev 43468)
+++ trunk/mcs/class/corlib/System.Security.Principal/GenericIdentity.cs 
2005-04-23 03:12:49 UTC (rev 43469)
@@ -5,11 +5,8 @@
 //   Miguel de Icaza ([EMAIL PROTECTED])
 //
 // (C) Ximian, Inc.  http://www.ximian.com
+// Copyright (C) 2004-2005 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
@@ -30,9 +27,14 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
+
 namespace System.Security.Principal {
 
        [Serializable]
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public class GenericIdentity : IIdentity {
                string user_name;
                string authentication_type;

Modified: trunk/mcs/class/corlib/System.Security.Principal/GenericPrincipal.cs
===================================================================
--- trunk/mcs/class/corlib/System.Security.Principal/GenericPrincipal.cs        
2005-04-23 02:53:43 UTC (rev 43468)
+++ trunk/mcs/class/corlib/System.Security.Principal/GenericPrincipal.cs        
2005-04-23 03:12:49 UTC (rev 43469)
@@ -5,11 +5,8 @@
 //   Miguel de Icaza ([EMAIL PROTECTED])
 //
 // (C) Ximian, Inc.  http://www.ximian.com
+// Copyright (C) 2004-2005 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
@@ -30,9 +27,14 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
+
 namespace System.Security.Principal {
 
        [Serializable]
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public class GenericPrincipal : IPrincipal {
                IIdentity identity;
                string [] roles;

Modified: trunk/mcs/class/corlib/System.Security.Principal/IIdentity.cs
===================================================================
--- trunk/mcs/class/corlib/System.Security.Principal/IIdentity.cs       
2005-04-23 02:53:43 UTC (rev 43468)
+++ trunk/mcs/class/corlib/System.Security.Principal/IIdentity.cs       
2005-04-23 03:12:49 UTC (rev 43469)
@@ -5,11 +5,8 @@
 //   Miguel de Icaza ([EMAIL PROTECTED])
 //
 // (C) Ximian, Inc.  http://www.ximian.com
+// Copyright (C) 2004-2005 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
@@ -30,8 +27,13 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
+
 namespace System.Security.Principal {
 
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public interface IIdentity {
 
                string AuthenticationType {

Modified: trunk/mcs/class/corlib/System.Security.Principal/IPrincipal.cs
===================================================================
--- trunk/mcs/class/corlib/System.Security.Principal/IPrincipal.cs      
2005-04-23 02:53:43 UTC (rev 43468)
+++ trunk/mcs/class/corlib/System.Security.Principal/IPrincipal.cs      
2005-04-23 03:12:49 UTC (rev 43469)
@@ -5,11 +5,8 @@
 //   Miguel de Icaza ([EMAIL PROTECTED])
 //
 // (C) Ximian, Inc.  http://www.ximian.com
+// Copyright (C) 2004-2005 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
@@ -30,8 +27,13 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
+
 namespace System.Security.Principal {
 
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public interface IPrincipal {
 
                IIdentity Identity {

Modified: trunk/mcs/class/corlib/System.Security.Principal/PrincipalPolicy.cs
===================================================================
--- trunk/mcs/class/corlib/System.Security.Principal/PrincipalPolicy.cs 
2005-04-23 02:53:43 UTC (rev 43468)
+++ trunk/mcs/class/corlib/System.Security.Principal/PrincipalPolicy.cs 
2005-04-23 03:12:49 UTC (rev 43469)
@@ -5,11 +5,8 @@
 //   Miguel de Icaza ([EMAIL PROTECTED])
 //
 // (C) Ximian, Inc.  http://www.ximian.com
+// Copyright (C) 2004-2005 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
@@ -30,9 +27,14 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
+
 namespace System.Security.Principal {
 
        [Serializable]
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public enum PrincipalPolicy {
                UnauthenticatedPrincipal,
                NoPrincipal,

Modified: 
trunk/mcs/class/corlib/System.Security.Principal/TokenImpersonationLevel.cs
===================================================================
--- trunk/mcs/class/corlib/System.Security.Principal/TokenImpersonationLevel.cs 
2005-04-23 02:53:43 UTC (rev 43468)
+++ trunk/mcs/class/corlib/System.Security.Principal/TokenImpersonationLevel.cs 
2005-04-23 03:12:49 UTC (rev 43469)
@@ -6,11 +6,8 @@
 //
 // Copyright (C) Tim Coleman, 2004
 // (C) Ximian, Inc.  http://www.ximian.com
+// Copyright (C) 2004-2005 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
@@ -33,11 +30,13 @@
 
 #if NET_2_0
 
-namespace System.Security.Principal 
-{
+using System.Runtime.InteropServices;
+
+namespace System.Security.Principal {
+
        [Serializable]
-       public enum TokenImpersonationLevel 
-       {
+       [ComVisible (true)]
+       public enum TokenImpersonationLevel {
                Anonymous = 0x01,
                Delegation = 0x04,
                Identification = 0x02,

Modified: trunk/mcs/class/corlib/System.Security.Principal/WindowsAccountType.cs
===================================================================
--- trunk/mcs/class/corlib/System.Security.Principal/WindowsAccountType.cs      
2005-04-23 02:53:43 UTC (rev 43468)
+++ trunk/mcs/class/corlib/System.Security.Principal/WindowsAccountType.cs      
2005-04-23 03:12:49 UTC (rev 43469)
@@ -5,11 +5,8 @@
 //   Miguel de Icaza ([EMAIL PROTECTED])
 //
 // (C) Ximian, Inc.  http://www.ximian.com
+// Copyright (C) 2004-2005 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
@@ -30,9 +27,14 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
+
 namespace System.Security.Principal {
 
        [Serializable]
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public enum WindowsAccountType {
                Normal,
                Guest,

Modified: trunk/mcs/class/corlib/System.Security.Principal/WindowsBuiltInRole.cs
===================================================================
--- trunk/mcs/class/corlib/System.Security.Principal/WindowsBuiltInRole.cs      
2005-04-23 02:53:43 UTC (rev 43468)
+++ trunk/mcs/class/corlib/System.Security.Principal/WindowsBuiltInRole.cs      
2005-04-23 03:12:49 UTC (rev 43469)
@@ -5,11 +5,8 @@
 //   Miguel de Icaza ([EMAIL PROTECTED])
 //
 // (C) Ximian, Inc.  http://www.ximian.com
+// Copyright (C) 2004-2005 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
@@ -30,9 +27,14 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+using System.Runtime.InteropServices;
+
 namespace System.Security.Principal {
 
        [Serializable]
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        public enum WindowsBuiltInRole {
                Administrator = 544,
                User = 545,

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

Reply via email to