public Authenticator previousAuthenticator() {
        return previousAuthenticator;
    }
Return the always non-null {@link Authenticator} that was previously used to
authenticate the channel

@return the always non-null {@link Authenticator} that was previously used to
        authenticate the channel
clients/src/main/java/org/apache/kafka/common/network/ReauthenticationContext.java