use of org.jets3t.service.acl.CanonicalGrantee in project alluxio by Alluxio.
the class GCSUtilsTest method before.
@Before
public void before() throws Exception {
// Setup owner.
mUserGrantee = new CanonicalGrantee(ID);
mUserGrantee.setDisplayName(NAME);
// Setup the acl.
mAcl = new GSAccessControlList();
mAcl.setOwner(new StorageOwner(ID, NAME));
}
use of org.jets3t.service.acl.CanonicalGrantee in project alluxio by Alluxio.
the class S3UtilsTest method before.
@Before
public void before() throws Exception {
// Setup owner.
mUserGrantee = new CanonicalGrantee(ID);
mUserGrantee.setDisplayName(NAME);
// Setup the acl.
mAcl = new AccessControlList();
mAcl.setOwner(new StorageOwner(ID, NAME));
}
Aggregations