Searched defs:permissions (Results 1 - 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/attribute/
H A DPosixFileAttributes.java64 * 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 DAclEntry.java47 * <li><p> The {@link #permissions permissions} component is a set of
48 * {@link AclEntryPermission permissions}
170 * Sets the permissions component of this builder. On return, the
171 * permissions component of this builder is a copy of the given set.
173 * @param perms the permissions component
195 * Sets the permissions component of this builder. On return, the
196 * permissions component of this builder is a copy of the permissions in
199 * @param perms the permissions componen
308 public Set<AclEntryPermission> permissions() { method in class:AclEntry
[all...]
/libcore/ojluni/src/main/java/java/security/
H A DProtectionDomain.java38 PermissionCollection permissions) { }
41 PermissionCollection permissions,
37 ProtectionDomain(CodeSource codesource, PermissionCollection permissions) argument
40 ProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals) argument
/libcore/ojluni/src/main/java/java/security/acl/
H A DAclEntry.java36 * 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...]
/libcore/ojluni/src/main/java/sun/net/ftp/
H A DFtpDirEntry.java63 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...]
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DUnixFileAttributes.java216 public Set<PosixFilePermission> permissions() { method in class:UnixFileAttributes
/libcore/jsr166-tests/src/test/java/jsr166/
H A DJSR166TestCase.java1086 * the specified permissions. If there is no current security
1091 public void runWithPermissions(Runnable r, Permission... permissions) { argument
1097 // runWithSecurityManagerWithPermissions(r, permissions);
1103 * the specified permissions. If there is no current security
1109 Permission... permissions) {
1117 // runWithSecurityManagerWithPermissions(r, permissions);
1124 // AdjustablePolicy policy = new AdjustablePolicy(permissions);
1138 * Runs a runnable without any permissions.
1145 * A security policy where new permissions can be dynamically added
1150 AdjustablePolicy(Permission... permissions) { argument
1108 runWithSecurityManagerWithPermissions(Runnable r, Permission... permissions) argument
[all...]

Completed in 567 milliseconds