JMU
Java Security - Specification
An Introduction to the Internals


Prof. David Bernstein
James Madison University

Computer Science Department
bernstdh@jmu.edu


Getting Started
Overview/Review
Permissions
Permissions (cont.)
Permissions (cont.)

An Example

Permission    dataread, exit;

// An example with an action
dataread = new FilePermission("/data/census", "read");

// An example without an action
exit = new RuntimePermission("exitVM");
  
Details About Some Existing Specializations
Specializing the Permission Class
Collections of Permissions
Collections of Permissions (cont.)
About Positive Permissions
A Brief Recap
The Fundamental Properties of Code
The CodeSource Class
The Principal Interface
Putting the Pieces Together
Putting the Pieces Together (cont.)
Things to Be Aware Of