<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setCredentials(self, user, password):
 """! Set authentication credentials. @param user Username. @param password Password. """

        self._checkUserAndPass(user, password)
        self.user = user
        self.password = password