public boolean validatePassword(String password) throws IllegalAccessError, SocketTimeoutException {
		boolean answer = false;
		try {
			clientSocket.Escribir("CLAVE " + password + '\n');
			serverAnswer = clientSocket.Leer();
		} catch (IOException e) {
			throw new SocketTimeoutException();
		}
		if(serverAnswer != null) {
			if(serverAnswer.contains("OK")) {
				answer = true;
			} else if(serverAnswer.contains("599 ERR")) {
				throw new IllegalAccessError();
			}
			System.out.println(serverAnswer);
		}
		return answer;
	}