Class SaslQuorumServerCallbackHandler
java.lang.Object
org.apache.zookeeper.server.quorum.auth.SaslQuorumServerCallbackHandler
- All Implemented Interfaces:
CallbackHandler
This is used by the SASL mechanisms to get further information to complete
the authentication. For example, a SASL mechanism might use this callback
handler to do verification operation. This is used by the QuorumServer to
perform the mutual quorum peer authentication.
-
Constructor Summary
ConstructorsConstructorDescriptionSaslQuorumServerCallbackHandler
(AppConfigurationEntry[] configurationEntries, Set<String> authzHosts) -
Method Summary
-
Constructor Details
-
SaslQuorumServerCallbackHandler
public SaslQuorumServerCallbackHandler(AppConfigurationEntry[] configurationEntries, Set<String> authzHosts)
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
UnsupportedCallbackException
-