You can configure authentication handlers in your controller's beforeFilter or, in the Basic setup $this->Auth->authenticate = array('Form'); // Pass settings in .. The third parameter of DigestAuthenticate::password() must match the 'realm' .