Home
last modified time | relevance | path

Searched refs:UserPrincipal (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/attribute/
DAclEntry.java67 private final UserPrincipal who;
76 UserPrincipal who, in AclEntry()
100 private UserPrincipal who;
105 UserPrincipal who, in Builder()
153 public Builder setPrincipal(UserPrincipal who) { in setPrincipal()
297 public UserPrincipal principal() { in principal()
DFileOwnerAttributeView.java76 UserPrincipal getOwner() throws IOException; in getOwner()
100 void setOwner(UserPrincipal owner) throws IOException; in setOwner()
DGroupPrincipal.java42 public interface GroupPrincipal extends UserPrincipal { }
DUserPrincipal.java54 public interface UserPrincipal extends Principal { } interface
DPosixFileAttributes.java52 UserPrincipal owner(); in owner()
DUserPrincipalLookupService.java78 public abstract UserPrincipal lookupPrincipalByName(String name) in lookupPrincipalByName()
/libcore/ojluni/src/main/java/sun/nio/fs/
DFileOwnerAttributeViewImpl.java65 setOwner((UserPrincipal)value); in setAttribute()
87 public UserPrincipal getOwner() throws IOException { in getOwner()
96 public void setOwner(UserPrincipal owner) in setOwner()
DUnixUserPrincipals.java43 static class User implements UserPrincipal {
163 static UserPrincipal lookupUser(String name) throws IOException { in lookupUser()
DUnixFileAttributeViews.java175 setOwner((UserPrincipal)value); in setAttribute()
264 public void setOwner(UserPrincipal owner) in setOwner()
278 public UserPrincipal getOwner() throws IOException { in getOwner()
DUnixFileAttributes.java57 private volatile UserPrincipal owner;
192 public UserPrincipal owner() { in owner()
DUnixSecureDirectoryStream.java547 public UserPrincipal getOwner() throws IOException { in getOwner()
552 public void setOwner(UserPrincipal owner) in setOwner()
DUnixFileSystem.java327 public UserPrincipal lookupPrincipalByName(String name)
/libcore/luni/src/test/java/libcore/java/nio/file/attribute/
DAclEntryTest.java24 import java.nio.file.attribute.UserPrincipal;
38 UserPrincipal user = Files.getOwner(Paths.get(".")); in testGetters()
61 UserPrincipal user = Files.getOwner(Paths.get(".")); in testBuilder()
/libcore/ojluni/src/test/java/nio/file/attribute/
DPosixFileAttributeViewTest.java260 UserPrincipal owner = (UserPrincipal)Files.getAttribute(file, "posix:owner"); in ownerTests()
262 UserPrincipal group = (UserPrincipal)Files.getAttribute(file, "posix:group"); in ownerTests()
289 UserPrincipal owner = lookupService.lookupPrincipalByName(attrs.owner().getName()); in lookupPrincipalTests()
/libcore/ojluni/src/main/java/java/nio/file/
DFiles.java58 import java.nio.file.attribute.UserPrincipal;
2074 public static UserPrincipal getOwner(Path path, LinkOption... options) throws IOException {
2120 public static Path setOwner(Path path, UserPrincipal owner)
/libcore/api/
Dcurrent.txt7383 …method public static java.nio.file.attribute.UserPrincipal getOwner(java.nio.file.Path, java.nio.f…
7418 …va.nio.file.Path setOwner(java.nio.file.Path, java.nio.file.attribute.UserPrincipal) throws java.i…
7606 method public java.nio.file.attribute.UserPrincipal principal();
7616 …ublic java.nio.file.attribute.AclEntry.Builder setPrincipal(java.nio.file.attribute.UserPrincipal);
7704 method public java.nio.file.attribute.UserPrincipal getOwner() throws java.io.IOException;
7705 method public void setOwner(java.nio.file.attribute.UserPrincipal) throws java.io.IOException;
7721 public interface GroupPrincipal extends java.nio.file.attribute.UserPrincipal {
7733 method public java.nio.file.attribute.UserPrincipal owner();
7763 public interface UserPrincipal extends java.security.Principal {
7769 …method public abstract java.nio.file.attribute.UserPrincipal lookupPrincipalByName(String) throws …
/libcore/
Dopenjdk_java_files.bp539 "ojluni/src/main/java/java/nio/file/attribute/UserPrincipal.java",
DEXPECTED_UPSTREAM528 …java/nio/file/attribute/UserPrincipal.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java/n…