Uses of Record Class
com.tnsai.security.AccessSubject
Packages that use AccessSubject
Package
Description
Action execution framework for agent tool/function calling.
Security SPI contracts and human-in-the-loop approval for TnsAI agents.
-
Uses of AccessSubject in com.tnsai.actions
Methods in com.tnsai.actions with parameters of type AccessSubjectModifier and TypeMethodDescriptionvoidActionExecutor.configureExecution(AccessSubject agent) Bind the actual executing agent once at trusted host startup.voidActionExecutor.configureExecution(AccessSubject agent, Function<Object, String> targetSystem) Optional target-system lookup supports the existing AuthorityScope system bounds. -
Uses of AccessSubject in com.tnsai.security
Methods in com.tnsai.security that return AccessSubjectModifier and TypeMethodDescriptionInvocationContext.actor()AccessRequest.executingAgent()Returns the value of theexecutingAgentrecord component.InvocationContext.executingAgent()Methods in com.tnsai.security that return types with arguments of type AccessSubjectMethods in com.tnsai.security with parameters of type AccessSubjectModifier and TypeMethodDescriptionstatic InvocationContextInvocationContext.autonomous(AccessSubject executingAgent, String executorId, AuthorityScope authority) Use only for the actual agent's own initiative, never for forwarded or human work.static InvocationContextInvocationContext.autonomous(AccessSubject executingAgent, String executorId, AuthorityScope authority, AgentPrincipal principal) InvocationContext.autonomous(AccessSubject, String, AuthorityScope)whose dispatches are attributed toprincipal.voidAccessGate.configure(AccessSubject agent, Function<Object, String> targetSystem) Bind the actual host agent, independently of its executor principal.InvocationContext.delegateTo(AccessSubject nextAgent, String nextExecutorId, AuthorityScope nextAuthority) Trusted host transfer to the actual recipient agent.static InvocationContextInvocationContext.otherAgent(AccessSubject callerAgent, AccessSubject executingAgent, String executorId, AuthorityScope authority) Trusted peer ingress.static InvocationContextInvocationContext.otherAgent(AccessSubject callerAgent, AccessSubject executingAgent, String executorId, AuthorityScope authority, AgentPrincipal principal) InvocationContext.otherAgent(AccessSubject, AccessSubject, String, AuthorityScope)whose dispatches are attributed toprincipal.booleanAccessSubject.sameIdentity(AccessSubject other) static InvocationContextInvocationContext.user(AccessSubject human, AccessSubject executingAgent, String executorId, AuthorityScope authority) Host-owned human interaction boundary; the subject may be a stable anonymous chat identity.static InvocationContextInvocationContext.user(AccessSubject human, AccessSubject executingAgent, String executorId, AuthorityScope authority, AgentPrincipal principal) InvocationContext.user(AccessSubject, AccessSubject, String, AuthorityScope)whose dispatches are attributed toprincipal.Constructors in com.tnsai.security with parameters of type AccessSubjectModifierConstructorDescriptionAccessRequest(String actionName, ActionType actionType, Object target, AccessDeclaration declaration, InvocationContext invocation, AgentPrincipal executor, AuthorityScope authority, AccessSubject executingAgent, String targetSystem, String bindingFingerprint, String partitionFingerprint) Creates an instance of aAccessRequestrecord class. -
Uses of AccessSubject in com.tnsai.tools.method
Methods in com.tnsai.tools.method with parameters of type AccessSubjectModifier and TypeMethodDescriptionvoidToolMethodDispatcher.configureExecution(AgentPrincipal principal, AuthorityScope authority, AccessSubject agent)