- CakePHP 1.3 Application Development Cookbook
- Mariano Iglesias
- 206字
- 2021-04-09 22:04:13
This chapter will cover the following topics:
- Setting up a basic authentication system
- Using and configuring the
Auth
component - Allowing logins with e-mail or username
- Saving the user details after login
- Getting the current user's information
- Using prefixes for role-based access control
- Setting up Access Control Layer based authentication
- Integrating with OpenID
This chapter explains how to set up authentication on a CakePHP application, starting from the most basic setup and finishing with advanced authorization mechanisms. This is accomplished through the use of tools that are built into the framework core, which allow us to quickly set up secure areas without losing flexibility to build more complex solutions.
The first two recipes show us how to set up a basic, yet fully working authentication system. The next three recipes allow our users to log in using different information, have their user details saved after a successful login, and show us how to get this user information. The sixth recipe shows a more complex authorization technique that relies on route prefixes. The seventh recipe sets up a complex authentication system through the use of CakePHP's Access Control Layer. Finally, the last recipe shows us how to integrate our application with OpenID.
- WordPress 2.7 Cookbook
- JasperReports for Java Developers
- Photoshop CC超級學習手冊
- AutoCAD 2014 中文版從入門到精通
- Illustrator CC 2018中文版入門與提高
- 大規模組織DevOps實踐
- Tomcat 6 Developer's Guide
- Android User Interface Development: Beginner's Guide
- 中文版3ds Max 2022基礎教程
- 中文版AutoCAD 2022從入門到精通
- Photoshop CS6平面設計實戰從入門到精通(經典暢銷版)
- 跨境電商:速賣通搜索排名規則解析與SEO技術
- Photoshop+Illustrator+CorelDRAW一站式高效學習一本通
- Maya Paint Effect 特效應用手冊
- 中文版Photoshop CC 2018基礎培訓教程(全彩版)