/openjdk7/jdk/src/share/classes/java/nio/file/attribute/ |
H A D | PosixFileAttributes.java | 64 * Returns the permissions of the file. The file permissions are returned 66 * copy of the file permissions and is modifiable. This allows the result 68 * setPermissions} method to update the file's permissions. 70 * @return the file permissions 74 Set<PosixFilePermission> permissions(); method in interface:PosixFileAttributes
|
H A D | AclEntry.java | 47 * <li><p> The {@link #permissions permissions} component is a set of 48 * {@link AclEntryPermission permissions} 168 * Sets the permissions component of this builder. On return, the 169 * permissions component of this builder is a copy of the given set. 186 * Sets the permissions component of this builder. On return, the 187 * permissions component of this builder is a copy of the permissions in 244 * components is {@code null}. The initial value of the permissions and 282 * Returns a copy of the permissions componen 286 public Set<AclEntryPermission> permissions() { method in class:AclEntry [all...] |
/openjdk7/jdk/test/java/lang/ProcessBuilder/ |
H A D | SecurityManagerClinit.java | 41 public Policy(Permission... permissions) { argument 43 for (Permission permission : permissions)
|
/openjdk7/jdk/src/share/classes/java/security/acl/ |
H A D | AclEntry.java | 36 * objects. Each ACL entry object contains a set of permissions associated 39 * as being either positive or negative. If positive, the permissions are 40 * to be granted to the associated principal. If negative, the permissions 57 * Specifies the principal for which permissions are granted or denied 71 * Returns the principal for which permissions are granted or denied by 94 * associated principal the set of permissions in the entry), false 103 * have multiple permissions. 135 * Returns an enumeration of the permissions in this ACL entry. 137 * @return an enumeration of the permissions in this ACL entry. 139 public Enumeration<Permission> permissions(); method in interface:AclEntry [all...] |
/openjdk7/jdk/src/share/classes/sun/security/acl/ |
H A D | AclEntryImpl.java | 34 * or groups with permissions in the ACL. 35 * The entry may be used as a way of granting or denying permissions. 44 * Construct an ACL entry that associates a user with permissions 74 * This method sets the ACL to have negative permissions. 91 * permissions. This method adds a permission to the ACL entry. 132 * return an enumeration of the permissions in this ACL entry. 134 public Enumeration<Permission> permissions() { method in class:AclEntryImpl 152 Enumeration<Permission> e = permissions();
|
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | ProtectionDomain.java | 47 * of permissions when being executed on behalf of a given set of Principals. 49 * A static set of permissions can be bound to a ProtectionDomain when it is 50 * constructed; such permissions are granted to the domain regardless of the 53 * mapped to a set of permissions by the current Policy whenever a permission 104 private PermissionCollection permissions; field in class:ProtectionDomain 106 /* if the permissions object has AllPermission */ 122 * Permissions. If the permissions object is not null, then 124 * Permissions object. The only permissions granted to this domain 128 * @param permissions the permissions grante 130 ProtectionDomain(CodeSource codesource, PermissionCollection permissions) argument 175 ProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/rmi/rmid/ |
H A D | ExecOptionPermission.java | 158 * ExecOptionPermission permissions. 211 * of ExecOptionPermission permissions. ExecOptionPermission objects 226 private Hashtable<String, Permission> permissions; field in class:ExecOptionPermission.ExecOptionPermissionCollection 234 permissions = new Hashtable<>(11); 261 permissions.put(p.getName(), permission); 269 * Check and see if this set of permissions implies the permissions 294 Permission x = permissions.get(pname); 309 x = permissions.get(pname); 324 x = permissions [all...] |
H A D | ExecPermission.java | 183 * ExecPermission permissions. 219 * of ExecPermission permissions. ExecPermission objects 230 private Vector<Permission> permissions; field in class:ExecPermission.ExecPermissionCollection 238 permissions = new Vector<>(); 260 permissions.addElement(permission); 264 * Check and see if this set of permissions implies the permissions 277 Enumeration<Permission> e = permissions.elements(); 296 return permissions.elements();
|
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | CryptoPermission.java | 465 * permissions. 478 private Vector permissions; field in class:CryptoPermissionCollection 485 permissions = new Vector(3); 505 permissions.addElement(permission); 523 Enumeration e = permissions.elements(); 543 return permissions.elements();
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/ |
H A D | AclEntryImpl.java | 61 for (Enumeration<Permission> en = i.permissions(); en.hasMoreElements();){ 104 * the set of permissions in the entry), false otherwise. 114 * have multiple permissions. 155 * Returns an enumeration of the permissions in this ACL entry. 157 * @return an enumeration of the permissions in this ACL entry. 159 public Enumeration<Permission> permissions(){ method in class:AclEntryImpl 176 * Returns the principal for which permissions are granted or denied by this ACL 186 * Specifies the principal for which permissions are granted or denied by
|
/openjdk7/jdk/src/share/classes/com/sun/security/auth/ |
H A D | PolicyFile.java | 322 // all the permissions required for the PolicyFile initialization 836 // all the permissions required for the PolicyFile initialization 862 * the set of permissions for that principal's protection domain. 868 * @return the set of permissions according to the policy. 881 * the set of permissions for that principal's protection domain. 883 * @param permissions the permissions to populate 888 * @return the set of permissions according to the policy. 920 for (int j = 0; j < entry.permissions.size(); j++) { 921 Permission p = entry.permissions 1340 Vector<Permission> permissions; field in class:PolicyFile.PolicyEntry [all...] |
/openjdk7/jdk/src/share/classes/sun/net/ftp/ |
H A D | FtpDirEntry.java | 63 private boolean[][] permissions = null; field in class:FtpDirEntry 218 if (permissions != null) { 219 return permissions[p.value][0]; 231 if (permissions != null) { 232 return permissions[p.value][1]; 244 if (permissions != null) { 245 return permissions[p.value][2]; 251 * Sets the permissions for that file. Intended mostly to be used 253 * The permissions array is a 3x3 {@code boolean} array, the first index being 256 * <p>E.G.: {@code permissions[ 261 setPermissions(boolean[][] permissions) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/server/ |
H A D | LoaderHandler.java | 235 * permissions are required to know the URLs. 877 * access control context retricted to the permissions 987 // begin with permissions granted to all code in current policy 1006 // add permissions to read any "java.*" property 1009 // add permissions reuiqred to load from codebase URL path 1014 * protection domain with only the permissions calculated above. 1024 * Adds to the specified permission collection the permissions 1027 * permissions necessary for the security context that such a 1028 * loader operates within, such as permissions necessary for 1029 * granting automatic permissions t 1138 private Permissions permissions; field in class:LoaderHandler.Loader [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | UnixFileAttributes.java | 195 public Set<PosixFilePermission> permissions() { method in class:UnixFileAttributes
|
/openjdk7/jdk/test/java/util/logging/ |
H A D | TestAppletLoggerContext.java | 74 public SimplePolicy(Permission... permissions) { argument 76 for (Permission permission : permissions) {
|
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | PolicyFile.java | 243 * the permission will be ignored (permissions containing 1005 * Creates one of the well-known permissions directly instead of 1007 * permissions. 1112 * Evaluates the the global policy for the permissions granted to 1146 * Examines this <code>Policy</code> and returns the permissions granted 1148 * the permissions currently associated with the domain as well 1149 * as the policy permissions granted to the domain's 1201 * the set of permissions for the specified CodeSource. 1207 * @return the set of permissions according to the policy. 1216 * object with additional permissions grante 2092 final List<Permission> permissions; field in class:PolicyFile.PolicyEntry [all...] |