Searched refs:AclEntry (Results 1 - 18 of 18) sorted by relevance

/openjdk7/jdk/src/share/classes/java/nio/file/attribute/
H A DAclFileAttributeView.java37 * an ordered list of {@link AclEntry access-control-entries}, each specifying a
64 * AclEntry entries} that are read or written. The file system's {@link
81 * AclEntry entry = AclEntry.newBuilder()
88 * List<AclEntry&gt acl = view.getAcl();
104 * <td> {@link List}&lt;{@link AclEntry}&gt; </td>
128 * value} that is the list of {@code AclEntry} objects.
161 * @return an ordered list of {@link AclEntry entries} representing the
172 List<AclEntry> getAcl() throws IOException;
187 * <p> If an ACL entry contains a {@link AclEntry#principa
[all...]
H A DAclEntry.java64 public final class AclEntry { class
75 private AclEntry(AclEntryType type, method in class:AclEntry
87 * A builder of {@link AclEntry} objects.
90 * AclEntry#newBuilder newBuilder} methods defined by the {@code AclEntry}
117 * Constructs an {@link AclEntry} from the components of this builder.
119 * to construct an {@code AclEntry}.
126 public AclEntry build() {
131 return new AclEntry(type, who, perms, flags);
263 public static Builder newBuilder(AclEntry entr
[all...]
/openjdk7/jdk/test/java/nio/file/attribute/AclFileAttributeView/
H A DBasic.java41 static void printAcl(List<AclEntry> acl) {
42 for (AclEntry entry: acl) {
57 List<AclEntry> acl = view.getAcl();
63 AclEntry entry = AclEntry.newBuilder()
74 List<AclEntry> newacl = view.getAcl();
85 entry = AclEntry.newBuilder(entry).setPrincipal(owner).build();
101 static FileAttribute<List<AclEntry>> asAclAttribute(final List<AclEntry> acl) {
102 return new FileAttribute<List<AclEntry>>() {
[all...]
/openjdk7/jdk/src/share/classes/java/security/acl/
H A DAcl.java37 * entries. Each ACL entry, of interface type AclEntry, contains a
84 * @see java.security.acl.AclEntry
139 public boolean addEntry(Principal caller, AclEntry entry)
155 public boolean removeEntry(Principal caller, AclEntry entry)
207 * the enumeration is of type AclEntry.
211 public Enumeration<AclEntry> entries();
H A DAclEntry.java54 public interface AclEntry extends Cloneable { interface in inherits:Cloneable
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/
H A DAclImpl.java33 import java.security.acl.AclEntry;
46 * AclEntry, contains a set of permissions and a set of communities associated with a
58 private Vector<AclEntry> entryList = null;
69 entryList = new Vector<AclEntry>();
116 public boolean addEntry(Principal caller, AclEntry entry)
125 AclEntry ent = (AclEntry) e.nextElement();
145 * @see java.security.acl.AclEntry
147 public boolean removeEntry(Principal caller, AclEntry entry)
190 for (Enumeration<AclEntry>
[all...]
H A DAclEntryImpl.java38 import java.security.acl.AclEntry;
46 * @see java.security.acl.AclEntry
49 class AclEntryImpl implements AclEntry, Serializable {
207 return "AclEntry:"+princ.toString();
H A DSnmpAcl.java44 import java.security.acl.AclEntry;
106 AclEntry ownEntry = new AclEntryImpl(owner);
125 * enumeration is of type <CODE>java.security.acl.AclEntry</CODE>.
233 AclEntry ownEntry = new AclEntryImpl(owner);
/openjdk7/jdk/src/share/classes/sun/security/acl/
H A DAclImpl.java43 private Hashtable<Principal, AclEntry> allowedUsersTable =
45 private Hashtable<Principal, AclEntry> allowedGroupsTable =
47 private Hashtable<Principal, AclEntry> deniedUsersTable =
49 private Hashtable<Principal, AclEntry> deniedGroupsTable =
103 public synchronized boolean addEntry(Principal caller, AclEntry entry)
109 Hashtable<Principal, AclEntry> aclTable = findTable(entry);
129 public synchronized boolean removeEntry(Principal caller, AclEntry entry)
135 Hashtable<Principal, AclEntry> aclTable = findTable(entry);
138 AclEntry o = aclTable.remove(key);
245 public synchronized Enumeration<AclEntry> entrie
[all...]
H A DAclEntryImpl.java38 public class AclEntryImpl implements AclEntry {
163 * Clones an AclEntry.
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsSecurityDescriptor.java112 private WindowsSecurityDescriptor(List<AclEntry> acl) throws IOException {
116 acl = new ArrayList<AclEntry>(acl);
125 for (AclEntry entry: acl) {
153 AclEntry entry = acl.get(i);
200 // decode Windows ACE to NFSv4 AclEntry
201 private static AclEntry decode(long aceAddress)
263 return AclEntry.newBuilder()
269 // encode NFSv4 AclEntry as Windows ACE to given ACL
270 private static void encode(AclEntry ace, long sidAddress, long aclAddress)
332 static WindowsSecurityDescriptor create(List<AclEntry> ac
[all...]
H A DWindowsAclFileAttributeView.java137 public List<AclEntry> getAcl()
211 public void setAcl(List<AclEntry> acl) throws IOException {
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DSolarisAclFileAttributeView.java94 private static void encode(List<AclEntry> acl, long address) {
96 for (AclEntry ace: acl) {
200 private static List<AclEntry> decode(long address, int n) {
201 ArrayList<AclEntry> acl = new ArrayList<>(n);
283 AclEntry ace = AclEntry.newBuilder()
305 public List<AclEntry> getAcl()
336 public void setAcl(List<AclEntry> acl) throws IOException {
344 acl = new ArrayList<AclEntry>(acl);
/openjdk7/jdk/src/share/sample/nio/file/
H A DAclEdit.java103 static AclEntry parseAceString(String s,
165 return AclEntry.newBuilder()
256 List<AclEntry> acl = view.getAcl();
269 AclEntry entry = parseAceString(entryString, file
297 AclEntry entry = parseAceString(entryString, file
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DAbstractAclFileAttributeView.java57 setAcl((List<AclEntry>)value);
/openjdk7/jdk/test/java/nio/file/Files/
H A DMisc.java304 List<AclEntry> acl = view.getAcl();
307 AclEntry entry = AclEntry.newBuilder()
H A DCheckPermissions.java685 List<AclEntry> acl = view.getAcl();
/openjdk7/jdk/make/java/nio/
H A DFILES_java.gmk126 java/nio/file/attribute/AclEntry.java \

Completed in 98 milliseconds