river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter_firmst...@apache.org
Subject svn commit: r1179561 - /river/jtsk/skunk/peterConcurrentPolicy/src/net/jini/loader/pref/CodeSourceWithPermissionsRequired.java
Date Thu, 06 Oct 2011 10:23:48 GMT
Author: peter_firmstone
Date: Thu Oct  6 10:23:47 2011
New Revision: 1179561

URL: http://svn.apache.org/viewvc?rev=1179561&view=rev
Log:
Adding Permissions required to CodeSource, to allow downloaded codebases to advise their required
permissions

Added:
    river/jtsk/skunk/peterConcurrentPolicy/src/net/jini/loader/pref/CodeSourceWithPermissionsRequired.java
      - copied, changed from r1178328, river/jtsk/skunk/peterConcurrentPolicy/src/net/jini/loader/pref/PCodeSource.java

Copied: river/jtsk/skunk/peterConcurrentPolicy/src/net/jini/loader/pref/CodeSourceWithPermissionsRequired.java
(from r1178328, river/jtsk/skunk/peterConcurrentPolicy/src/net/jini/loader/pref/PCodeSource.java)
URL: http://svn.apache.org/viewvc/river/jtsk/skunk/peterConcurrentPolicy/src/net/jini/loader/pref/CodeSourceWithPermissionsRequired.java?p2=river/jtsk/skunk/peterConcurrentPolicy/src/net/jini/loader/pref/CodeSourceWithPermissionsRequired.java&p1=river/jtsk/skunk/peterConcurrentPolicy/src/net/jini/loader/pref/PCodeSource.java&r1=1178328&r2=1179561&rev=1179561&view=diff
==============================================================================
--- river/jtsk/skunk/peterConcurrentPolicy/src/net/jini/loader/pref/PCodeSource.java (original)
+++ river/jtsk/skunk/peterConcurrentPolicy/src/net/jini/loader/pref/CodeSourceWithPermissionsRequired.java
Thu Oct  6 10:23:47 2011
@@ -30,11 +30,11 @@ import java.security.cert.Certificate;
  *
  * @author peter
  */
-public class PCodeSource extends CodeSource {
+public class CodeSourceWithPermissionsRequired extends CodeSource {
     private static final long serialVersionUID = 1L;
     private Permission[] permissions;
     
-    public PCodeSource(URL codebase, Certificate[] certs, Permission[] perms){
+    public CodeSourceWithPermissionsRequired(URL codebase, Certificate[] certs, Permission[]
perms){
         super(codebase, certs );
         permissions = perms.clone();
     }



Mime
View raw message