Class Actor

java.lang.Object
com.datahub.authentication.Actor

public class Actor extends Object
Represents a unique DataHub actor (i.e. principal). Defining characteristics of all DataHub Actors includes a

a) Actor Type: A specific type of actor, e.g. CORP_USER or SERVICE_USER. b) Actor Id: A unique id for the actor.

These pieces of information are in turn used to construct an Entity Urn, which can be used as a primary key to fetch and update specific information about the actor.

  • Constructor Details

    • Actor

      public Actor()
  • Method Details

    • toUrnStr

      @Nonnull public String toUrnStr()
      Returns:
      the string-ified urn rendering of the authenticated actor.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object