Commit Graph
8 Commits
Author SHA1 Message Date
Sebastien Pouliot e823667b5f 2006-06-16 Sebastien Pouliot <[email protected]>
* SecurityContext.cs: Don't skip the calling callBack if we don't call
	CompressedStack.Run (#78652).


svn path=/trunk/mcs/; revision=61796
2006-06-16 13:18:06 +00:00
Sebastien Pouliot f49f4becc9 2006-06-15 Sebastien Pouliot <[email protected]>
* SecurityContext.cs: Don't call CompressedStack.Run if we don't have
	a compressed stack in the context (which can now happen because of 
	#78652). This should fix MWF bug #78652 (BeginInvoke under 2.0).


svn path=/trunk/mcs/; revision=61755
2006-06-15 13:49:09 +00:00
Sebastien Pouliot cbe2286cc8 2005-05-26 Sebastien Pouliot <[email protected]>
* CodeAccessPermission.cs: Fix typo for PermitOnly. Added ComVisible 
	attribute for NET_2_0 profile.
	* PermissionSet.cs: Changed static string to const. Added ComVisible 
	attribute for NET_2_0 profile.
	* SecurityContext.cs: Capture the identity token but don't create a 
	WindowsIdentity instance unless required (e.g. Run). This requires 
	less privileges (so it runs better that way under CAS).


svn path=/trunk/mcs/; revision=45039
2005-05-26 12:34:41 +00:00
Sebastien Pouliot b3c3d40516 2005-05-20 Sebastien Pouliot <[email protected]>
* SecurityContext.cs: Includes more methods in NET_1_1 to enable 
	ThreadPool.UnsafeQueueUserWorkItem to work properly (i.e. without
	stack propagation).


svn path=/trunk/mcs/; revision=44817
2005-05-20 14:10:58 +00:00
Sebastien Pouliot cf4ff8ba00 2005-05-09 Sebastien Pouliot <[email protected]>
* SecurityContext.cs: That was the wrong place to capture the stack.


svn path=/trunk/mcs/; revision=44271
2005-05-09 12:59:17 +00:00
Sebastien Pouliot 6e58169922 2005-05-09 Sebastien Pouliot <[email protected]>
* SecurityContext.cs: Capture the CompressedStack when the current 
	context one is empty.
	* SecurityManager.cs: Class is now static (2.0).
	* SecurityTreatAsSafeAttribute.cs: Fixed AttributeTargets.


svn path=/trunk/mcs/; revision=44265
2005-05-09 10:59:34 +00:00
Sebastien Pouliot 3ed164a91a 2005-04-28 Sebastien Pouliot <[email protected]>
* PermissionSetCollection.cs: Updated wrt beta2. Seems this will be
	removed before 2.0 final.
	* HostProtectionException.cs: Updated wrt beta2. Added TODO as it 
	isn't support by the runtime.
	* SecurityContext.cs: Updated wrt beta2. Class is now internal in 
	NET_1_1 to allow the compressed stack propagation to other threads.
	* SecurityCriticalAttribute.cs: Added support for property Scope.
	* SecurityException.cs: Removed PermitOnlySetInstance property to 
	match beta2.
	* SecurityTransparentAttribute.cs: Fixed AttributeUsage. Added TODO
	as it isn't support by the runtime.
	* SuppressUnmanagedCodeSecurityAttribute.cs: Added delegates to usage
	in NET_2_0.


svn path=/trunk/mcs/; revision=43714
2005-04-28 12:09:31 +00:00
Sebastien Pouliot 748a1ef357 2004-07-14 Sebastien Pouliot <[email protected]>
* HostProtectionException.cs: New class in Fx 2.0.
	* HostSecurityManager.cs: New class in Fx 2.0.
	* HostSecurityManagerFlags.cs: New enum in Fx 2.0.
	* SecurityContext.cs: New class in Fx 2.0.
	* SecurityContextSwitcher.cs: New structure in Fx 2.0.

svn path=/trunk/mcs/; revision=31127
2004-07-14 11:53:49 +00:00