Class SaslQuorumServerCallbackHandler
- java.lang.Object
-
- org.apache.zookeeper.server.quorum.auth.SaslQuorumServerCallbackHandler
-
- All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler
public class SaslQuorumServerCallbackHandler extends java.lang.Object implements javax.security.auth.callback.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(javax.security.auth.login.Configuration configuration, java.lang.String serverSection, java.util.Set<java.lang.String> authzHosts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handle(javax.security.auth.callback.Callback[] callbacks)
-
-
-
Method Detail
-
handle
public void handle(javax.security.auth.callback.Callback[] callbacks) throws javax.security.auth.callback.UnsupportedCallbackException
- Specified by:
handle
in interfacejavax.security.auth.callback.CallbackHandler
- Throws:
javax.security.auth.callback.UnsupportedCallbackException
-
-