Portlet Factory, Version 6.1.2


 

About setting the profile selection handler

In the Select Handler editor of the profile manager, you can set the profile selection handler class to use for the current profile set. You can also declare a value selector class that dynamically assigns data to the profile values in the profile set.

 

Key terms

The following terms are important to understand in the description of profile selection handlers:

Segment

A categorization that you associate with a profile. Common segment types include J2EE Roles and LDAP groups. You can create your own segment types by implementing the com.bowstreet.profiles.SegmentList interface.

Note: The profile selection handler matches a request with a segment and returns the profile associated with that segment. If the request corresponds with more than one segment, the profile selection handler returns the "most-derived" profile.

Profile

A collection of profile entry values that determine the values for profiled builder call inputs. You can associate a profile with a segment when you create or edit the profile. You can also create a Profile Selection Handler to implement your own segment/profile associations.

Setting the profile selection handler class to use for the current profile set involves:

  • Setting the profile selection handler for the profile set.

  • Specifying a value setter for the profile set.

  • Creating profile selection handlers.

  • Creating profile entry value setters.

Parent topic: Profile selection and storage management


Library | Support |