Hi Cake Community,

Cakephp Version: 1.3.8
OS: Windows7
Experience: Newbie

I have a generel problem with the security component.

1.) well, i have following actions(add, edit) in my controller. If i
call in beforeFilter(), like this, $this->Security-
>requireAuth('add'), the requireAuth generated in edit view a
token_key too. Is that right or do i something wrong. According to
Cake-API: http://book.cakephp.org/view/1301/requireAuth may not
happen!

2.)  If i change the tokey_key and make a request i dont get a 404-
Page. It only shows a white/blank page. Somebody told me: set ur debug
mode to "o" and after then u get the 404-Page. Nothing works :(

3.) My Basic HTTP Authentication is not working right, too:

    public function beforeFilter() {

        $this->Security->requireLogin(
                'edit', 'add'
        );
        $this->Security->loginOptions = array(
                'type'  => 'basic',
                'realm' => 'MyRealm'
        );
        $this->Securtiy->loginUsers = array(
                'guest' => 'test'
        );
    }

The requireLogin('edit', 'add') works right but it is doesnt accept
username and passwort?  Why


Thanks

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to