Hi,

I am trying to build a full working example for the usage of
Zend\Authentication\Adapter\Http. The following is located in a view
script (for demonstration purpose):

http://pastebin.com/6tPXf8yA

When I run the script the authentication prompt pops up and askes for
user and password. When I enter them I always get this result:

----------------------------------------------------------------------
object(Zend\Authentication\Result)#190 (3) {
  ["code":protected] => int(-3)
  ["identity":protected] => array(0) {
  }
  ["messages":protected] => array(1) {
    [0] => string(49) "Invalid or absent credentials; challenging client"
  }
}
----------------------------------------------------------------------

So, the credentials seem to be wrong. I used luigi/mamma.

My basic password file looks like:
luigi:$apr1$AlYi5Ozg$k4dVcqYjaBTA7/PdAm5v10

My digest password file looks like:
luigi:Luigis Pizza-Service:ca896ab7ee1b93c08b76c9adb996813e

I created the basic password file with htpasswd and the hash for the
digest is:

    md5('luigi:Luigis Pizza-Service:mamma');

What is going wrong here? Are the credentials really wrong? Or am I
doing another mistake?

Thanks,

Ralf

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to