LdapAuth 4.1 adds support for binary LDAP attributes
LdapAuth 4.1 can retrieve LDAP attributes requested with
the ;binary option and return their values as BASE64-encoded strings in its
JSON-RPC responses.
Example user.authGet response that
includes a binary LDAP attribute (jpegPhoto):
{
"DN": "uid=dan,ou=people,dc=wonderland,dc=net",
"attributes": {
"jpegPhoto": "9j4AAQSkZJRgABAQEASABIAADgATQ3JlYXRlZCB3aXRoIEdJTVD2df...",
"phone": [
"+1 360 654 0292",
"+1 084 476 3276",
"+1 084 482 5229"
],
"name": "Dan Davies",
"userID": "dan",
"email": [
"dan@wonderland.net"
]
}
}
Connect2id server deployments that use LDAP can integrate LdapAuth into the login UI for user authentication. Binary attribute retrieval also makes it possible to pass a directory-backed profile picture to the login UI, so it can be displayed once the user is identified and on other identity provider pages. The photo attribute and retrieval configuration depend on the directory.