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
0
votes
2 answers

Zend: Overwriting "GetIdentity"?

I want to change the zendAuth GetIdentity function so that it updates the session before the result is returned. How would you go about doing this?
rockstardev
  • 13,479
  • 39
  • 164
  • 296
0
votes
1 answer

Zend_Auth_Adapter_DbTable and MariaDb does not work?

I recently migrate my Zend Application to MariaDb. She was on MySQL. However, i actualy this message when user authenticates : The supplied parameters to Zend_Auth_Adapter_DbTable failed to produce a valid sql statement, please check table and…
Bastien D
  • 1,395
  • 2
  • 14
  • 26
0
votes
2 answers

Multi Login ZF2 with multi session

I have an application with 3 different logins (3 different dashboard). Not to write duplicate code I created an adapter and a plugin to login. Now how can I manage 3 different sessions. If I run in to login Login 1 must also be signed on dashboard 2…
Carol Casta
  • 75
  • 1
  • 9
0
votes
0 answers

Working locally with apache won't authenticate user

I'm using LAMP and Zend for server side web dev. In my sign up process I have one step the user must pass after submitting the sign up form and before he gets his private user page. After form validation the user gets a session and is redirected to…
0
votes
1 answer

set timeout for session using zend

How do you renew a session everytime a user requests a page?I am using the code below but does not seem to be working. $zend_authNS = new Zend_Session_Namespace('Zend_Auth'); $zend_authNS->setExpirationSeconds( 3600); This will expire the no matter…
zeid10
  • 511
  • 8
  • 28
0
votes
1 answer

Zend_Auth and profile edit

After logging user in I make some operations on his account. After that I want to update his data held bu Zend_Auth. How can I update all data at once, and not one by one which I know how to do it?
0
votes
2 answers

Zend_Auth: How to check role in addition to username and password?

I want my 'users' table in my database to contain users of all different levels (members, moderators, admins, etc). So a column in my 'users' table is role. I want to be able to check the role to see if they have permission to log in to special…
Andrew
  • 227,796
  • 193
  • 515
  • 708
0
votes
2 answers

How to append data to Zend_Auth object

Good Day to All, I have the following code which appends stores data to Zend_Auth object $auth = Zend_Auth::getInstance(); $dbAdapter = Zend_Db_Table::getDefaultAdapter(); $authAdapter = new Zend_Auth_Adapter_DbTable( …
Archer
  • 1,152
  • 4
  • 12
  • 34
0
votes
0 answers

Dealing with Zend Auth Data when using zend modules

I am working on zend module based structure for my project. As Zend_Auth class' default session storage is Zend_Auth. I changed according to module being called. Say for admin I use auth namespace Admin_Auth and for default module i use namespace…
0
votes
2 answers

Can (and should?) Zend_Auth return class as the Identity?

I have a class R00_Model_User, which, curiously enough, represents user as he is. Can $result->getIdentity() return me an object of this class? (Or maybe it's stupid?) (There is a factory method in R00_Model_User which prevents from duplicating…
Valentin Golev
  • 9,965
  • 10
  • 60
  • 84
0
votes
1 answer

How to log expiration time when a user session expired in Zend Auth

I want to add user logins and logout/session expiration info into database, Its easy for normal login and logout, but I couldn’t figure out how to proceed with automatic session expirations. My authentication works like below. My Login controller…
Rohith Raveendran
  • 410
  • 1
  • 6
  • 14
0
votes
1 answer

Zend DbTable case insensitive

I have a login system for my webapp that works well using the Zend auth adapter but the problem is I want the email to be case insensitive when a user logs in. I am using Oracle as the back end DB and normally I would user the…
Kal
  • 2,239
  • 6
  • 36
  • 74
0
votes
2 answers

Zend_Auth: not working, getDbSelect() is empty

my authentication fails and when i try to getDbSelect() i get nothing ... what did i do wrong? class AuthController extends Zend_Controller_Action { protected $auth; public function init() { $db =…
iceangel89
  • 6,113
  • 8
  • 40
  • 55
0
votes
1 answer

ZEND_ACL solution in the module based application

I'm developing an application on ZF. I've faced a huge unsolvable problem - ZEND_Acl It's unsolvable for me because every article that I found doesn't relate to MODULE based applications. lately I discovered packtpub article that described using ACL…
mrGott
  • 1,066
  • 3
  • 18
  • 53
0
votes
1 answer

Error using _redirect function on ubuntu

I am developing a system in Zend Framework and I implemented user/rol authentication using Zend_Auth for security and it work receiving user/password information and return the Model User with each user's rol. In my global layout, I have a big…
Guido
  • 103
  • 12