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
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
getDefaultSubject
protected Subject getDefaultSubject()
Description copied from class:SimpleTransportPlugin
Get default subject.- Overrides:
getDefaultSubject
in classSimpleTransportPlugin
- Returns:
- the subject that will be used for all connections
-
-