org.apache.storm.testing

## Class SingleUserSimpleTransport

- java.lang.Object
- - org.apache.storm.security.auth.SimpleTransportPlugin
  - - org.apache.storm.testing.SingleUserSimpleTransport

- All Implemented Interfaces:
    ITransportPlugin

      public class SingleUserSimpleTransport
      extends SimpleTransportPlugin

- - ### Field Summary

    - ### Fields inherited from class org.apache.storm.security.auth.SimpleTransportPlugin

      `topoConf, type`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SingleUserSimpleTransport()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected Subject` | `getDefaultSubject()` Get default subject.

    - ### Methods inherited from class org.apache.storm.security.auth.SimpleTransportPlugin

      `connect, getPort, getServer, prepare`

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

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

    - ### Methods inherited from interface org.apache.storm.security.auth.ITransportPlugin

      `areWorkerTokensSupported`

- - ### Constructor Detail

    - #### SingleUserSimpleTransport

          public SingleUserSimpleTransport()

  - ### Method Detail

    - #### getDefaultSubject

          protected Subject getDefaultSubject()

      Description copied from class: `SimpleTransportPlugin`

      Get default subject.

      Overrides:
        `getDefaultSubject` in class `SimpleTransportPlugin`
      Returns:
        the subject that will be used for all connections

Copyright © 2021 The Apache Software Foundation. All rights reserved.