What is the difference between asylum and aliens law?

 In

Aliens law deals with the entry and residence of people in Germany who are not German citizens. It controls issues concerning abode, the possibility of working and social assistance.

Asylum law controls the recognition of refugee status and the residence permit associated with it.