Shariah as you said means a path/way, this in the Islamic term means path taken from the sources of Islam i.e. Quran/Hadith etc for the people to follow.