Writing the Self-Registration Handler

You write the custom handler code by extending the abstract class. This class extends LogicalAttributeAdapter.
cim1265
You write the custom handler code by extending the abstract class. This class extends LogicalAttributeAdapter.
OrgSelectorAdapter has one API-specific (non-inherited) method: getOrganization(). When the user submits the self-registration screen, 
CA Identity Manager
 calls getOrganization() and passes the following objects:
  • A populated LogicalAttributeContext object. This object includes access to logical attributes on the task screen.
  • A Vector of organizations where the self-registering user can be added. The getOrganization() method returns one of these organizations.
The getOrganization() method evaluates the logical attribute values supplied on the task screen and determines the organization where the user should be added. For example, a user’s organization might be determined by the job description information provided on the self-registration screen. The method determines the user’s organization and returns the organization object to 
CA Identity Manager
.
 Because OrgSelectorAdapter extends the abstract class LogicalAttributeAdapter, your derived class must declare the methods in LogicalAttributeAdapter even if the methods remain empty.