- 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.
- 社會(huì)科學(xué)數(shù)據(jù)處理軟件應(yīng)用
- 商用級(jí)AIGC繪畫(huà)創(chuàng)作與技巧(Midjourney+Stable Diffusion)
- 設(shè)計(jì)模式之禪(第2版)
- CorelDRAW X5實(shí)用教程(第2版)
- NHibernate 3.0 Cookbook
- Drupal 6 Content Administration
- Adobe創(chuàng)意大學(xué)Photoshop產(chǎn)品專家認(rèn)證標(biāo)準(zhǔn)教材(CS6修訂版)
- Liferay Portal Systems Development
- Photoshop CC設(shè)計(jì)與應(yīng)用任務(wù)教程
- Service Oriented Architecture with Java
- WS/BPEL 2.0 for SOA Composite Applications with Oracle SOA Suite 11g
- Revit 2022中文版完全自學(xué)一本通
- Panda3d 1.7 Game Developer's Cookbook
- SolidWorks 2020中文版入門(mén)、精通與實(shí)戰(zhàn)
- AutoCAD 2018中文版從入門(mén)到精通(標(biāo)準(zhǔn)版)