According to BBC, the main measures of this law were:
Moreover, "landlords would be compelled to provide information about their tenants" according to The Guardian.
This law was widely criticized by journalists, human rights defenders and some lawyers.
The Coalition for Restoration of Democracy party, the main opposition movement, challenged the law before the High Court with the view that this law infringed Kenyan citizens' fundamental rights.
Early January 2015, a judge from the High Court in Nairobi decided to suspend the law on the ground that some provisions must be examined by the courts to ensure their compatibility with civil liberties.
A civil right is an enforceable right or privilege, which if interfered with by another gives rise to an action for injury. Examples of civil rights are freedom of speech, press, and assembly; the right to vote; freedom from involuntary servitude; and the right to equality in public places. Discrimination occurs when the civil rights of an individual are denied or interfered with because of their membership in a particular group or class. Various jurisdictions have enacted statutes to prevent discrimination based on a person's race, sex, religion, age, previous condition of servitude, physical limitation, national origin, and in some instances sexual orientation.
Source: Cornell University Law School