Class SaslQuorumServerCallbackHandler
- java.lang.Object
-
- org.apache.zookeeper.server.quorum.auth.SaslQuorumServerCallbackHandler
-
- All Implemented Interfaces:
CallbackHandler
public class SaslQuorumServerCallbackHandler extends Object implements 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
Constructors Constructor Description SaslQuorumServerCallbackHandler(Configuration configuration, String serverSection, Set<String> authzHosts)
-
-
-
Constructor Detail
-
SaslQuorumServerCallbackHandler
public SaslQuorumServerCallbackHandler(Configuration configuration, String serverSection, Set<String> authzHosts) throws IOException
- Throws:
IOException
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws UnsupportedCallbackException
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
UnsupportedCallbackException
-
-