org.identityconnectors.ldap
Class LdapConnector

java.lang.Object
  extended by org.identityconnectors.ldap.LdapConnector
All Implemented Interfaces:
org.identityconnectors.framework.spi.Connector, org.identityconnectors.framework.spi.operations.AuthenticateOp, org.identityconnectors.framework.spi.operations.CreateOp, org.identityconnectors.framework.spi.operations.DeleteOp, org.identityconnectors.framework.spi.operations.ResolveUsernameOp, org.identityconnectors.framework.spi.operations.SchemaOp, org.identityconnectors.framework.spi.operations.SearchOp<LdapFilter>, org.identityconnectors.framework.spi.operations.SPIOperation, org.identityconnectors.framework.spi.operations.SyncOp, org.identityconnectors.framework.spi.operations.TestOp, org.identityconnectors.framework.spi.operations.UpdateAttributeValuesOp, org.identityconnectors.framework.spi.operations.UpdateOp, org.identityconnectors.framework.spi.PoolableConnector

public class LdapConnector
extends Object
implements org.identityconnectors.framework.spi.operations.TestOp, org.identityconnectors.framework.spi.PoolableConnector, org.identityconnectors.framework.spi.operations.SchemaOp, org.identityconnectors.framework.spi.operations.SearchOp<LdapFilter>, org.identityconnectors.framework.spi.operations.AuthenticateOp, org.identityconnectors.framework.spi.operations.ResolveUsernameOp, org.identityconnectors.framework.spi.operations.CreateOp, org.identityconnectors.framework.spi.operations.DeleteOp, org.identityconnectors.framework.spi.operations.UpdateAttributeValuesOp, org.identityconnectors.framework.spi.operations.SyncOp


Constructor Summary
LdapConnector()
           
 
Method Summary
 org.identityconnectors.framework.common.objects.Uid addAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass oclass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> valuesToAdd, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 org.identityconnectors.framework.common.objects.Uid authenticate(org.identityconnectors.framework.common.objects.ObjectClass objectClass, String username, org.identityconnectors.common.security.GuardedString password, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 void checkAlive()
           
 org.identityconnectors.framework.common.objects.Uid create(org.identityconnectors.framework.common.objects.ObjectClass oclass, Set<org.identityconnectors.framework.common.objects.Attribute> attrs, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 org.identityconnectors.framework.common.objects.filter.FilterTranslator<LdapFilter> createFilterTranslator(org.identityconnectors.framework.common.objects.ObjectClass oclass, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 void delete(org.identityconnectors.framework.common.objects.ObjectClass oclass, org.identityconnectors.framework.common.objects.Uid uid, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 void dispose()
           
 void executeQuery(org.identityconnectors.framework.common.objects.ObjectClass oclass, LdapFilter query, org.identityconnectors.framework.common.objects.ResultsHandler handler, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 org.identityconnectors.framework.spi.Configuration getConfiguration()
           
 org.identityconnectors.framework.common.objects.SyncToken getLatestSyncToken(org.identityconnectors.framework.common.objects.ObjectClass oclass)
           
 void init(org.identityconnectors.framework.spi.Configuration cfg)
           
 org.identityconnectors.framework.common.objects.Uid removeAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass oclass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> valuesToRemove, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 org.identityconnectors.framework.common.objects.Uid resolveUsername(org.identityconnectors.framework.common.objects.ObjectClass objectClass, String username, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 org.identityconnectors.framework.common.objects.Schema schema()
           
 void sync(org.identityconnectors.framework.common.objects.ObjectClass oclass, org.identityconnectors.framework.common.objects.SyncToken token, org.identityconnectors.framework.common.objects.SyncResultsHandler handler, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 void test()
           
 org.identityconnectors.framework.common.objects.Uid update(org.identityconnectors.framework.common.objects.ObjectClass oclass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> replaceAttributes, org.identityconnectors.framework.common.objects.OperationOptions options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapConnector

public LdapConnector()
Method Detail

getConfiguration

public org.identityconnectors.framework.spi.Configuration getConfiguration()
Specified by:
getConfiguration in interface org.identityconnectors.framework.spi.Connector

init

public void init(org.identityconnectors.framework.spi.Configuration cfg)
Specified by:
init in interface org.identityconnectors.framework.spi.Connector

dispose

public void dispose()
Specified by:
dispose in interface org.identityconnectors.framework.spi.Connector

test

public void test()
Specified by:
test in interface org.identityconnectors.framework.spi.operations.TestOp

checkAlive

public void checkAlive()
Specified by:
checkAlive in interface org.identityconnectors.framework.spi.PoolableConnector

schema

public org.identityconnectors.framework.common.objects.Schema schema()
Specified by:
schema in interface org.identityconnectors.framework.spi.operations.SchemaOp

authenticate

public org.identityconnectors.framework.common.objects.Uid authenticate(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                                                                        String username,
                                                                        org.identityconnectors.common.security.GuardedString password,
                                                                        org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
authenticate in interface org.identityconnectors.framework.spi.operations.AuthenticateOp

resolveUsername

public org.identityconnectors.framework.common.objects.Uid resolveUsername(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                                                                           String username,
                                                                           org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
resolveUsername in interface org.identityconnectors.framework.spi.operations.ResolveUsernameOp

createFilterTranslator

public org.identityconnectors.framework.common.objects.filter.FilterTranslator<LdapFilter> createFilterTranslator(org.identityconnectors.framework.common.objects.ObjectClass oclass,
                                                                                                                  org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
createFilterTranslator in interface org.identityconnectors.framework.spi.operations.SearchOp<LdapFilter>

executeQuery

public void executeQuery(org.identityconnectors.framework.common.objects.ObjectClass oclass,
                         LdapFilter query,
                         org.identityconnectors.framework.common.objects.ResultsHandler handler,
                         org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
executeQuery in interface org.identityconnectors.framework.spi.operations.SearchOp<LdapFilter>

create

public org.identityconnectors.framework.common.objects.Uid create(org.identityconnectors.framework.common.objects.ObjectClass oclass,
                                                                  Set<org.identityconnectors.framework.common.objects.Attribute> attrs,
                                                                  org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
create in interface org.identityconnectors.framework.spi.operations.CreateOp

delete

public void delete(org.identityconnectors.framework.common.objects.ObjectClass oclass,
                   org.identityconnectors.framework.common.objects.Uid uid,
                   org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
delete in interface org.identityconnectors.framework.spi.operations.DeleteOp

update

public org.identityconnectors.framework.common.objects.Uid update(org.identityconnectors.framework.common.objects.ObjectClass oclass,
                                                                  org.identityconnectors.framework.common.objects.Uid uid,
                                                                  Set<org.identityconnectors.framework.common.objects.Attribute> replaceAttributes,
                                                                  org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
update in interface org.identityconnectors.framework.spi.operations.UpdateOp

addAttributeValues

public org.identityconnectors.framework.common.objects.Uid addAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass oclass,
                                                                              org.identityconnectors.framework.common.objects.Uid uid,
                                                                              Set<org.identityconnectors.framework.common.objects.Attribute> valuesToAdd,
                                                                              org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
addAttributeValues in interface org.identityconnectors.framework.spi.operations.UpdateAttributeValuesOp

removeAttributeValues

public org.identityconnectors.framework.common.objects.Uid removeAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass oclass,
                                                                                 org.identityconnectors.framework.common.objects.Uid uid,
                                                                                 Set<org.identityconnectors.framework.common.objects.Attribute> valuesToRemove,
                                                                                 org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
removeAttributeValues in interface org.identityconnectors.framework.spi.operations.UpdateAttributeValuesOp

getLatestSyncToken

public org.identityconnectors.framework.common.objects.SyncToken getLatestSyncToken(org.identityconnectors.framework.common.objects.ObjectClass oclass)
Specified by:
getLatestSyncToken in interface org.identityconnectors.framework.spi.operations.SyncOp

sync

public void sync(org.identityconnectors.framework.common.objects.ObjectClass oclass,
                 org.identityconnectors.framework.common.objects.SyncToken token,
                 org.identityconnectors.framework.common.objects.SyncResultsHandler handler,
                 org.identityconnectors.framework.common.objects.OperationOptions options)
Specified by:
sync in interface org.identityconnectors.framework.spi.operations.SyncOp


Copyright © 2012. All Rights Reserved.