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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
get
(ThriftConnectionType type) void
serve()
void
stop()
void
stopTlsServer
(ThriftConnectionType tlsConnectionType) boolean
Check if worker tokens are supported by any one of the thrift servers.
-
Constructor Details
-
MultiThriftServer
-
-
Method Details
-
add
-
serve
public void serve() -
stop
public void stop() -
stopTlsServer
-
supportsWorkerTokens
public 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
-