Chapter 7. SiteMap and access control
This chapter covers
- Access control functionality
- Menu generation
- Building custom location parameters
- HTTP authorization
SiteMap offers you granular page-level security, a tidy DSL for defining application structure, and an automatic way to generate user navigation. Bearing in mind Lift’s view-first architecture and the way in which snippets are executed in a given page request, there’s nothing to effectively control access or execute code before the page (and its snippets) start to load. This is where SiteMap fits in, architecturally speaking.
Everything within the SiteMap is related to what is known as a location, or Loc for short. These locations typically represent pages that have a corresponding ...
Get Lift in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.