Add a local domain

  1. In administration console, click Settings > User Management > Domain Management.
  2. Click New Local Domain.
  3. 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.)
  4. 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

  1. In administration console, click Settings > User Management > Domain Management.
  2. Click New Hybrid Domain.
  3. 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.)
  4. 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.
  5. Provide any additional information required on the page. (See Authentication settings.)
  6. 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)

Considerations when using MySQL

When using MySQL as your AEM forms database, the following limitations apply:

  • Use only single-byte (ASCII) characters for the domain ID and domain name. If you use extended ASCII characters, AEM forms will be in an unstable state and may throw an exception if you attempt to delete the domain. To recover from this unstable state, see the " Remove a domain that contains extended or multi-byte characters" topic on this page.
  • You cannot create two domains that have the same name but differ in case. For example, attempting to create a domain named Adobe when a domain named adobe already exists results in an error.
  • User Management cannot differentiate between two domain names that differ only in the use of extended characters. For example, if you create a domain named abcde and a domain named âbcdè, they are considered the same.

Remove a domain that contains extended or multi-byte characters

  1. Export the configuration file, as described in Importing and exporting the configuration file.

  2. Open the configuration file and under the Domains node, locate the node whose name attribute matches the name of the domain created with extended or multi-byte characters. Delete the entire node related to that domain.

  3. In your database, search for the domain in the edcprincipaldomainentity table:

    • Select * from edcprincipaldomainentity.
    • Find the domain name that contains extended or multi-byte characters and set its status to OBSOLETE.
  4. Import the updated configuration file, as described in Importing and exporting the configuration file.

Experience Manager


Espressos & Experience Manager: AEM Forms

Espressos & Experience Manager

Thursday, Mar 6, 7:00 PM UTC

Join Adobe's AEM product team as they highlight AEM Forms' latest innovations, including: the new Gen AI Assistant, Unified Composition with AEM Sites, and new ways to deploy forms through conversations.

Register

Put the Customer at the Center and Build Relationships That Last a Lifetime

Online | Strategy Keynote | General Audience

First impressions last a lifetime. Great first impressions feel personal, connected, and relevant right from the start. From the first...

Wed, Mar 19, 2:30 PM PDT (9:30 PM UTC)

Register

The True Cost of a Failed Implementation

Online | Session | General Audience

A failed implementation isn’t just an inconvenience — it costs real revenue. Poor execution and misaligned tools disrupt pipelines,...

Wed, Mar 19, 2:00 PM PDT (9:00 PM UTC)

Register

Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more