Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
IBM Websphere Portal 8: Web Experience Factory and the Cloud

You're reading from   IBM Websphere Portal 8: Web Experience Factory and the Cloud Build a comprehensive web portal for your company with a complete coverage of all the project lifecycle stages with this book and ebook.

Arrow left icon
Product type Paperback
Published in Sep 2012
Publisher Packt
ISBN-13 9781849684040
Length 474 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (27) Chapters Close

IBM WebSphere Portal 8: Web Experience Factory and the Cloud
Credits
1. Foreword
About the Authors
About the Reviewers
2. www.PacktPub.com
3. Preface
1. Portal Assessment FREE CHAPTER 2. Portal Governance: Adopting the Mantra of Business Performance through IT Execution 3. Portal Requirements Engineering 4. Portal Architecture: Analysis and Design 5. Portal Golden and Cloud Architecture 6. Portal Build, Deployment, and Release Management 7. Introduction to Web Experience Factory 8. Service Layers 9. Invoking Web Services 10. Building the Application User Interface 11. The Dojo Builders and Ajax 12. WEF Profiling 13. Types of Models 14. WEF and Mobile Web Applications 15. How to Implement a Successful Portal Project with WEF 16. Portlet and Portal Testing 17. Portal and Portlet Performance Monitoring 18. Portal Troubleshooting 19. Portal, WEF, and Portlet Tuning 20. Portal Post-production

Role-based profiling


In the previous section, you have created an example that demonstrates one of the many manners by which a profile set can be associated to a model. In this section we will describe the steps you need to perform in order to implement a role-based portal application.

In the same way you expose profile names and values to portal administrators, you can also define that portlet variability will be driven by the portal user groups. In this option, the mechanism to choose the profile to be applied to a portlet is tightly connected to the portal group a user belongs to.

The principle to serve a variation of your code base depending upon portal user groups bears many similarities to the example you just created.

Let's describe the steps you would perform to implement such an option.

Building portlet for role-based profiling

Concerning portlets, start by identifying the different groups that will be accessing your portlets. Although you do not insert the if, else, or switch statements...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime