org.identityconnectors.ldap
Class LdapConnection

java.lang.Object
  extended by org.identityconnectors.ldap.LdapConnection

public class LdapConnection
extends Object


Nested Class Summary
static class LdapConnection.AuthenticationResult
           
static class LdapConnection.AuthenticationResultType
           
static class LdapConnection.ServerType
           
 
Constructor Summary
LdapConnection(LdapConfiguration config)
           
 
Method Summary
 LdapConnection.AuthenticationResult authenticate(String entryDN, org.identityconnectors.common.security.GuardedString password)
           
 void checkAlive()
           
 void close()
           
 LdapNativeSchema createNativeSchema()
           
 String format(String key, String dflt, Object... args)
           
 LdapConfiguration getConfiguration()
           
 LdapContext getInitialContext()
           
 LdapSchemaMapping getSchemaMapping()
           
 LdapConnection.ServerType getServerType()
           
 boolean isBinarySyntax(String attrName)
           
 boolean needsBinaryOption(String attrName)
           
 boolean supportsControl(String oid)
          Returns true if the control with the given OID is supported by the server.
 void test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapConnection

public LdapConnection(LdapConfiguration config)
Method Detail

format

public String format(String key,
                     String dflt,
                     Object... args)

getConfiguration

public LdapConfiguration getConfiguration()

getInitialContext

public LdapContext getInitialContext()

close

public void close()

getSchemaMapping

public LdapSchemaMapping getSchemaMapping()

createNativeSchema

public LdapNativeSchema createNativeSchema()

authenticate

public LdapConnection.AuthenticationResult authenticate(String entryDN,
                                                        org.identityconnectors.common.security.GuardedString password)

test

public void test()

checkAlive

public void checkAlive()

supportsControl

public boolean supportsControl(String oid)
Returns true if the control with the given OID is supported by the server.


getServerType

public LdapConnection.ServerType getServerType()

needsBinaryOption

public boolean needsBinaryOption(String attrName)

isBinarySyntax

public boolean isBinarySyntax(String attrName)


Copyright © 2012. All Rights Reserved.