Skip to content

Configuring self-registration for external users

Set properties that make it possible for people outside of your company to self-register for a Connections account when invited to join.

Note: Self-registration requires that users have anonymous access to be able to register and reset their guest password. If an access manager solution such as IBM Security Verify Access (formerly Security Access Manager) is in place, a junction for the following context route has to be created/whitelisted: /selfservice/

  1. For external collaboration self-registration to work, it is mandatory that each of the following properties in the selfregistration-config.xml file have a value entered. You can modify default values to fit your environment.

    Note: For this feature, you need to edit the configuration file directly in the /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/Cell01/LotusConnections-config directory.

    1. Turn on the external collaboration service, and decide whether you want the option for authorized Connections users to invite external users to be displayed in the product UI. The default for the UI option is false.

      <pre-register enabled="true" ui-enabled="false">
    2. Provide the URL that will be used in email invitations to generate a link to the registration page. Set the value to the base URL of Connections unless you have a reason to use a different URL.

    3. Specify the URL and secure URL for LDAP:

                        <server href="ldap://localhost:389" ssl_href="ldaps://localhost:636" encryption="no" />


      • localhost is the domain name where LDAP can be found
      • 389 and 636 are the default values for the LDAP ports
      • no is the default encryption value; other possible values are ssl, and starttsl | no
    4. Add the LDAP bind username for the user who has read and write access to the LDAP repository:


      Note: If you use Domino LDAP and your setup does not allow write access, you can use a secondary directory by (1) creating a default configuration in the secondary directory, allowing write access in the LDAP settings, (2) adding the LDAP user in the secondary directory's ACL, as Editor with [UserCreator] and [UserModifier] Roles, and (3) restarting the LDAP task. For further details on this configuration, see the Knowledge Article Populating Guest Profiles in a Secondary Domino Directory

    5. Add the password for the LDAP bind user:


      Note: If you prefer, the password for the LDAP BindDN can be XOR-encoded. You can use the wsadmin script provided by the Connections installation to encode the given password and store it in this configuration file. For more information, see (Optional) Encoding the LDAP password in self-registration-confg.xml.

    6. Add the base distinguished name for your organization:

  2. While completing step 1 is all that's required to deploy the feature, it's a good idea to also review the following default values now and change any that aren't optimal for your environment.

    1. The default value for the LDAP type is empty. Add a value of Active Directory or DominoLDAP only if you're using an Active Directory server or HCL Domino server.

    2. If desired, you can specify a search filter that can be used to check the uniqueness of each user's email address. Make sure that the default value (@key@=@value@) is part of the filter that you specify.

    3. The object classes are LDAP properties that can be used to distinguish between different kinds of users. The values need to match the search filters in the WebSphere LDAP so that users are created appropriately in the Connections context, and therefore can log in to Connections. If necessary, you can add multiple object classes by using the <object-class> tag multiple times.

    4. The following value includes the LDAP property used to map the user in LDAP to their Profiles GUID. In an Active Directory environment, for example, the default property is objectGUID. Other known defaults are entryuuid (IBM Security Director Integrator, formerly TDI), dominoUNID (HCL Domino Directory), and entryUUID (Open LDAP). If your organization uses a different property name, consult your TDI assembly and use the name that is stated there.

    5. If your TDI population mechanism is not using the preceding default field mappings, you should also verify the rest of the attribute settings under <profiles-connector>.

    6. If you enabled the UI option in step 1a, you must specify whether external users can be invited only by users assigned the appropriate role, or by any user. The default value is invite-only, which indicates only users who are assigned the role. To allow any user to send invitations, change the value to person. If you keep the invite-only value , you must also map the appropriate individuals or groups to the "invite-only" role using the WebSphere Application Server console.

  3. (Optional) Specify other settings if you want to extend the feature, or if you have legal considerations like record keeping of successful registrations or providing a link to a privacy policy document.

  4. (Optional) Encoding the LDAP password in self-registration-confg.xml

  5. Customizing notifications for self-registering users
    You can customize the content of the email notifications related to the self-registration feature by copying the relevant source files, saving them in the appropriate customization directory, and editing the files that correspond to notifications you want to change. As the source files are provided in different languages, you can also customize the notifications in those languages.

Parent topic: Managing external user access