Portlet Factory, Version 6.1.2


 

Profile selection handlers

IBM® WebSphere Portlet Factory includes multiple profile selection handlers.

All profile sets in a project are stored in the WEB-INF/profiles folder. When you set the profile selection handler for a profile set, you can select one from a list of handlers in the project. The following list describes some of those handlers.

Explicit Handler

Associates the request with the default profile in the current profile set. Typically used during development so that you can preview models with different profiles applied.

File Segment Handler

Associates a hard-coded user with a profile based on the user/profile mappings in an XML file.

J2EE Role Handler

Associates the user with a J2EE Role and returns the profile associated with that role.

LDAP Group Based Selection Handler

Associates the user with an LDAP Group segment and queries the profile set to return the profile associated with the given LDAP Group.

Locale Selection Handler

Associates the user with a language locale segment and returns the profile associated with the locale name. This handler can be used with a IBM WebSphere Application Server application.

Portal Execution Mode Handler

Creates models that vary depending on whether they are running in an application server or in another mode.

User Attribute Profile Selection Handler

Selects a profile for a user by matching a configurable user attribute against profile external segment associations, set in the advanced section of the profile editor for an individual profile

WP Composite Application Role Selection Handler

Selects a profile based on the WebSphere Portal Composite Application Role that the user is in. This handler is only appropriate for portlets that are part of a composite application, not portlets just placed on a portal page outside of the WebSphere Portal template-based composite application framework.

WP Personalization Profile Role Selection Handler

Integrates with WebSphere Portal Personalization Profile Rules, specifying a named personalization rule in the handler's configuration file, and then matches the results of the rule against the profile names or against external associations specified per profile in the advanced section of the profile set editor.

WPS Execution Mode Handler

Associates the request with a profile associated with a standalone mode or running within a portal mode. You can use this selection handler to execute different code based on the execution mode.

WPS Group Segment Handler

Associates the request with the WebSphere Application Server Group to which the user belongs and returns the profile associated with that group.

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

Parent topic: Setting the profile selection handler for a profile set


Library | Support |