Package com.strongdm.api
Class Initiator
java.lang.Object
com.strongdm.api.Initiator
An Initiator describes who established the connection to the resource, as classified by
the local StrongDM client.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA stable identifier of the AI Agent that established the connection, e.g.booleanIndicates whether the initiator detection is trusted, meaning it cannot be spoofed by the end user.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.The version of the AI Agent, when it could be determined.voidsetAiAgent(String in) A stable identifier of the AI Agent that established the connection, e.g.voidsetTrusted(boolean in) Indicates whether the initiator detection is trusted, meaning it cannot be spoofed by the end user.voidThe 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.voidsetVersion(String in) The version of the AI Agent, when it could be determined.
-
Constructor Details
-
Initiator
public Initiator()
-
-
Method Details
-
getAiAgent
A stable identifier of the AI Agent that established the connection, e.g. "claude-code". Empty unless type is "ai_agent". -
setAiAgent
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
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
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
The version of the AI Agent, when it could be determined. -
setVersion
The version of the AI Agent, when it could be determined.
-