if(!"".equals(securityToken) && enableNode == null)

If you make it that way it is fine :)