Package org.apache.storm.security.auth
Class MultiThriftServer<T extends ThriftServer>
java.lang.Object
org.apache.storm.security.auth.MultiThriftServer<T>
Manage a collection of 
ThriftServer. This class itself is not thread-safe.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidget(ThriftConnectionType type) voidserve()voidstop()voidstopTlsServer(ThriftConnectionType tlsConnectionType) booleanCheck if worker tokens are supported by any one of the thrift servers.
- 
Constructor Details- 
MultiThriftServer
 
- 
- 
Method Details- 
add
- 
servepublic void serve()
- 
stoppublic void stop()
- 
stopTlsServer
- 
supportsWorkerTokenspublic boolean supportsWorkerTokens()Check if worker tokens are supported by any one of the thrift servers.- Returns:
- true if any thrift server supports Worker Tokens.
 
- 
get
 
-