Console Command For Rbac

I am trying to create a new command for yiic shell.

I have create a new class named "RbacCommand".

It extends CConsoleCommand.

It overrides the run() function.

When i run the help of yiic shell, it recognizes the new command (rbac).

When i try to run it, this message appears:

exception ‘CException’ with message ‘Property “RbacCommand.” is not defined.’ in c:\xampp\htdocs\yii\framework\base\CComponent.php:174

I’ve tried to put my class script (RbacCommad.php) to files

protected\commands or


Also, i’ve tried to configure the main.php and console.php















i’ve put authManager inside componets.

Always the same message. Any thoughts? Thank you.