fixing code on HornetQClusterSecurityException - matching with 2.3.x