Database Authentication During Foreign Database Connect
- Last Updated: January 26, 2026
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
The OpenEdge DataServer for Oracle does not require its own authentication. Users connecting through Oracle client libraries from a DataServer application need to provide only their foreign data source credentials to make a connection.
You can make a secure connection to a foreign database in the following ways:
- Wait for the Data Administration tool to prompt you for your data source user ID and password.
- Provide a
-Uand-Pparameter during OpenEdge client startup or as a parameters (.pf) file. - Add user ID and password in the Connection Parameters field of your logical database so that they are picked up for processing with the foreign data source connection.
- Use the
CONNECTstatement to pass the user ID and password values.
The OpenEdge DataServer for Oracle supports encoding user
credentials. Use the genpassword utility to securely encode user
credentials for foreign databases by specifying an encoding prefix, for example
ae2h1. For more information, see genpassword and Encoding prefix.
- Use clear text values for both the user ID and password.
- Use clear text value for the user ID and encoded value for the password or the other way around.
- Use the same encoding prefix for the user ID and password.
- Use different encoding prefixes for the user ID and password.
- Oracle DataServer does not support BASE64 encoding. Therefore, using encoding prefix such
as
ae2b1,ae2b2, and similar will result in an error. - The default prefix for encoding login credentials is
ae2h1. - When creating user credentials, it is recommended to avoid using any encoding prefixes
supported by the
genpasswordutility. For example,ae2h1should not be used as either a username or password.
The following example shows how to encode credentials using the genpassword utility and then use the encoded credentials to
connect with the data source. For example, if the user ID and password for connecting to
an Oracle database is progress, you can generate the encoded
credentials with ae2h1 as follows:
|
genpassword utility generates an ae2h1
encoded password:
|
|
|