Previous Topic

Book Contents

Book Index

Next Topic

Authentication of the Database Connection

The database connections which are to be established must be also specified. These connections are called 'dbsessions'.

To specify a database connection:

  1. Set the 'session' name for the 'dbsessions' parameter.
  2. Define one entry for each 'dbsession'.
  3. Specify the database user and password which are used to establish the connection.

Example:

AuthenticationManagerS3User {

de.usu.s3.authentication.DBLoginModule required dbsessions="VALUEMATION" dbuser="VM_TEST_LOG" dbpassword="779D97D40F0A715218B9F40F5D568A8C";

de.usu.s3.authentication.DBLoginModule optional dbsessions="EXPORT_ORIG" dbuser="VM_TEST_LOG" dbpassword="779D97D40F0A715218B9F40F5D568A8C";

de.usu.s3.authentication.DBLoginModule optional dbsessions="HISTORY" dbuser="VM_TEST_LOG" dbpassword="779D97D40F0A715218B9F40F5D568A8C";

de.usu.s3.authentication.DBLoginModule required dbsessions="ANOTHER_SESSION" dbuser="NCSystem" dbpassword="tally";

de.usu.s3.authentication.S3UserLoginModule required s3user="true";

};

See Also

AuthenticationManager_jaas.config

Valuemation with ServiceConnector