Changes between Initial Version and Version 1 of HBPHPCLDAP


Ignore:
Timestamp:
06/15/16 14:15:47 (8 years ago)
Author:
Carsten Karbach
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HBPHPCLDAP

    v1 v1  
     1
     2== HBP HPC LDAP server ==
     3
     4The HBP HPC LDAP server is hosted by JSC. The server provides both LDAP protocol and REST API access to the central HBP HPC LDAP server.
     5
     6=== Connection points ===
     7||Protocol||URL||Example call||
     8||LDAP||ldaps://localhost:636|| {{{ldapsearch -v -W -H ldaps://localhost:636 -D <LDAPBINDDN> -b "ou=users,dc=hbp,dc=eu" uid}}} ||
     9||REST|| https://hbpacc.zam.kfa-juelich.de/hpcmanagement/v1/doc || {{{curl -X GET --header 'Accept: application/json' 'https://hbpacc.zam.kfa-juelich.de/hpcmanagement/v1/accounts'}}} ||
     10
     11Both protocols can be used for read and write access. The REST API is intended to be simpler to use, as it offers powerful dispatch commands, which combine multiple LDAP protocol operations in a single REST call. E.g. by calling the REST function {{{https://hbpacc.zam.kfa-juelich.de/hpcmanagement/v1/accounts?oidcid=123&action=create&project=bp01}}} a bp0-account is created for the user with oidcid 123 within project bp01. To achieve that with plain LDAP protocol, the people entry for that person needs to be searched, imported into the users branch and the new account needs to be stored as member of the project entry.
     12