When connecting to databases, the AS Java as well as the applications deployed on it authenticate themselves by means of a user name and a password. They are specified only once, when the DataSource that is used to provide the database connection is created. The DataSource is initialized with the supplied credentials and uses them for the authentication of all physical connections that it provides.
You may use one of the following options for database connectivity:
Using the Default DataSource
The default DataSource is created at installation and is used by all AS Java services that need to connect to the system database. The applications that you later deploy on the server may also use this DataSource.
More information: Running JPA Applications on the System Data Source
The default DataSource uses the standard database schema user SAP < SID >DB , where < SID > is the system identifier - for example, J2E . The password for this user is defined at installation.
The user name and password for the default DataSource, are stored encrypted in a secure storage. The parameters for this secure storage are the following properties of the Configuration Manager:
You cannot establish a database connection and respectively run the AS Java without using a secure storage. It is highly recommended that you do not change the default properties.
To change the password of the default user, you must:
For more information on how to do that, refer to the SAP NetWeaver Security Guide.
Connecting with a User-Defined DataSource
If you need to connect to another database, you have to register a new DataSource using the JDBC Connector Service.
More information:
To create the DataSource, you must supply a valid user name and password for the database schema. The AS Java stores this data encrypted.