Authentication only for Admin prefix

Hy guys!

I haven’t been using Cake from gen 2 so i am a bit stuck with all the new stuff. I added the Authentication Component to my project and it works fine (login/out/pass hash etc) but i can’t seem to find how to make only the “Admin” prefix to require Authentication.

In the old times was something “simple” like:

if($this->params[‘prefix’] == ‘admin’){
$this->Auth->deny(’*’);
}

Hi.
Did you found a nice solution ?