Skip to main content

2 docs tagged with "LDAP"

LDAP (Lightweight Directory Access Protocol) is a protocol for accessing directory services that store information about users and groups. The system authenticates users against an LDAP directory and takes their groups from it. The connection to the directory is configured in the realm of the server and in the configuration of the OAuth service.

View all tags

Administration of users, roles and OAuth (mercury-gui-auth)

The application mercury-gui-auth is a web panel for the data of authentication and authorization of Mercury DB (HgDB) 3.0: local users, role mappings, a read-only view of the LDAP directory, OAuth 2.0 clients and the license key of the panel itself. Until now these data were edited directly in the database. The panel is installed with the server (a WAR next to mercury-ws-app) and is available at /mercury-gui-auth/ui/home.

Integration with LDAP repository

Mercury DB (HgDB) 3.0 authenticates users against an LDAP directory and a local repository of users, and it takes their groups and roles from them. The LDAP connection is defined in two separate places, because the OAuth service is a separate mechanism: it builds its own realm from its own configuration file and does not use the realm from server.xml. A change made in only one of them leaves the system inconsistent. This page describes both places and the role mapping.