User Federations
The JAMS Web Client supports both Active Directory LDAP and Local Windows as identity providers for your user federation(s). To allow your users to log into the JAMS Web Client, you must first configure a User Federation. You can set up more than one type of federation and use the priority field to determine which order JAMS will use to authenticate users.
The JAMS Web Client first checks whether the name is the root account. Otherwise, it authenticates the user through the configured federations. The user accounts can be synchronized to ensure JAMS has the latest information.
Prerequisites
- LDAP User Federations work with Active Directory only. Other LDAP directories, such as OpenLDAP, 389 Directory Server, and eDirectory, are not supported, because JAMS identifies users and groups by their Windows SID and these directories do not provide one.
- Each Active Directory domain that holds JAMS users, or groups used in JAMS ACLs, must be configured as its own User Federation. Users and groups from a domain that is not configured as a User Federation are not resolved. See Multi-Domain Environments.
- For an ldaps:// Connection Url, the web host must trust the domain controller's certificate. See Using LDAPS.
- Do not use the Global Catalog ports 3268 or 3269 in the Connection Url. Group memberships read through them are incomplete. Use port 389 for ldap://, or 636 for ldaps://.
User Federations screen
The User Federations screen lists all existing federations. You can also create, modify, or delete federations from this page. The following information is listed:
- Display Name - The name that was entered to identify this federation.
- Type - The type of federation. This can be LDAP or Windows.
- Enabled - A checkmark indicates the federation is enabled and available. You can disable a federation, so it is not used by JAMS.
- Priority - The order JAMS will use to try each federation to authenticate users. Federations with a priority of zero have the highest priority.
- Connection Url - The domain used for the federation.
- Status - A checkmark indicates the user federation has been synchronized within JAMS.
- Actions - An additional menu that lets you modify the federation.
To change the row density, or to see which list settings JAMS remembers, see Working with List Views.
Adding an LDAP Federation
You can enable an LDAP/Active Directory federation within the JAMS Web Client. When you set this up, you can use one of the following variables to specify how users will be displayed in the Web Client: {name}, {account_name}, {principal_name}, {email}.
These variables do not affect the user login. For LDAP, users can login based on the Active Directory rules, which often use username and password or Domain\username and password.
- Click Access from the main menu.
- Click User Federations.
- Click Add.
- In the Display Name field, enter a name for the federation.
- In the Type field, select LDAP.
- In the Username Template field, enter the domain name\account name, such as “JAMSSoftware\{account_name}”.
- In the Connection URL field, enter the domain, such as “ldaps://jamssoftware.local:636”. For ldaps://, use the domain controller's DNS name. See Using LDAPS.
- In the Service User field, enter the name of the service user.
- In the Service Password field, enter the password of the service user.

- Click Save & Return.
- Open the federation and click Test Connection. See Testing the Connection.
- Synchronize the federation. See Manually Synchronizing a Federation.
Multi-Domain Environments
If your users and groups are spread across Active Directory domains connected by trusts, add one LDAP User Federation for each domain. JAMS then gives users the same access in the Web Client as in the JAMS Desktop Client for the same ACLs, without any change to the ACLs, with the two differences listed in Users and Groups from Multiple Domains:
- A user from one domain gets access through groups defined in another configured domain.
- Nested group memberships are followed. If a user belongs to a group that is itself a member of the group on an ACL, the user gets that group's access.
- Groups that have no users are synchronized, so they are named on the Security tab and can be matched.
Cross-domain and nested memberships are applied when JAMS checks access. They are read from Active Directory when the federation that holds the group is synchronized. A membership change in Active Directory, such as adding a user to a group, takes effect after the next synchronization of the User Federation that holds the group. Synchronizing a different federation does not apply it. See Synchronizing Users in a Federation with JAMS.
In the example below, the domains CORP2, CHILD, and CORP each have their own LDAP federation.

Adding a Federation for Each Domain
Repeat these steps for every domain.
- Click Access from the main menu.
- Click User Federations.
- Click Add.
- In the Display Name field, enter a name that identifies the domain, such as “CORP”.
- In the Type field, select LDAP.
- In the Username Template field, enter the domain's name and a variable, such as “CORP\{account_name}”.
- In the Connection URL field, enter a domain controller of this domain, such as “ldaps://dc1.corp.example.com”.
- In the Service User and Service Password fields, enter a service account that can read this domain.
- Click Save & Return.
- Open the federation and click the Advanced tab.
- In the Base DN field, enter the container that holds this domain's JAMS users, such as “OU=JAMS,DC=corp,DC=example,DC=com”.
- In the Groups Base DN field, enter the container that holds this domain's groups, such as “DC=corp,DC=example,DC=com”. Leave it blank to use the domain root.
- Click Save.
- On the Summary tab, click Test Connection.
- Synchronize the federation.
Each federation needs the following values for its own domain:
| Field | Value |
|---|---|
| Connection Url | A domain controller of the domain, on port 389 for ldap:// or 636 for ldaps://. For ldaps://, use the domain controller's DNS name. |
| Service User | An account that can read the domain's users and groups, such as svc.jams.sync@corp.example.com. |
| Base DN | The container of the domain's users that can sign in to JAMS. |
| Groups Base DN | The container of the domain's security groups. Usually the domain root. |
Do not configure the same domain in two federations. If you do, the Advanced tab and the Test Connection results warn that the domain is also synchronized by the other federation, and users under both Base DNs get two JAMS accounts.
Using LDAPS
For a federation with an ldaps:// Connection Url, the web host checks the domain controller's certificate on Windows hosts, as it already does on Linux hosts. A certificate the web host does not trust stops Active Directory sign-ins and synchronizations for that federation. Sign-in then shows "Incorrect username or password.", and the synchronization error ends with "The LDAP server is unavailable."
- Make sure the web host trusts the certificate of each domain controller the federation connects to.
- Use the domain controller's DNS name in the Connection Url, not its IP address, so it matches the name on the certificate.
- Run Test Connection after you add or change the federation. The Server certificate check reports certificate problems. The check is skipped for ldap://.
In the example below, the domain controller's certificate is not issued by a certification authority the web host trusts. The Server certificate check names the certificate and the reason, the Bind check fails as a result, and the remaining checks are skipped.

Testing the Connection
Test Connection checks that JAMS can reach and read the directory with the federation's saved settings. It is available for LDAP federations only.
- Click Access from the main menu.
- Click User Federations.
- Click the federation that you want to test.
- On the Summary tab, click Test Connection.
Test Connection is unavailable while the Summary tab has unsaved changes or the federation is locked. Save first.
The results appear at the top of the Summary tab. The header shows All checks passed, or how many checks reported warnings or failed. Each check shows Passed, Warning, Failed, or Skipped, with a message for any problem. The checks are: Server certificate, Bind, rootDSE, Domain SID, Base DN, Groups Base DN, Extended DN, Range retrieval, Foreign security principals, and Transitive queries.
Test Connection also records the directory's domain SID, NetBIOS name, DNS name, and capabilities, shown in the Directory section of the Advanced tab.
Adding a Windows Federation
You can enable Windows authentication so local Windows users can log into the JAMS Web Client. When you set this up, you can use one of the following variables to specify how users will be displayed in the Web Client: {name}, {account_name}, {principal_name}.
These variables do not affect the user login. For Windows, users can login with their Windows username and password.
- Click Access from the main menu.
- Click User Federations.
- Click Add.
- In the Display Name field, enter a name for the federation.
- In the Type field, select Windows. The Connection Url, Service User, and Service Password fields remain visible but are disabled, because they apply only to LDAP federations. You do not need to fill in or clear them.
- In the Username Template field, enter the domain name\account name, such as “localhost\{account_name}”.

- Click Save & Return.
In the Add drawer, you can switch the Type between LDAP and Windows as often as you need without losing data. Any values already entered in Connection Url, Service User, and Service Password are kept while the fields are disabled for Windows, and become editable again when you switch back to LDAP.
When the Type is Windows, these three fields are not saved and are not validated, so a Windows federation saves successfully whatever they contain. When the Type is LDAP, they are saved and validated as usual.
Modifying a Federation
You can modify a federation, including the Display Name, Priority, User Template, Connection URL, and the Service User and Password.
You can also enable or disable a federation to prevent it from being used.
When you disable a User Federation:
- Its users cannot sign in with a password, and their System API Tokens stop working. Users already signed in stay signed in until their session ends.
- Its automatic synchronization stops. A synchronization started by hand still runs.
- Its groups keep granting access as of its last synchronization. A synchronization started by hand updates them. When another User Federation that synchronizes the same group completed a synchronization more recently, that federation's members apply.
- A person it synchronized who signs in through an identity provider gets only the groups the provider sends, until you enable it again.
- Click Access from the main menu.
- Click User Federations.
- Click the name of the federation that you want to modify.
- Make any modifications.
- Click Save.
Deleting a Federation
When two User Federations synchronize the same group, deleting one makes the group use the other one's last synchronization. Synchronize the remaining User Federation right after the delete. After an upgrade, synchronize every User Federation once before you delete one.
- Click Access from the main menu.
- Click User Federations.
- Click the federation that you want to delete.
- Click Delete.
- When prompted, click Delete.
Synchronizing Users in a Federation with JAMS
You can automatically or manually synchronize the users in a federation, so they are visible within JAMS. This ensures JAMS has the latest information for the user accounts.
A synchronization reads the federation's users, its security groups, including groups that have no users, and their memberships. Changes to group membership in Active Directory take effect in JAMS after the next synchronization of the federation that holds the group.
Automatic synchronization is off for a new federation. When you turn it on, it runs every 1,440 minutes (once a day) by default. You can set an interval from 5 to 44,640 minutes. To apply a membership change sooner, synchronize the federation manually.
Federation synchronization will affect systems outside of JAMS. Contact your Active Directory Administrator prior to enabling or adjusting these values.
Automatically Synchronizing a Federation
You can configure JAMS to automatically synchronize to ensure it has access to the latest user accounts.
- Click Access from the main menu.
- Click User Federations.
- Click the federation that you want to synchronize.
- Click Actions and select Properties.
- Click the Synchronization tab.
- Select the Autosync Enabled toggle.
- In the Autosync Interval field, enter the number of minutes between each synchronization.
- In the Timeout field, enter how many minutes a synchronization's lock lasts if JAMS stops while synchronizing, from 10 to 30. The default is 30. A running synchronization keeps its lock however long it takes.
- Click Save.
Manually Synchronizing a Federation
You can manually synchronize a federation with JAMS to view the latest list of users. When you synchronize a federation, the federation is locked. If the synchronization is taking too long, you can manually unlock it to allow changes.
- Click Access from the main menu.
- Click User Federations.
- Click the federation that you want to synchronize.
- Click Sync.
Unlocking a Federation
By default, the federation will be in a locked state when the synchronization process starts. If there is a problem during the synchronization process, such as JAMS stopping before it finishes, you can unlock the federation to allow changes instead of waiting for the lock to expire after the federation's Timeout.
- Click Access from the main menu.
- Click User Federations.
- Click the federation that you want to unlock.
- Select Unlock.
User Federation Tabs
The Last Change UTC timestamp on the right side of the breadcrumb bar, at the top of the page, shows the date and time in UTC that the federation was last changed.
| Summary Tab | Description |
|---|---|
| Display Name | The name of the federation that will identify it in JAMS. |
| Type | The type of the federation, which can be either LDAP or Windows. |
| Enabled | A selected checkbox indicates the federation is active. |
| Priority | The priority that JAMS will use when authenticating users, if multiple federations are available. |
| Username Template | The format for the username in the Web Client. This can be CompanyName\{account_name}. |
| Connection URL | The domain for the federation. LDAP federations only; not used by Windows federations. |
| Service User | The email address of the super user within the Web Client. LDAP federations only; not used by Windows federations. |
| Service Password | The password for the super user. You can change this password. LDAP federations only; not used by Windows federations. |
| Synchronization Tab | Description |
|---|---|
| AutoSync Enabled | A selected checkbox indicates JAMS will automatically synchronize the user accounts in the federation. |
| AutoSync Interval | The time in minutes between each synchronization. |
| Timeout | How many minutes a synchronization's lock lasts if JAMS stops while synchronizing, from 10 to 30. A running synchronization keeps its lock however long it takes. |
| Advanced Tab | Description |
|---|---|
| Base DN | This is an optional property that can be used with Active Directory for validating credentials and searching for users and groups. The default value is based on the Connection URL. For example, if the Connection URL is 'mycompany.com', the Base Dn will be "dc=mycompany, dc=com". |
| Users Filter | This is an optional property used for searching for users in Active Directory. The default value is "(&(objectCategory=person)(objectClass=user))". |
| Groups Base DN | The container whose security groups are synchronized. Leave it blank to use the domain root. |
| Membership Expansion | How the synchronization finds nested group memberships. Walk group members is the default and works in most cases. Transitive query per group also finds nesting through groups of the same domain outside the Groups Base DN, with at most one extra query per group. Nesting through a distribution group is not followed, as in Windows. In this mode, a group whose nesting includes a distribution group gets no members from its transitive query and keeps the members that Walk group members finds. If the domain controller rejects a transitive query, the synchronization fails and the previous memberships stay. If the domain controller does not support transitive queries, the synchronization walks group members. Switching back to Walk group members removes the memberships found by transitive queries at the next synchronization. |
| Directory | Read-only facts about the directory, recorded by the last synchronization or Test Connection: Domain SID, NetBIOS Name, DNS Name, Naming Context, Capabilities, and Discovered (UTC). For a Windows federation, the Advanced tab shows only this section, with the machine's name, SID, and DNS name. |
Troubleshooting
If Active Directory users cannot sign in, sign in with the root account, open each LDAP federation, and run Test Connection. The results name the check that failed, such as a domain controller certificate the web host does not trust.
If the Security tab shows Unknown for a user or group from another domain, check that the domain is configured as a User Federation and that the federation has been synchronized.
After Upgrading
After you upgrade the JAMS Web Client to a release with cross-domain Active Directory support, complete these steps.
Required:
- Synchronize every User Federation once, outside business hours. The first synchronization after the upgrade changes many group memberships, and in a large directory pages that check access can wait several seconds while it saves them. Until a federation has synchronized, nested and cross-domain group memberships from its domain do not apply, and Admin Bypass Group entries in the DOMAIN\name form for its domain admit nobody. Existing memberships keep working through the upgrade. If you cannot synchronize right away, run Test Connection on the federation. DOMAIN\name entries then work for users, and for groups whose name matches their pre-Windows 2000 name. The other memberships follow at the synchronization.
- If a User Federation uses ldaps://, run Test Connection. See Using LDAPS.
Recommended:
- Review the Admin Bypass Group (Grant Bypass Group) setting. See Configuration.
- Synchronize every User Federation before you delete one.