User ID and password-based authentication
This section describes the information we need to establish a security context with user ID and password authentication.
To establish a security context using user ID and password-based authentication, we need the following information:
- admin user ID
- A Security Verify Access user ID with the appropriate administrative authority, such as sec_master.
- admin password
- The password associated with the administrator user ID.
- locale
- The locale that is to be used for returning message data to the application. When this value is not supplied as a key parameter, the PDContext constructor uses the default locale.
- domain
- The Security Verify Access policy server domain to which the user is authenticated. When this value is not supplied, the domain is obtained from the configuration file URL. When the configuration file URL does not contain domain information, the local domain associated with the Java™ Runtime Environment is used.
- configuration file URL
- The uniform resource locator (URL) to the configuration file created by the Java SvrSslCfg class. The URL must use the file:/// format. Do not use the svrsslcfg command-line interface to create a configuration file that is to be used by a Java application.
To create the security context, create a PDContext object as shown in Figure 1.
The contents of the configuration file created by the Java SvrSslCfg class is not externalized and is subject to change without notice. Users must not use the information in the configuration file directly.
Parent topic: Establishing a security context