Questions tagged [zend-auth]

A class provided by the Zend Framework, an open source, object oriented PHP5 framework provided by Zend. Zend Auth provides helper functions to authenticate site visitors against various sources.

Overview

Zend_Auth provides an API for authentication and includes concrete authentication adapters for common use case scenarios.

Zend_Auth is concerned only with authentication and not with authorization. Authentication is loosely defined as determining whether an entity actually is what it purports to be (i.e., identification), based on some set of credentials. Authorization, the process of deciding whether to allow an entity access to, or to perform operations upon, other entities is outside the scope of Zend_Auth.

Questions that should be tagged with zend-auth

  • Authenticating a user against with Zend Framework.
  • Various ways to integrate Zend_Auth with Zend_Acl.
  • Different types of backend authentications that can be used with Zend_Auth.
  • Zend_Auth and questions having to do with PHP sessions.

To learn more, visit:

http://framework.zend.com/manual/en/zend.auth.introduction.html

202 questions
1
vote
4 answers

Zend authenticate returns white screen

This is the most frustrating ever. It is nearly impossible to find errors when all you get is a white screen!!! This code is used on other projects and it works fine there so syntactically, it is correct. But SOMETHING must be wrong in the…
Doug Wolfgram
  • 2,064
  • 4
  • 27
  • 42
1
vote
1 answer

Zend session getting wiped with failed login

I have a problem with my Zend_Auth function. I have a web app that prompts a user with a login box when the key in the Zend_Auth session times out. When the user logs in with the correct credentials the key in the session is reset back to true.…
Perceptive
  • 13
  • 4
1
vote
2 answers

how to insert zend form values in two tables in zend?

i have two tables users and userslog where i have users contains id, username,email,gender and userslog contains id,firstname,lastname,designation and u_id which is foreign key of users table. my register controller class RegisterController…
1
vote
1 answer

Using Zend Auth with external authentication mechanism

I have a Drupal site and a Zend application. The main thing is the Drupal site, where the users are stored & everything. I want my users to be automatically logged in to the Zend app when they log in on Drupal. The problem is that Drupal changes the…
Eduard Luca
  • 6,514
  • 16
  • 85
  • 137
1
vote
1 answer

Zend_auth without mvc. How to get the users data

i'm new to zend and i almost understand how it works with the mvc, but i'm trying to use only zend_auth in a non mvc project. The login(auth) part works ( even if i'm not sure if it's the best way to do it), but i can't figure out how to get the…
re_ru
  • 129
  • 1
  • 1
  • 9
1
vote
1 answer

Zend framework: how to get user id form zend auth to zend form

I have a form comment. I want to get the user ID from Zend_Auth to insert into my database. How can I do it?
0
votes
1 answer

Authentication Failure with Zend_Auth and SME LDAP

I'm trying to connect a Zend application to an SME server running LDAP with an SQL backend. On every request I'm getting err=49, indicating an authentication failure, but the username/password combo I'm trying is correct. My Zend app's configs are…
Andrew Stewart
  • 710
  • 1
  • 6
  • 10
0
votes
2 answers

Zend_Db_Table_Row instance form Zend_Auth

I use Zend_Auth and Zend_Auth_Adapter_DbTable in my project. I want to get a Zend_Db_Table_Row instance from the Zend_Auth adapter (Zend_Auth_Adapter_DbTable). I haven't found any good solution. I need a Zend_Db_Table_Row instance because I use own…
Kacper Kołodziej
  • 698
  • 1
  • 9
  • 23
0
votes
2 answers

Zend_auth - Doctrine 2.2 - autoloading pbl

I've updating lib Doctrine 2.0 to 2.2 with Bisna lib. It works just fine, but i've got a problem with Zend_Session / zend_auth when Zend_Session::start() is called (into Boostrap.php). I've got a fatal error due to User's Proxy stocked in session. >…
bastien
  • 190
  • 1
  • 9
0
votes
1 answer

pass variable from one Action to Another Action In ZF

i have a situation like this public function loginAction(){ //my other code if(!empty($errorMessage)){ $this->view->assign('error',$errorMessage); } } public function authAction(){ //my other code …
Fawad Ghafoor
  • 6,039
  • 7
  • 41
  • 53
0
votes
1 answer

How can I use Zend_Auth with Zend_Json_Server?

Zend's JSON-RPC server doesn't seem to like sessions, and I can't seem to attach a session even by passing Zend_Session::getId() in to my RPC method and revive it with Zend_Session::setId($session_id) as I might expect. To illustrate what does NOT…
Stephen Fuhry
  • 12,624
  • 6
  • 56
  • 55
0
votes
1 answer

How to load or save Doctrine associated entity into Zend_Auth session

I am looking for some good solutions for a problem. I am usig Doctrine 2.1 integrated to Zend Framework. I am using Zend_Auth with Zend_Auth_Storage_Session where I have stored User's entity. But entity of User is associtad to other Entity =>…
vaclav_o
  • 1,705
  • 3
  • 15
  • 24
0
votes
2 answers

Zend_Auth quick and everywhere access to UserID

I have a Zend Application with user authentication. I need the UserID in nearly every action for database queries. Certainly I want to have quick access primarily in controllers but also in view scripts. The way I get so…
danijar
  • 32,406
  • 45
  • 166
  • 297
0
votes
1 answer

Zend_Auth no giving all info

I am having this issue with Zend and Doctrine and I am hoping someone can help me understand what I am doing wrong:- My login controller is as follow: .... if ($result->isValid()) { $session = new Zend_Session_Namespace('tcc.auth'); …
FFSS
  • 133
  • 2
  • 10
0
votes
1 answer

Email address as login username - PHP & Zend_Auth?

I read an article showing how to do it to login using username. Instead, I just want people to sign up and login using their email address since it is easier for them to remember. Hope you guys can help. I'm creating a blog for high school science…