com.tibco.tea.agent.api

## Class TeaPrincipal

- java.lang.Object
- - com.tibco.tea.agent.api.TeaPrincipal

- All Implemented Interfaces:
    Serializable, Principal

      public class TeaPrincipal
      extends Object
      implements Principal, Serializable

  The Principal implementation representing the logged in user on the TEA server, performing actions/operations.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TeaPrincipal(String userId)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getName()`
    `void` | `setSamlToken(String samlToken)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.security.Principal

      `equals, hashCode, implies, toString`

- - ### Constructor Detail

    - #### TeaPrincipal

          public TeaPrincipal(String userId)

  - ### Method Detail

    - #### getName

          public String getName()

      Specified by:
        `getName` in interface `Principal`

    - #### setSamlToken

          public void setSamlToken(String samlToken)

Copyright © 2022 TIBCO Software Inc.. All Rights Reserved.