Example usage for com.amazonaws.services.s3.model GroupGrantee AuthenticatedUsers

List of usage examples for com.amazonaws.services.s3.model GroupGrantee AuthenticatedUsers

Introduction

In this page you can find the example usage for com.amazonaws.services.s3.model GroupGrantee AuthenticatedUsers.

Prototype

GroupGrantee AuthenticatedUsers

To view the source code for com.amazonaws.services.s3.model GroupGrantee AuthenticatedUsers.

Click Source Link

Document

Grants access to buckets or objects to anyone with an Amazon AWS account.

Usage

From source file:alluxio.underfs.s3a.S3AUtils.java

License:Apache License

private static boolean isUserIdInGrantee(Grantee grantee, String userId) {
    return grantee.getIdentifier().equals(userId) || grantee.equals(GroupGrantee.AllUsers)
            || grantee.equals(GroupGrantee.AuthenticatedUsers);
}