Phew! We learned a lot of concepts in this chapter.
We saw how to use the authentication components on ZF2 to allow users to log in and log out on our application, and also to create custom adaptors to connect to different backends. After that, we saw how ACLs work, and how to store them and recreate them according to our needs. We also saw how to check if a specific user has appropriate rights to access a specific functionality.
In the next chapter, we will see how to send e-mails to users and implement the forgot password functionality to allow them to retrieve a password using the e-mail we send to them.