Add a local domain
- In administration console, click Settings > User Management > Domain Management.
- Click New Local Domain.
- In the ID box, type a unique identifier for the domain and, in the Name box, type a descriptive name for the domain. (See Important considerations for domain names and IDs.)
- Specify whether to enable account locking and then click OK. (See Configure account-locking settings.) By default, Enable Account Locking is selected.
Add a hybrid domain
- In administration console, click Settings > User Management > Domain Management.
- Click New Hybrid Domain.
- In the ID box, type a unique identifier for the domain and, in the Name box, type a descriptive name for the domain. (See Important considerations for domain names and IDs.)
- Click Add Authentication and, in the Authentication Provider list, select a provider, depending on the authentication mechanism your organization uses. Possible values are LDAP, Kerberos, SAML, or a custom authentication provider.
- Provide any additional information required on the page. (See Authentication settings.)
- Click OK and then click OK again.
Important considerations for domain names and IDs
Keep in mind the following considerations when choosing a domain name and ID:
General considerations
- When you are using a database provider other than DB2, the domain ID can contain up to 50 bytes. If you are using single-byte ASCII characters, the limit is 50 characters. If the domain identifier contains multibyte characters, this limit is reduced. For example, if you create a domain whose identifier contains 3-byte characters, the limit is 16 characters. In addition, you cannot create domains that contain 4-byte characters. If you create a domain ID that exceeds this limit, AEM forms will be in an unstable state. To recover from this unstable state, see the " Remove a domain that contains extended or multi-byte characters" on this page.
- The number of enterprise domains and local domains that can be created within AEM forms depends on the length of each of the domain IDs. When you add an enterprise or hybrid domain, User Management updates the configInstance string in the AuthProviders node of the AEM forms configuration file (config.xml). The configInstance string contains a colon-separated list of the absolute paths of all domains that are associated with the authorization provider. This string has a size limit of 8192 characters. When that limit is reached, you cannot create additional domains.
Considerations when using DB2
When using DB2 for your AEM forms database, the maximum permitted length of the domain ID depends on the type of characters used:
- 100 single-byte (ASCII) (for example, characters used in English, French, or German languages)
- 50 double-byte (for example, characters used in Chinese, Japanese, or Korean languages)
- 25 four-byte (for example, characters used in Traditional Chinese language)