converting more groovy to java
authorize ping on the nodes (which is important if we are waiting for them to be pingable by the master)