Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Web Experience Factory wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 6.1
  • 6.1.2
  • 6.1.5
  • 6.1.5.1
  • 7.0
  • Ajax
  • Alerts
  • Annotations
  • attachment
  • best practices
  • BlackBerry
  • builder
  • builder faq
  • builders
  • charts
  • Code samples
  • Connections
  • css
  • Custom builder
  • CustomBuilder
  • dashboard
  • Data Access
  • data access faq
  • Data and variables
  • Database
  • Databases
  • Debugging
  • demo
  • demo models
  • demo projects
  • demo widget
  • demos
  • deployment
  • deployment faq
  • Deployment scenarios
  • development
  • dojo
  • Domino
  • faq
  • fixpack
  • General FAQ
  • getting started
  • Help
  • HTML
  • html templates
  • ILOG
  • integration
  • iPhone
  • JViews
  • Learning
  • Logging
  • lotus connections
  • Lotus Widget Factory
  • media dashboard
  • media pf
  • media widget
  • mobile
  • mobile smartphone development
  • Model development
  • new
  • Notifications
  • overview
  • page automation
  • Portal
  • Portal Integration
  • portal integration faq
  • Portlet
  • Portlet Factory 7
  • presentation
  • presentation faq
  • Profiling
  • Quickr
  • REST
  • rest faq
  • REST Service Call
  • restructure handler
  • rich ui
  • sample
  • sample application
  • samples
  • schema
  • Security
  • Smartphones
  • SOA
  • social
  • Source Control
  • sql
  • summary and drilldown
  • Team development
  • Troubleshooting
  • ui
  • User Interface
  • video
  • web 2.0
  • Web Experience Factory
  • Web Experience Factory 8
  • Web Services
  • websphere dashboard framework
  • wef
  • wpf
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Samples and Techniques for Web Experience Factory > IBM - Using the WPS Group Segment Handler
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

IBM - Using the WPS Group Segment Handler  

expanded Abstract
collapsed Abstract
No abstract provided.

Implementing the profile selection handler WPS Group Segment Handler on IBM® WebSphere® Portal 6.0.1 or higher





The WPS Group Segment Handler associates the request with the WebSphere Group to which the user belongs, and returns the profile associated with that group.


Note: If the user belongs to more than one segment, the profile selection handler returns the most-derived (least-privileged) profile.


The sample demonstrates how to implement the Portlet Factory's profile selection handler WPS Group Segment Handler on an IBM WebSphere Portal 6.0.1 or higher. The full article contains steps on how the profile set is configured using hierarchical profiles, configuring the WebSphere Portal's Resource Permissions, and running the sample.


Read the full article here: WPS+Group+Segment+Handler+Sample.pdf


Download

Download the sample from here:


wps_group_segment_handler_sample.zip


Configuring WebSphere Portal's Resource Permissions

If you use the WPS Group Segment Handler on WebSphere Portal version 6.0.1 or higher, you will need to give portal users resource permissions to any of those portal groups to which they belong. You can use the Portal Resource Permissions administration portlet to set the Group resource permission. You can do this by either adding an individual user or group to the group "User" resource permission role membership.


You must be on WebSphere Portal 6.0 and above to use the WPS Group Segment Handler in JSR-168 portlets.

Use the Portal's Resource Permissions administration portlet to set the group's resource permissions. You do this by either adding an individual user or group to the group's "User" resource permission role membership.


1. From the Administration tool, expand Access and select "Resource Permissions"

 Expand Access and Select Resource Permissions

2. Select the Resource Type of "User Groups"

3. Select "Search by: All available" and press the "Search" button. You should then see a list of all the groups.

 Search by: All available

4. Find the group(s) that you are using to control profile selection and press the "Assign Access" button next to the group name in the list.
 Assign Access

5. Click on the "Edit Role" button for the "User" role. From here you will add the individual user or groups to the Resource Permission of this Groups "User" Role.

In this example I added "All Authenticated Portal Users", but you can add whatever user/group is appropriate for your security requirements. You can achieve the proper right by assigning the group itself as a role of the User permissions.


Note: This does not add the user as a member of the group; it just adds it as a resource of the group. This allows the user/group to read information related to the group.
  Edit Role for the User role

6. Repeat for the remaining groups.


expanded Article information
collapsed Article information
Category:
Samples and Techniques for Web Experience Factory, Web Experience Factory, Samples and Techniques,
Tags:
Code samples, Profiling

This Version: Version 21 July 29, 2010 4:02:28 PM by Keshi Dai  

expanded Attachments (9)
collapsed Attachments (9)

 


File TypeSizeFile NameCreated On
application/pdf 1,917 KB WPS+Group+Segment+Handler+Sample.pdf 5/5/08 9:00 AM
application/x-zip 4 KB dojo_1[1].x_rte.zip 5/5/08 9:00 AM
application/x-zip 34 KB dojo_1[1].x_sample.zip 5/5/08 9:00 AM
application/pdf 328 KB OneTimeMessage.pdf 5/5/08 9:00 AM
application/x-zip 3 KB wps_group_segment_handler_sample.zip 5/5/08 9:00 AM
image/gif 174 KB step1.gif 5/5/08 9:00 AM
image/gif 174 KB step3.gif 5/5/08 9:00 AM
image/gif 103 KB step4.gif 5/5/08 9:00 AM
image/gif 104 KB step5.gif 5/5/08 9:00 AM
expanded Versions (21)
collapsed Versions (21)
Version Comparison     
Version Date Changed by               Summary of changes
This version (21) Jul 29, 2010 4:02:28 PM Keshi Dai  
20 Jul 29, 2010 4:01:33 PM Keshi Dai  
19 Jul 29, 2010 3:59:55 PM Keshi Dai  
18 Jul 29, 2010 3:55:36 PM Keshi Dai  
17 Jan 15, 2010 8:04:02 PM Rob Flynn  
16 Dec 31, 2009 10:58:44 AM Rob Flynn  
15 Dec 31, 2009 10:52:41 AM Rob Flynn  
14 Dec 31, 2009 10:50:34 AM Rob Flynn  
13 Dec 8, 2008 2:41:55 PM Rob Flynn  
12 Dec 5, 2008 3:57:17 PM Rob Flynn  
11 Oct 27, 2008 4:59:26 PM DeAnna Steiner  
10 Oct 27, 2008 2:29:16 PM DeAnna Steiner  
9 Jun 26, 2008 3:21:02 PM Rob Flynn  
8 Jun 23, 2008 10:46:10 AM Rob Flynn  
7 Jun 19, 2008 12:29:02 PM Rob Flynn  
6 Jun 19, 2008 12:28:24 PM Rob Flynn  
5 Jun 13, 2008 12:43:53 PM Rob Flynn  
4 May 30, 2008 8:54:26 AM Rob Flynn  
3 May 30, 2008 8:47:28 AM Rob Flynn  
2 May 30, 2008 8:33:55 AM Rob Flynn  
1 May 22, 2008 9:45:12 AM Rob Flynn  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use