HomeSort by relevance Sort by last modified time
    Searched refs:acl (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /libcore/ojluni/src/main/java/java/security/acl/
package-info.java 33 package java.security.acl;
Permission.java 26 package java.security.acl;
AclNotFoundException.java 26 package java.security.acl;
30 * non-existent ACL (Access Control List).
LastOwnerException.java 26 package java.security.acl;
32 * @see java.security.acl.Owner#deleteOwner
NotOwnerException.java 26 package java.security.acl;
Group.java 26 package java.security.acl;
Owner.java 26 package java.security.acl;
31 * Interface for managing owners of Access Control Lists (ACLs) or ACL
32 * configurations. (Note that the Acl interface in the
33 * {@code java.security.acl} package extends this Owner
37 * @see java.security.acl.Acl
43 * Adds an owner. Only owners can modify ACL contents. The caller
44 * principal must be an owner of the ACL in order to invoke this method.
46 * configured at ACL construction time.
49 * of the ACL
    [all...]
AclEntry.java 26 package java.security.acl;
33 * Control List (ACL).<p>
35 * An ACL can be thought of as a data structure with multiple ACL entry
36 * objects. Each ACL entry object contains a set of permissions associated
38 * an individual user or a group). Additionally, each ACL entry is specified
41 * are to be denied. Each principal can have at most one positive ACL entry
42 * and one negative entry; that is, multiple positive or negative ACL
45 * Note: ACL entries are by default positive. An entry becomes a
50 * @see java.security.acl.Ac
    [all...]
Acl.java 26 package java.security.acl;
32 * Interface representing an Access Control List (ACL). An Access
36 * An ACL can be thought of as a data structure with multiple ACL
37 * entries. Each ACL entry, of interface type AclEntry, contains a
40 * group). Additionally, each ACL entry is specified as being either
45 * The ACL Entries in each ACL observe the following rules:
47 * <ul> <li>Each principal can have at most one positive ACL entry and
48 * one negative entry; that is, multiple positive or negative ACL
    [all...]
  /libcore/luni/src/test/java/tests/security/acl/
AclNotFoundException2Test.java 18 package tests.security.acl;
22 import java.security.acl.AclNotFoundException;
27 * java.security.acl.AclNotFoundException#AclNotFoundException()
30 // Test for method java.security.acl.AclNotFoundException()
38 + "'java.security.acl.AclNotFoundException' but was "
40 "java.security.acl.AclNotFoundException",
AclNotFoundExceptionTest.java 23 package tests.security.acl;
27 import java.security.acl.AclNotFoundException;
LastOwnerException2Test.java 18 package tests.security.acl;
22 import java.security.acl.LastOwnerException;
27 * java.security.acl.LastOwnerException#LastOwnerException()
30 // Test for method java.security.acl.LastOwnerException()
35 + "'java.security.acl.LastOwnerException' but was "
36 + e.toString(), "java.security.acl.LastOwnerException", e
LastOwnerExceptionTest.java 23 package tests.security.acl;
27 import java.security.acl.LastOwnerException;
NotOwnerException2Test.java 18 package tests.security.acl;
22 import java.security.acl.NotOwnerException;
27 * java.security.acl.NotOwnerException#NotOwnerException()
30 // Test for method java.security.acl.NotOwnerException()
35 + "'java.security.acl.NotOwnerException' but was "
36 + e.toString(), "java.security.acl.NotOwnerException", e
NotOwnerExceptionTest.java 23 package tests.security.acl;
27 import java.security.acl.NotOwnerException;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/acl/
libacl.h 23 #include <sys/acl.h>
55 extern char *acl_to_any_text(acl_t acl, const char *prefix,
58 extern int acl_check(acl_t acl, int *last);
60 extern int acl_equiv_mode(acl_t acl, mode_t *mode_p);
64 extern int acl_entries(acl_t acl);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/sys/
acl.h 2 File: sys/acl.h
69 /* 23.2.7 ACL qualifier constants */
73 /* 23.2.8 ACL Entry Constants */
78 /*=== ACL manipulation ===*/
81 extern acl_t acl_dup(acl_t acl);
83 extern int acl_valid(acl_t acl);
90 extern int acl_delete_entry(acl_t acl, acl_entry_t entry_d);
91 extern int acl_get_entry(acl_t acl, int entry_id, acl_entry_t *entry_p);
93 /* Manipulate ACL entry permissions */
102 /* Manipulate ACL entry tag type and qualifier *
    [all...]
  /external/autotest/cli/
atest_migrate_host 43 for acl in old_host_acls:
45 new_acls = new.get_acls(name=acl.name)
49 new_acl = new.create_acl(name=acl.name, description=acl.description)
50 # Add any users to the ACL that we can
51 for user in acl.users:
57 if not [a for a in new_host.get_acls() if a.name == acl.name]:
58 new_host.add_acl(acl.name)
user.py 57 [--acl <ACL>|--access_level <n>]"""
61 self.parser.add_option('-a', '--acl',
62 help='Only list users within this ACL')
70 self.acl = options.acl
78 if self.acl:
79 filters['aclgroup__name__in'] = [self.acl]
acl_unittest.py 6 """Test for acl."""
11 from autotest_lib.cli import acl, cli_mock
16 acl_list = acl.acl_list()
21 self.assertEqualNoOrder(['acl%s' % x for x in range(8)],
27 acl_list = acl.acl_list()
34 acl_list = acl.acl_list()
41 acl_list = acl.acl_list()
81 self.run_cmd(argv=['atest', 'acl', 'list', '-v'],
92 self.run_cmd(argv=['atest', 'acl', 'list', 'acl0'],
103 self.run_cmd(argv=['atest', 'acl', 'list', '-v', '--user', 'user0']
    [all...]
  /libcore/ojluni/src/main/java/java/nio/file/attribute/
AclFileAttributeView.java 34 * Control Lists (ACL) or file owner attributes.
36 * <p> ACLs are used to specify access rights to file system objects. An ACL is
40 * #setAcl(List) setAcl} methods to read and write ACLs based on the ACL
43 * is intended for file system implementations that support the NFSv4 ACL model
44 * or have a <em>well-defined</em> mapping between the NFSv4 ACL model and the ACL
63 * are supported then these special user identities may be included in ACL {@link
71 * Suppose we wish to add an entry to an existing ACL to grant "joe" access:
87 * // read ACL, insert ACE, re-write ACL
    [all...]
  /prebuilts/jdk/jdk8/darwin-x86/sample/nio/file/
AclEdit.java 48 * Sample utility for editing a file's ACL.
164 // build the ACL entry
172 System.err.println("usage: java AclEdit [ACL-operation] file");
174 System.err.println("Example 1: Prepends access control entry to the begining of the myfile's ACL");
177 System.err.println("Example 2: Remove the entry at index 6 of myfile's ACL");
180 System.err.println("Example 3: Replace the entry at index 2 of myfile's ACL");
193 * Main class: parses arguments and prints or edits ACL
249 // read file's ACL
256 List<AclEntry> acl = view.getAcl(); local
259 // print ACL
    [all...]
  /prebuilts/jdk/jdk8/linux-x86/sample/nio/file/
AclEdit.java 48 * Sample utility for editing a file's ACL.
164 // build the ACL entry
172 System.err.println("usage: java AclEdit [ACL-operation] file");
174 System.err.println("Example 1: Prepends access control entry to the begining of the myfile's ACL");
177 System.err.println("Example 2: Remove the entry at index 6 of myfile's ACL");
180 System.err.println("Example 3: Replace the entry at index 2 of myfile's ACL");
193 * Main class: parses arguments and prints or edits ACL
249 // read file's ACL
256 List<AclEntry> acl = view.getAcl(); local
259 // print ACL
    [all...]
  /external/ltp/testcases/network/nfsv4/acl/
acl1.c 3 * ACL testing basic program
4 * Purpose: setting an acl on a file a verifies that the accesses are right
24 #include <sys/acl.h>
31 /* the "typical" acl used for the test */
75 /* acl with user entries used for the test */
80 acl_t acl; local
81 acl = acl_from_text(acl_text);
82 return acl;
85 /* acl with group entries used for the test */
91 acl_t acl; local
100 acl_t acl; local
    [all...]
  /libcore/ojluni/src/main/java/sun/reflect/misc/
ReflectUtil.java 113 ClassLoader acl = cl; local
115 acl = acl.getParent();
116 if (p == acl) {
119 } while (acl != null);

Completed in 212 milliseconds

1 2 3 4 5