Building and using a session domain registry
- Last Updated: February 11, 2026
- 2 minute read
- OpenEdge
- Version 13.0
- Documentation
Typically, an ABL application builds any required session domain registry
for an ABL session (including any application server sessions) when the ABL session
first starts up. For an ABL client, this is typically a function of a startup procedure
specified using the Startup Procedure (-p) startup
parameter. For an application server session, this is typically a function of the
Startup configuration procedure for application servers.
OpenEdge supports two approaches for building a session domain registry, using:
- The contents of an existing local database domain registry (recommended)
- Domain entries that you create directly within the ABL session
You can only use one of these approaches to build a domain registry for a given ABL session, and using the contents of an existing local database domain registry is the most secure approach, as described later in this section.
The SECURITY-POLICY system handle
supports methods for each approach to building a session domain registry, as described
in the following table.
| This SECURITY-POLICY method... | Provides this function... |
|---|---|
|
Builds the session domain registry from
the local database domain registry of a specified OpenEdge database
connection. (The integer-expression
value specifies the database by its order of connection in the ABL
session.) You can call this method multiple times to refresh the session
registry from the latest contents of the same
local database domain registry only. Calling this method using a
different database, or using a different connection to the same
database, raises an error. You can use the session domain registry built with this method to:
LOCK-REGISTRATION( ) method or the REGISTER-DOMAIN( ) method successfully, any call to this
method fails.1 Once you call this method successfully,
any call to LOCK-REGISTRATION( ) or
REGISTER-DOMAIN( ) fails.Note: This method is more secure for building
the session domain registry than using the REGISTER-DOMAIN( ) method, and it is the only way to
build a session registry that can be used to authenticate or
validate the connection identity for an OpenEdge multi-tenant
database. |
|
Locks the session domain registry against
any further update using the REGISTER-DOMAIN( ) method.1 If you
call this method before calling REGISTER-DOMAIN( ), the locked session registry is empty,
but usable.You must call this
method before you can validate user identities using a session
registry built using the LOAD-DOMAINS( ) method successfully before
calling this method, any call to this method fails. Once you call this
method successfully, the registry is usable and any call to LOAD-DOMAINS( )or REGISTER-DOMAIN( ) fails. |
|
Creates a single domain entry in the
session domain registry from the parameters passed to the method:
SEAL( ) method and to set a session identity or a
connection identity for an OpenEdge database (non-multi-tenant only) using a sealed client-principal.
However, OpenEdge can never use a session
registry built with this method to authenticate an identity asserted
with an unsealed client-principal (see LOAD-DOMAINS( ) described in this table).If you call either the Note: The domain-description and domain-type values do not
have to match the DOMAIN-DESCRIPTION and DOMAIN-TYPE attributes in a client-principal object in
order to validate its identity against a domain
entry. |
The REGISTER-DOMAIN( ) method provides
the flexibility to dynamically define an authentication domain not otherwise available
in a database domain registry. However, until you call the LOCK-REGISTRATION( ) method, you run the risk of a security breach by
allowing the possible registration of rogue domains in the session registry. The LOAD-DOMAINS( ) method minimizes this risk by leveraging
secure mechanisms both to manage the contents of an existing database domain registry
(by a security administrator) and to load the latest contents of this registry (and only this registry) into a given session domain registry.
For more information on configuring domains in an OpenEdge database, see:
- Introduction to Identity Management
- The Data Administration online help
- Database Tools
- Configure Database Multi-tenancy with OpenEdge Management
For information on building a session domain registry, see Establishing ABL session identity in this manual.