AnsweredAssumed Answered

Retreive User's/Group's Csutom Infos from LDAP

Question asked by on Apr 29, 2019
Latest reply on May 21, 2019 by


We configured APS to be synced with LDAP (Active Directory).
We want to get some extra infos from LDAP like the manager, phone number, address... of a specific user.

We planned to create a spring bean (@Component) with couple of functions that retrun a serializable User (Custom class) object which contains all required infos of the user:

pulic class LDAPUserService {

     public User getUserByEmail(String email) {
          User user = new User();
          //Connect to LDAP
          //Get user infos using some LDAP search query
          //Get the result and prepare the user instance
          return user;

We want to know if this is the best way to ge such infos