SEAL( ) method on the client-principal object handle
- Last Updated: February 11, 2026
- 2 minute read
- OpenEdge
- Version 13.0
- Documentation
This is the basic syntax, where client-principal-handle is the handle to an unsealed client-principal object and domain-access-code is typically a MAC key value (see Table 1):
Syntax
|
This method operates only on an unsealed client-principal
(in the INITIAL state) and attempts to seal the object in the LOGIN
state if it finds a domain entry in the session domain registry
whose domain name matches the client-principal DOMAIN-NAME attribute
value, and whose domain access code matches the domain-access-code value
passed to the method. This operation assumes that your application
has already authenticated the user identity initialized in
the client-principal object. However, OpenEdge has no way to verify
this; it only verifies that the object is initialized properly and that
there is a matching domain name and access code in the session registry.
If the values match, it then seals the client-principal using the
domain access code. Sealing the object with this method also generates
an auditable event to start a user login session.
Note that this function does not assign the identity sealed
in the client-principal to any ABL resource. You must use the successfully
sealed client-principal in a separate SSO operation that you execute
using either the SET-CLIENT( ) method
or the SET-DB-CLIENT function in order to validate
and (if valid) assign the identity to the current ABL session and
any indicated database connections established in the session.