Package 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
  Description
  `SingleUserSimpleTransport()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### SingleUserSimpleTransport

    public SingleUserSimpleTransport()

- ## Method Details

  - ### 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