Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Web Experience Factory wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category Web Experience Factory 8 Documentation WebSphere Portlet Factory 7 Documentation WebSphere Portlet Factory 7.0.1 Documentation Custom Search Scope...
Search
Community Articles > Samples and techniques > IBM - Using the WPS Group Segment Handler
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Rob Flynn
Contribution Summary:
  • Articles authored: 237
  • Articles edited: 298
  • Comments Posted: 2

Recent articles by this author

JAX-WS Handler Sample using IBM Web Experience Factory

Overview The Web Experience Factory (WEF) 8.0 release contains an enhancement to the web service call builders that gives you an option to define a global JAXWS handler class. This handler makes it possible for models to intercept and process the inbound and outbound SOAP envelopes associated ...

WebSphere Dashboard Framework 7.0.1.1 Fix pack now available

The WebSphere Dashboard Framework 7.0.1.1 Fix pack has been released.

IBM Web Experience Factory Version 7.0.1.4 Fix Pack is now available

This fix pack includes new fixes and updates for Web Experience Factory Version 7.0.1. and is now available on Fix Central and can be downloaded from here: ...

IBM Web Experience Factory WCAG 2.0 Compliance

IBM Web Experience Factory, developed and tested compliant to WCAG 2.0, can produce output (web pages, sites and content) that can be WCAG 2.0 Level A and Level AA compliant. IBM Web Experience Factory neither enforces nor prevents this compliance. Application developers must know and understand ...

Yeah!!! New IBM Web Experience Factory V8.0 is announced!!!

A quick snapshot of what's new in IBM Web Experience Factory... IBM Web Experience Factory is all about making it quick and easy to develop applications (portlets) that are included as part of an exceptional web experience. We've seen our customers doing some awesome stuff, whether it be ...

Community articleIBM - Using the WPS Group Segment Handler

Added by Rob Flynn | Edited by IBM contributor Rob Flynn on December 31, 2009 | Version 14
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: Code samples, Profiling

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"



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.



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.

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.



6. Repeat for the remaining groups.

expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (21)
collapsed Versions (21)
Version Comparison     
VersionDateChanged by              Summary of changes
21Jul 29, 2010 4:02:28 PMKeshi Dai  
20Jul 29, 2010 4:01:33 PMKeshi Dai  
19Jul 29, 2010 3:59:55 PMKeshi Dai  
18Jul 29, 2010 3:55:36 PMKeshi Dai  
17Jan 15, 2010 8:04:02 PMRob Flynn  IBM contributor
16Dec 31, 2009 10:58:44 AMRob Flynn  IBM contributor
15Dec 31, 2009 10:52:41 AMRob Flynn  IBM contributor
This version (14)Dec 31, 2009 10:50:34 AMRob Flynn  IBM contributor
13Dec 8, 2008 2:41:55 PMRob Flynn  IBM contributor
12Dec 5, 2008 3:57:17 PMRob Flynn  IBM contributor
11Oct 27, 2008 4:59:26 PMDeAnna Steiner  IBM contributor
10Oct 27, 2008 2:29:16 PMDeAnna Steiner  IBM contributor
9Jun 26, 2008 3:21:02 PMRob Flynn  IBM contributor
8Jun 23, 2008 10:46:10 AMRob Flynn  IBM contributor
7Jun 19, 2008 12:29:02 PMRob Flynn  IBM contributor
6Jun 19, 2008 12:28:24 PMRob Flynn  IBM contributor
5Jun 13, 2008 12:43:53 PMRob Flynn  IBM contributor
4May 30, 2008 8:54:26 AMRob Flynn  IBM contributor
3May 30, 2008 8:47:28 AMRob Flynn  IBM contributor
2May 30, 2008 8:33:55 AMRob Flynn  IBM contributor
1May 22, 2008 9:45:12 AMRob Flynn  IBM contributor
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • BlogsIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use