commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #3116] Implement AccessController.getContext


From: Casey Marshall
Subject: [patch #3116] Implement AccessController.getContext
Date: Thu, 03 Jun 2004 02:58:01 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5; No time for love, Dr. Jones) Gecko/20030715

This mail is an automated notification from the patch tracker
 of the project: classpath.




/**************************************************************************/
[patch #3116] Full Item Snapshot:

URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3116>
Project: classpath
Submitted by: Casey Marshall
On: Thu 06/03/2004 at 06:09

Category:  None
Priority:  2
Resolution:  None
Assigned to:  None
Originator Email:  
Status:  Open


Summary:  Implement AccessController.getContext

Original Submission:  This patch implements 
java.security.AccessController.getContext, by defering the getContext call to a 
new class, VMAccessController. Most of the logic is already implemented, 
leaving the only method for a VM to implement getStack, which returns the 
current Thread's call stack as a pair of lists: classes and method names.

VMs can possibly take advantage of the design of VMAccessController, including:

  - Using pushContext and popContext more effectively.
  - Modifying getContext for the semantics of that VM's stack idiosyncrasies.

Also included is a simple domain combiner that produces the intersection of two 
sets of protection domains, and an implementation of Policy that parses 
plain-text description files, similar to those used by Sun's JDK.

(comments and critiques welcome)





File Attachments
-------------------

-------------------------------------------------------
Date: Thu 06/03/2004 at 06:11  Name: security2-ChangeLog  Size: 753KB   By: 
rsdio
ChangeLog
http://savannah.gnu.org/patch/download.php?item_id=3116&amp;item_file_id=3340

-------------------------------------------------------
Date: Thu 06/03/2004 at 06:09  Name: security2.patch  Size: 40KB   By: rsdio
security2.patch
http://savannah.gnu.org/patch/download.php?item_id=3116&amp;item_file_id=3339






For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=3116>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]