If your janssen server backend is connected with couchbase database then you can go with these operations instead of LDAP configuration.
Let's get the couchbase database configuration operations details:
/opt/jans/jans-cli/config-cli.py --info DatabaseCouchbaseConfiguration
Operation ID: get-config-database-couchbase
Description: Gets list of existing Couchbase configurations.
Operation ID: post-config-database-couchbase
Description: Adds a new Couchbase configuration.
Schema: /components/schemas/CouchbaseConfiguration
Operation ID: put-config-database-couchbase
Description: Updates Couchbase configuration.
Schema: /components/schemas/CouchbaseConfiguration
Operation ID: get-config-database-couchbase-by-name
Description: Gets a Couchbase configurations by name.
url-suffix: name
Operation ID: patch-config-database-couchbase-by-name
Description: Partially modify an Couchbase configuration.
url-suffix: name
Schema: Array of /components/schemas/PatchRequest
Operation ID: delete-config-database-couchbase-by-name
Description: Deletes a Couchbase configurations by name.
url-suffix: name
Operation ID: post-config-database-couchbase-test
Description: Tests a Couchbase configuration.
Schema: /components/schemas/CouchbaseConfiguration
To get sample schema type /opt/jans/jans-cli/config-cli.py --schema <schma>, for example /opt/jans/jans-cli/config-cli.py --schema /components/schemas/CouchbaseConfiguration
To get the database configuration details, run the following command:
/opt/jans/jans-cli/config-cli.py --operation-id get-config-database-couchbase
To add a new couchbase database configuration into the janssen server:
/opt/jans/jans-cli/config-cli.py --operation-id post-config-database-couchbase --data data.json
To update or replace an couchbase database configuration:
/opt/jans/jans-cli/config-cli.py --operation-id put-config-database-couchbase --data data.json
To get the couchbase database configuration by its configId:
/opt/jans/jans-cli/config-cli.py --operation-id get-config-database-couchbase-by-name --url-suffix name:configId-name
You can delete the couchbase database configuration by its name. The command line is:
/opt/jans/jans-cli/config-cli.py --operation-id delete-config-database-couchbase-by-name --url-suffix name:configId-name