concept register user in category java

appears as: registered users, registered user, The registered users, registered users, A registered user
Portlets in Action

This is an excerpt from Manning's book Portlets in Action.

  • Book Portal shows books in the catalog that are currently available to registered users of the portal. The book catalog can only be updated by the portal administrator. For each book in the catalog, the following information should be displayed to the registered user: title, author, ISBN, and a download link for the book. Registered users should be able to take a printout of the catalog if they choose. They should also be able to set their preference regarding the number of books they want to view on the page. The book catalog provides a search facility so users can easily locate books.
  • Liferay Portal, by default, assigns User and PowerUser roles to all users who register with the portal. In Book Portal, the registered users should get the default role of BookUser.

    To assign the default role of BookUser to registered users, select the Users option from the list of configuration options displayed on the Settings page, as shown in figure 5.36. Go to the Default User Associations configuration option, and specify BookUser as the default role of the user.

    Figure 5.36. The BookUser role is specified as the default role for users. You can associate multiple default roles with a registered user by specifying each role on a separate line.

    The Guest (or anonymous) users of the portal must not have access to the Catalog portal page. The registered users—those users with the BookUser role—should be able to access the Catalog portal page.