es.caib.bpm.utils
Class LDAPManager
java.lang.Object
es.caib.bpm.utils.LDAPManager
public class LDAPManager
- extends java.lang.Object
|
Field Summary |
org.apache.log4j.Logger |
log
|
|
Constructor Summary |
LDAPManager(java.lang.String[] params)
Constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public org.apache.log4j.Logger log
LDAPManager
public LDAPManager(java.lang.String[] params)
- Constructor
- Parameters:
params - Parámetros de configuración:
- 0 = código de usuario LDAP
- 1 = contraseña de acceso LDAP
- 2 = host
- 3 = Rama base del arbol
getConnection
public com.novell.ldap.LDAPConnection getConnection()
throws java.io.UnsupportedEncodingException,
com.novell.ldap.LDAPException
- obtiene conexión con el directorio LDAP
- Throws:
InternalErrorException - imposible conectar con el servidor LDAP
java.io.UnsupportedEncodingException
com.novell.ldap.LDAPException
closeConnection
public void closeConnection()
throws com.novell.ldap.LDAPException
- Cierra la conexion con el directorio LDAP.
- Throws:
com.novell.ldap.LDAPException
getSearchBase
public java.lang.String getSearchBase()
Copyright © 2012 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.