Interface Grantee

All Known Implementing Classes:
CanonicalGrantee, EmailAddressGrantee, GroupGrantee

public interface Grantee
Represents a grantee (entity) that can be assigned access permissions in an AccessControlList. All grantees have an ID of some kind, though the format of the ID can differ depending on the kind of grantee.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the identifier for this grantee.
    Returns the identifier for the type of this grant, to be used when specifying grants in the header of a request.
    void
    Sets the identifier for this grantee.
  • Method Details

    • getTypeIdentifier

      String getTypeIdentifier()
      Returns the identifier for the type of this grant, to be used when specifying grants in the header of a request.
    • setIdentifier

      void setIdentifier(String id)
      Sets the identifier for this grantee. The meaning of the identifier is specific to each implementation of the Grantee.
      Parameters:
      id - The identifier for this grantee.
      See Also:
    • getIdentifier

      String getIdentifier()
      Gets the identifier for this grantee. The meaning of the grantee identifier is specific to each implementation of the Grantee.
      Returns:
      The identifier for this grantee.
      See Also: