CAS-1418: Javadoc update, and reused the credential instance post transform