git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-mail-servlet@118939 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
fcfcaff7fb
commit
3d05723743
|
@ -30,11 +30,13 @@ import com.liferay.portal.service.UserLocalServiceUtil;
|
|||
|
||||
public class LDAPSync implements Runnable {
|
||||
private static final Logger _log = LoggerFactory.getLogger(LDAPSync.class);
|
||||
|
||||
//TODO_ Move it to Runtime Resource
|
||||
private static final String ldapUrl = "ldap://ldap-liferay.d4science.org";
|
||||
private static final String ldapPrincipal = "cn=admin,dc=d4science,dc=org";
|
||||
private static final String ldapPwd = "poiwefhaewfkhj";
|
||||
private static final String filter = "(objectClass=inetOrgPerson)";
|
||||
|
||||
private static final String ldapPrincipal = "";
|
||||
private static final String ldapPwd = "";
|
||||
|
||||
|
||||
public LDAPSync() {
|
||||
super();
|
||||
|
@ -145,7 +147,7 @@ public class LDAPSync implements Runnable {
|
|||
|
||||
private List<User> getAllLiferayUsers() {
|
||||
String infraName = PortalContext.getConfiguration().getInfrastructureName();
|
||||
_log.debug("Reading users belonging to: /" + infraName);
|
||||
_log.info("Reading users belonging to: /" + infraName);
|
||||
|
||||
List<User> toReturn = new ArrayList<User>();
|
||||
Organization rootInfra;
|
||||
|
|
Loading…
Reference in New Issue