@SuppressWarnings("deprecation")
    @Deprecated
    public static MongoCredential createMongoCRCredential(final String userName, final String database, final char[] password) {
    """
	Creates a MongoCredential instance for the MongoDB Challenge Response protocol. Use this method only if you want to ensure that
	the driver uses the MONGODB_CR mechanism regardless of whether the server you are connecting to supports a more secure
	authentication mechanism.  Otherwise use the {@link #createCredential(String, String, char[])} method to allow the driver to
	negotiate the best mechanism based on the server version.
	
	@param userName the user name
	@param database the database where the user is defined
	@param password the user's password
	@return the credential
	@see #createCredential(String, String, char[])
	@mongodb.driver.manual core/authentication/#mongodb-cr-authentication MONGODB-CR
	@deprecated MONGODB-CR was replaced by SCRAM-SHA-1 in MongoDB 3.0, and is now deprecated. Use
	the {@link #createCredential(String, String, char[])} factory method instead.
    """
        return new MongoCredential(MONGODB_CR, userName, database, password);
    }
@SuppressWarnings("deprecation")
    @Deprecated
    public static MongoCredential createMongoCRCredential(final String userName, final String database, final char[] password) {
        return new MongoCredential(MONGODB_CR, userName, database, password);
    }
@ SuppressWarnings ( "deprecation" ) @ Deprecated public static MongoCredential createMongoCRCredential ( final String userName , final String database , final char [ ] password ) { return new MongoCredential ( MONGODB_CR , userName , database , password ) ; }
Creates a MongoCredential instance for the MongoDB Challenge Response protocol. Use this method only if you want to ensure that
the driver uses the MONGODB_CR mechanism regardless of whether the server you are connecting to supports a more secure
authentication mechanism.  Otherwise use the {@link #createCredential(String, String, char[])} method to allow the driver to
negotiate the best mechanism based on the server version.

@param userName the user name
@param database the database where the user is defined
@param password the user's password
@return the credential
@see #createCredential(String, String, char[])
@mongodb.driver.manual core/authentication/#mongodb-cr-authentication MONGODB-CR
@deprecated MONGODB-CR was replaced by SCRAM-SHA-1 in MongoDB 3.0, and is now deprecated. Use
the {@link #createCredential(String, String, char[])} factory method instead.
Creates a MongoCredential instance for the MongoDB Challenge Response protocol . Use this method only if you want to ensure that the driver uses the MONGODB_CR mechanism regardless of whether the server you are connecting to supports a more secure authentication mechanism . Otherwise use the { @link #createCredential ( String String char [] ) } method to allow the driver to negotiate the best mechanism based on the server version .