jaas: fix java6 compatibility