Class GetLDAPData
- java.lang.Object
-
- org.ametys.plugins.datasourcesexplorer.GetLDAPData
-
- All Implemented Interfaces:
Component,Serviceable
public class GetLDAPData extends Object implements Component, Serviceable
Component to get ldap data
-
-
Constructor Summary
Constructors Constructor Description GetLDAPData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,List<Map<String,String>>>getData(String datasourceId, String dn)Get the attributes for this DNvoidservice(ServiceManager smanager)
-
-
-
Constructor Detail
-
GetLDAPData
public GetLDAPData()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getData
public Map<String,List<Map<String,String>>> getData(String datasourceId, String dn) throws ProcessingException
Get the attributes for this DN- Parameters:
datasourceId- The ldap datasource iddn- The ldap dn- Returns:
- The attributes of this ldap node
- Throws:
ProcessingException- If an error occurred with ldap
-
-