Authenticating Users with Zend Auth

You will use the Zend_Auth component to handle user authentication for this CMS project. It provides an authentication API that is implemented using authentication adapters. These adapters implement the Zend_Auth_Adapter_Interface interface, which standardize the authentication methods regardless of the method you employ.

The framework comes with a number of concrete auth adapters for common authentication methods that include:

• Database table authentication: This adapter authenticates against a database table.

• Digest authentication: Digest authentication is an improved method of HTTP authentication that does not transmit the password in plain text across the network.

• LDAP authentication: This method authenticates LDAP services.

• Open ID: Open ID authentication creates a single digital identity that can be used across the Internet.

You will use Zend_Auth_Adapter_DbTable since you're storing the site users and their credentials in a database table already.

Was this article helpful?

0 0

Post a comment