Updated java core for dynamic credentials