InvocationOrigin
Keywords: net.corda.core.context.InvocationOrigin class
Date: 2023-09-18

net.corda.core.context

## Class InvocationOrigin

- net.corda.core.context.InvocationOrigin

- Direct Known Subclasses:
    InvocationOrigin.Peer, InvocationOrigin.RPC, InvocationOrigin.Scheduled, InvocationOrigin.Service, InvocationOrigin.Shell

      public class InvocationOrigin

  Represents the source of an action such as a flow start, an RPC, a shell command etc.

- - ### Method Detail

    - #### principal

          @NotNull
          public java.security.Principal principal()

      Returns the Principal for a given `class Actor`.

      See Also:
        Principal, `class Actor`