Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

This type of authentication is a simple username-password login.

Here the users and their passwords are configured in the repository.cfg.

Likewise, a role can be configured for this user.

<Repo>.authentication.cmis.type                           = basic
<Repo>.authentication.cmis.idprovider                     = config
<Repo>.authentication.cmis.config.login<postfix1>.user    = admin:admin
<Repo>.authentication.cmis.config.login<postfix1>.role    = admin
<Repo>.authentication.cmis.config.login<postfix2>.user    = writer:writer
<Repo>.authentication.cmis.config.login<postfix2>.role    = writer

Each user consists of two lines. One .user and one .role.

<postfix> is to be replaced by an abbreviation, unique for each user.

The value of .user always consists of <username>:<password>. These credentials can then be used to query the interface via simple basic auth.

For .role the values reader, writer and admin are available. Currently only admin with full access is supported.

If the KeystoreService is also configured in the repository.cfg, the alias of the corresponding actual passwords can also be specified as passwords.

  • No labels