A free and open-source book on ZF3 for beginners

16.10. Summary

In this chapter, we learned about user management, user authentication and access filtering.

User management means providing the UI for adding, editing, viewing users and changing their password.

Authentication is when a user provides his login and password and you decide whether these credentials are correct. ZF3 provides the special service called AuthenticationService that you can use for this purpose, but first you need to implement an authentication adapter.

Access filtering allows access to certain pages to authenticated users only. You can implement access filtering with the help of an event listener.