Creating the Data Source Login Alias

The Administrative Console can be used to configure a login alias for both the DB2 and data sources as follows:

  1. Navigate to Security > Global security;
  2. Expand the Java Authentication and Authorization Service option in the Authentication section and select the J2C authentication data option;
  3. Click New to open the Configuration screen;
  4. Set the following fields:

    Alias = dbadmin

    User ID = <database username>

    Password = <database password>

    Description = The database security alias

    where <database username> and <database password> are set to the username and password used to login to the database;

  5. Click OK to confirm the changes.