/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | CryptoPermission.java | 196 * Checks if the specified permission is "implied" by 203 * is implied by this permission's algorithm name, and<p> 205 * equal to this permission's maximum allowable key size, and<p> 207 * implied by this permission's algorithm parameter spec, and<p> 209 * is implied by this permission's 214 * @param p the permission to check against. 216 * @return true if the specified permission is equal to or 217 * implied by this permission, false otherwise. 489 * Adds a permission to the CryptoPermissionCollection. 491 * @param permission th 496 add(Permission permission) argument 517 implies(Permission permission) argument [all...] |
H A D | CryptoPermissions.java | 120 * Adds a permission object to the PermissionCollection for the 122 * <code>(CryptoPermission)permission.getAlgorithm()</code>. 125 * a new PermissionCollection object (and adds the permission to it) 128 * @param permission the Permission object to add. 135 public void add(Permission permission) { argument 142 if (!(permission instanceof CryptoPermission)) 145 CryptoPermission cryptoPerm = (CryptoPermission)permission; 155 * of the specified permission's algorithm implies the specified 156 * permission. Returns true if the checking succeeded. 158 * @param permission th 164 implies(Permission permission) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/management/ |
H A D | MBeanServerPermission.java | 39 The <em>name</em> of the permission specifies the operation requested 40 or granted by the permission. For a granted permission, it can be 42 Otherwise, for a granted or requested permission, it must be one of the 60 The <em>name</em> of the permission can also denote a list of one or more 94 * Map from permission masks to canonical names. This array is 115 @param name the name of the granted permission. It must 128 @param name the name of the granted permission. It must 258 * permission.</p> 268 * <p>The <code>createMBeanServer</code> permission implie 341 add(Permission permission) argument 358 implies(Permission permission) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/file/ |
H A D | FileURLConnection.java | 216 Permission permission; field in class:FileURLConnection 218 /* since getOutputStream isn't supported, only read permission is 222 if (permission == null) { 225 permission = new FilePermission(decodedPath, "read"); 227 permission = new FilePermission( 231 return permission;
|
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | FilePermission.java | 64 * <DT> read <DD> read permission 65 * <DT> write <DD> write permission 67 * <DD> execute permission. Allows <code>Runtime.exec</code> to 70 * <DD> delete permission. Allows <code>File.delete</code> to 73 * <DD> read link permission. Allows the target of a 83 * directories. The "<<ALL FILES>>" permission with write action is 84 * especially dangerous. This grants permission to write to the entire 90 * need explicit permission to do so. 307 * Checks if this FilePermission object "implies" the specified permission. 320 * @param p the permission t 744 add(Permission permission) argument 768 implies(Permission permission) argument [all...] |
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | Policy.java | 48 * in the Java runtime environment has permission to perform a 148 * <code>SecurityPermission("getPolicy")</code> permission 263 * permission to ensure it's ok to set the Policy. 378 * @exception SecurityException if the caller does not have permission 434 * @exception SecurityException if the caller does not have permission 498 * @exception SecurityException if the caller does not have permission 690 * add static permissions to provided permission collection 706 * the ProtectionDomain and tests whether the permission is 710 * @param permission the Permission object to be tested for implication. 712 * @return true if "permission" i 718 implies(ProtectionDomain domain, Permission permission) argument 836 add(Permission permission) argument 849 implies(Permission permission) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/security/auth/ |
H A D | PolicyFile.java | 91 * which consists of a number of permission entries. 99 * permission <b>Type</b> "<b>name</b> "<b>action</b>", 101 * permission <b>Type</b> "<b>name</b> "<b>action</b>", 125 * <p> A permission entry must begin with the word <code>permission</code>. 127 * a specific permission type, such as <code>java.io.FilePermission</code> 131 * many permission types, such as <code>java.io.FilePermission</code> 136 * permission specified by the <code>"<i>name</i>"</code> 139 * <p> The <code>signedBy</code> name/value pair for a permission entry 140 * is optional. If present, it indicates a signed permission 1414 add(Permission permission) argument 1446 implies(Permission permission) argument [all...] |
H A D | PolicyParser.java | 420 rb.getString("expected.permission.entry")); 446 e.permission = match("permission type"); 536 } else if (expect.equalsIgnoreCase("permission type")) { 550 } else if (expect.equalsIgnoreCase("permission type")) { 628 * permission java.io.FilePermission "/tmp", "read,write"; 682 * Enumerate all the permission entries in this GrantEntry. 797 * Each permission entry in the policy configuration file is 804 * permission java.io.FilePermission "/tmp", "read,write"; 820 public String permission; field in class:PolicyParser.PermissionEntry 828 PermissionEntry(String permission, String name, String action) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | Launcher.java | 512 public void add(java.security.Permission permission) { argument 513 throw new SecurityException("attempt to add a permission"); 526 // add permission to read any "java.*" property 568 public boolean implies(java.security.Permission permission) { argument 571 return perms.implies(permission);
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/ftp/ |
H A D | FtpURLConnection.java | 91 Permission permission; field in class:FtpURLConnection 557 if (permission == null) { 561 permission = new SocketPermission(urlhost, "connect"); 563 return permission;
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/jar/ |
H A D | JarURLConnection.java | 59 /* the permission to get this JAR file. This is the actual, ultimate, 60 * permission, returned by the jar file factory. 62 private Permission permission; field in class:JarURLConnection 124 /* we also ask the factory the permission that was required 125 * to get the jarFile, and set it as our permission.
|
/openjdk7/jdk/src/share/classes/sun/security/acl/ |
H A D | AclImpl.java | 147 * If there is no entry for a group or a principal an empty permission 150 * The group positive permission set is the union of all 152 * The group negative permission set is the union of all 154 * If there is a specific permission that occurs in both 155 * the postive permission set and the negative permission set, 156 * it is removed from both. The group positive and negatoive permission 159 * The individial positive permission set and the individual negative 160 * permission set is then calculated. Again abscence of an entry means 165 * Specifically, individual negative permission se 231 checkPermission(Principal principal, Permission permission) argument [all...] |
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | SocketPermission.java | 106 * note that if the following permission: 115 * <p>Similarly, if the following permission: 125 * <p>Note: Granting code permission to accept or make connections to remote 560 "invalid permission: " + action); 576 "invalid permission: " + action); 779 * Checks if this socket permission object "implies" the 780 * specified permission. 807 * @param p the permission to check against. 809 * @return true if the specified permission is implied by this object, 846 * @param p the incoming permission reques 1252 add(Permission permission) argument 1278 implies(Permission permission) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | PolicyParser.java | 554 "expected.permission.entry")); 612 e.permission = match("permission type"); 738 } else if (expect.equalsIgnoreCase("permission type")) { 753 } else if (expect.equalsIgnoreCase("permission type")) { 829 * permission java.io.FilePermission "/tmp", "read,write"; 895 * Enumerate all the permission entries in this GrantEntry. 1061 * Each permission entry in the policy configuration file is 1068 * permission java.io.FilePermission "/tmp", "read,write"; 1084 public String permission; field in class:PolicyParser.PermissionEntry 1092 PermissionEntry(String permission, String name, String action) argument [all...] |
/openjdk7/jdk/src/solaris/classes/java/util/prefs/ |
H A D | FileSystemPreferences.java | 217 * Unix user write/read permission 951 lockFile0(String fileName, int permission, boolean shared); argument 963 private static native int chmod(String fileName, int permission); argument
|
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | X11SurfaceData.c | 125 char * permission = getenv("J2D_MITSHM_PERMISSION"); local 126 if (permission != NULL) { 127 if (strcmp(permission, "common") == 0) {
|