This is the test repository for the Db2 AUTH Service.
In active development, not yet completed.
Follow the instructions to install the Db2 AUTH Service in a DB2 for LUW database (version 11.5 or later).
Note:
/home/db2inst1/sqllib
in the instuctions below must be changed to the sqllib path for your Db2 instance.
- Change to the
java
subdirectory. - Optional: Replace the supplied
lib/db2-auth.jar
with a freshly built JAR for the Db2 AUTH Service. - Build the Java code using the supplied Ant XML:
ant -f build-db2-auth-TEST.xml
- Amend the sample
db_config.properties
file to provide actual database, schema and user details. - Execute a test by calling TestAuthBootstrap and supplying a properties file for the test payload. For example:
java -cp dist/db2-auth-TEST.jar:/home/db2inst1/sqllib/java/db2jcc4.jar com.easydataservices.open.test.TestAuthBootstrap payload_create_sessions.properties