Class UserSelection

java.lang.Object
org.neo4j.ogm.config.UserSelection

public final class UserSelection extends Object
  • Method Details

    • connectedUser

      public static UserSelection connectedUser()
      Returns:
      A user selection that will just use the user owning the physical connection.
    • impersonate

      public static UserSelection impersonate(String value)
      Parameters:
      value - The name of the user to impersonate
      Returns:
      A user selection representing an impersonated user.
    • getValue

      public String getValue()
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object