In this Cakephp 2.0 Auth Component Tutorial I walk you through building an authentication system in Cakephp 2.0. We will register users, hash/encrypt passwords, do password validation, password/confirm matching, authorization so users can't edit other user's profiles, and role authorization.
I've included both starting and final source code, as well as the initial SQL to set up the users table for you if you'd like to follow along with the video at my site:
http://www.andrews-custom-web-design.com/cakephp.html