Class DelegationTokenTool
java.lang.Object
org.apache.zookeeper.server.token.DelegationTokenTool
Delegation token generator.
The primary mode (--server) connects to the ensemble as a SASL
client (JAAS configuration comes from the environment, like any ZooKeeper
client) and requests a live token via getDelegationToken. The offline mode
(--secret-file) derives a token directly from the master key; such
a token is absent from the replicated store and is rejected by servers, so
it is useful only for diagnostics.
-
Method Summary
-
Method Details
-
main
-
run
- Throws:
IOException
-