public class LdapProtocol extends Object
| 构造器和说明 |
|---|
LdapProtocol(org.pentaho.di.core.logging.LogChannelInterface log,
org.pentaho.di.core.variables.VariableSpace variableSpace,
LdapMeta meta,
Collection<String> binaryAttributes) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
connect(String username,
String password) |
protected InitialLdapContext |
createLdapContext(Hashtable<String,String> env) |
protected void |
doConnect(String username,
String password) |
protected String |
getConnectionPrefix() |
InitialLdapContext |
getCtx() |
static String |
getName()
Method signature used by factory to get display name, method should exist in every ldap protocol
|
protected void |
setupEnvironment(Map<String,String> env,
String username,
String password) |
public LdapProtocol(org.pentaho.di.core.logging.LogChannelInterface log,
org.pentaho.di.core.variables.VariableSpace variableSpace,
LdapMeta meta,
Collection<String> binaryAttributes)
public InitialLdapContext getCtx()
protected String getConnectionPrefix()
public static String getName()
protected void setupEnvironment(Map<String,String> env, String username, String password) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionprotected InitialLdapContext createLdapContext(Hashtable<String,String> env) throws NamingException
NamingExceptionprotected void doConnect(String username, String password) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic final void connect(String username, String password) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void close()
throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionCopyright © 2024 Hitachi Vantara. All rights reserved.