Class Initiator

java.lang.Object
com.strongdm.api.Initiator

public class Initiator extends Object
An Initiator describes who established the connection to the resource, as classified by the local StrongDM client.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    A stable identifier of the AI Agent that established the connection, e.g.
    boolean
    Indicates whether the initiator detection is trusted, meaning it cannot be spoofed by the end user.
    The kind of initiator, one of the InitiatorType constants: "ai_agent" when a supported AI Agent was detected, "human" when no supported AI Agent was detected, or "unknown" when the client could not determine the initiator.
    The version of the AI Agent, when it could be determined.
    void
    A stable identifier of the AI Agent that established the connection, e.g.
    void
    setTrusted(boolean in)
    Indicates whether the initiator detection is trusted, meaning it cannot be spoofed by the end user.
    void
    The kind of initiator, one of the InitiatorType constants: "ai_agent" when a supported AI Agent was detected, "human" when no supported AI Agent was detected, or "unknown" when the client could not determine the initiator.
    void
    The version of the AI Agent, when it could be determined.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Initiator

      public Initiator()
  • Method Details

    • getAiAgent

      public String getAiAgent()
      A stable identifier of the AI Agent that established the connection, e.g. "claude-code". Empty unless type is "ai_agent".
    • setAiAgent

      public void setAiAgent(String in)
      A stable identifier of the AI Agent that established the connection, e.g. "claude-code". Empty unless type is "ai_agent".
    • getTrusted

      public boolean getTrusted()
      Indicates whether the initiator detection is trusted, meaning it cannot be spoofed by the end user.
    • setTrusted

      public void setTrusted(boolean in)
      Indicates whether the initiator detection is trusted, meaning it cannot be spoofed by the end user.
    • getType

      public String getType()
      The kind of initiator, one of the InitiatorType constants: "ai_agent" when a supported AI Agent was detected, "human" when no supported AI Agent was detected, or "unknown" when the client could not determine the initiator.
    • setType

      public void setType(String in)
      The kind of initiator, one of the InitiatorType constants: "ai_agent" when a supported AI Agent was detected, "human" when no supported AI Agent was detected, or "unknown" when the client could not determine the initiator.
    • getVersion

      public String getVersion()
      The version of the AI Agent, when it could be determined.
    • setVersion

      public void setVersion(String in)
      The version of the AI Agent, when it could be determined.