credentials replaced with java properties