access control custom messages

I have restricted access to controllers for non authorized users



  'message'=>'Please, authorize first!'


and I every time a user attempt to access those controllers I want to show him a custom message: "Please, authorize first!"

How can I do this? Thanks!

create filter in class Controller (file protected/components/Controller.php)

public function filters()


        return array( 	'accessControl', // perform access control for CRUD operations



Then, in accesRules in Controller, allow all users to perform SiteController controller and it’s login action, allow all authorized users to perform all controllers, and then deny all controllers from all users.