A survey on security in JXTA applications