Commit Graph
20 Commits
Author SHA1 Message Date
Marek Safar 336382e2b1 [corlib] corcompare update 2014-08-25 13:12:42 +02:00
Marek Safar c1028cf912 [corlib] Fix public api 2014-05-20 19:35:25 +02:00
Miguel de Icaza d5c37b6a12 [System.Security.Claims] Add ClaimsPrincipal 2014-05-15 12:54:16 -04:00
Sebastien Pouliot f7882be852 Relax name check when deserializing a WindowsIdentity instance as the name can be empty (e.g. iOS7 simulator will hide the user name) [#12789] 2013-09-30 20:39:14 -04:00
Marek Safar 5b82f0e08c Clean up some NET_2_0 2012-06-14 15:44:35 +01:00
Miguel de Icaza 0072468499 Reduce code duplication
svn path=/trunk/mcs/; revision=146701
2009-11-23 03:45:41 +00:00
Miguel de Icaza 3c39ac4586 Jumbo patch for NET_2_0, mscorlib is now clean
svn path=/trunk/mcs/; revision=145621
2009-11-06 22:23:59 +00:00
Miguel de Icaza 8e07acf772 Multiple files:
Deals with the extension to Environment.OSVersion.Platform that might return a new
value MacOSX (6) on .NET
 

svn path=/trunk/mcs/; revision=121711
2008-12-17 17:56:25 +00:00
Miguel de Icaza dd76858fb6 Revert this patch, I do not remember why I had it in the first place, and went into SVN accidentally
svn path=/trunk/mcs/; revision=68434
2006-11-24 16:44:26 +00:00
Miguel de Icaza 1ded59163d Improved the MonoTODO messages, as these will be developer visible
2006-11-16  Miguel de Icaza  <[email protected]>

	* Hashtable.cs: Serialize EqualityComparer.


svn path=/trunk/mcs/; revision=67996
2006-11-16 13:33:32 +00:00
Paolo Molaro f234bea9e2 Wed Nov 30 19:09:50 CET 2005 Paolo Molaro <[email protected]>
* WindowsIdentity.cs: remove check for an invalid user token on Posix
	systems and check for PlatformID.Unix, too.


svn path=/trunk/mcs/; revision=53701
2005-11-30 18:26:58 +00:00
Sebastien Pouliot 546036de2c 2005-10-28 Sebastien Pouliot <[email protected]>
* IdentityReferenceCollection.cs: Removed virtual from Count and 
	IsReadOnly properties.
	* WindowsIdentity.cs: AuthenticationType property isn't virtual in 2.0


svn path=/trunk/mcs/; revision=52352
2005-10-28 19:16:51 +00:00
Sebastien Pouliot b7d13b3892 2005-06-17 Sebastien Pouliot <[email protected]>
* IdentityNotMappedException.cs: New (2.0). Identity exception.
	* IdentityReference.cs: New (2.0). Abstract base class to collect /
	translate identities.
	* IdentityReferenceCollection.cs: New. (2.0) Collection of 
	IdentityReference (e.g. groups).
	* NTAccount.cs: New (2.0). Domain/User (string based) 
	IdentityReference.
	* SecurityIdentifier.cs: New (2.0). SID (binary based) 
	IdentityReference.
	* TokenAccessLevels.cs: New (2.0). Type of identity token.
	* TokenImpersonationLevel.cs: Fixed name in header.
	* WellKnownSidType.cs: New (2.0). Enum of all well known SID.
	* WindowsIdentity.cs: Implement IDisposable for 2.0. Add Identity
	Reference support for User, Owner and a collection for groups.
	* WindowsImpersonationContext.cs: Implement IDisposable for 2.0.
	* WindowsPrincipal.cs: Added IsInRole(SecurityIdentifier) for 2.0.


svn path=/trunk/mcs/; revision=46132
2005-06-17 11:21:28 +00:00
Sebastien Pouliot 17ff16f1f3 2005-01-24 Sebastien Pouliot <[email protected]>
* WindowsIdentity.cs: Added security permissions for ControlPrincipal
	when creating new instances of WindowsIdentity.


svn path=/trunk/mcs/; revision=39460
2005-01-25 02:36:37 +00:00
Duncan Mak 13d1764537 Add license and copyright to all source files in corlib
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Sebastien Pouliot fec3b3f87a 2004-04-14 Sebastien Pouliot <[email protected]>
* WindowsIdentity.cs: Implemented IDeserializationCallback and
	ISerializable interfaces.

svn path=/trunk/mcs/; revision=25466
2004-04-14 12:44:38 +00:00
Sebastien Pouliot ffec19d89e 2004-04-13 Sebastien Pouliot <[email protected]>
* WindowsIdentity.cs: Implemented for both Windows and Linux. Fix bug
	#52532. Class is only missing serialization bits.
	* WindowsImpersonationContext.cs: Implemented for both Windows and
	Linux. Fix bug #52532.
	* WindowsPrincipal.cs: Implemented for both Windows and Linux.  Fix
	bug #52532.

svn path=/trunk/mcs/; revision=25395
2004-04-13 11:35:42 +00:00
Sebastien Pouliot a11b4b2722 2003-12-29 Sebastien Pouliot <[email protected]>
* PrincipalPolicy.cs: Added missing [Serializable] to enum.
	* WindowsAccountType.cs: Added missing [Serializable] to enum.
	* WindowsBuiltInRole.cs: Added missing [Serializable] to enum.
	* WindowsIdentity.cs: Updated to match the unit tests.
	* WindowsPrincipal.cs: Return false for a null role.

svn path=/trunk/mcs/; revision=21544
2003-12-30 04:13:59 +00:00
Sebastien Pouliot cc02bb2de3 2003-12-25 Sebastien Pouliot <[email protected]>
* WindowsIdentity.cs: Added ISerializable (for 1.1+) and default
	implementation for constructors/properties.
	* WindowsImpersonationContext.cs: Added MonoTODO on class and
	NotImplementedException in constructor.
	* WindowsPrincipal.cs: New. Basic implementation (mostly a stub).

svn path=/trunk/mcs/; revision=21498
2003-12-26 04:25:41 +00:00
Gonzalo Paniagua Javier c87c2fda2b 2002-08-26 Gonzalo Paniagua Javier <[email protected]>
* unix.args: added a couple of new files in System.Security.Principal.
	* System.Security.Principal/WindowsIdentity.cs:
	* System.Security.Principal/WindowsImpersonationContext.cs: stubbed.

svn path=/trunk/mcs/; revision=7072
2002-08-27 01:40:49 +00:00