NullQuorumAuthLearner (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper.server.quorum.auth

## Class NullQuorumAuthLearner

- java.lang.Object
- - org.apache.zookeeper.server.quorum.auth.NullQuorumAuthLearner

- All Implemented Interfaces:
    QuorumAuthLearner

      public class NullQuorumAuthLearner
      extends Object
      implements QuorumAuthLearner

  This class represents no authentication learner, it just return without performing any authentication.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NullQuorumAuthLearner()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `authenticate(Socket sock, String hostname)` Performs an authentication step for the given socket connection.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NullQuorumAuthLearner

          public NullQuorumAuthLearner()

  - ### Method Detail

    - #### authenticate

          public void authenticate(Socket sock,
                                   String hostname)

      Description copied from interface: `QuorumAuthLearner`
      Performs an authentication step for the given socket connection.
      Specified by:
        `authenticate` in interface `QuorumAuthLearner`
      Parameters:
        `sock` - socket connection to other quorum peer server
        `hostname` - host name of other quorum peer server

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.