The Verdict: Need More Info
Recognised refugees can naturalise after five years of legal residence instead of ten. Count five years from when your residence as a refugee began, and keep it continuous.
You will need the CCSE civics test and, unless you are a national of a Spanish-speaking country, DELE A2.
Applicants are normally asked for a criminal record certificate from their country of origin. For a refugee that can be impossible or dangerous to request, and there is established practice for dealing with it; raise it in the application rather than leaving a gap.
If you hold subsidiary protection rather than refugee status, the five-year rule may not apply, so confirm your status before counting on it.