Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Securing portlets from unauthorized access in a web portal is important, and it must be considered for any portlet application. In this section, we’ll only discuss the programmatic approach to securing portlets. In chapter 5, you’ll see how the portal server can help address security concerns without requiring you to write a single line of code.
The PortletRequest interface defines the following methods that can be used to programmatically secure your portlets: