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
Constructors -
Method Summary
Modifier 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
-
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
-