public class DummyConnector extends Object implements org.identityconnectors.framework.spi.PoolableConnector, 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.SchemaOp, org.identityconnectors.framework.spi.operations.ScriptOnConnectorOp, org.identityconnectors.framework.spi.operations.ScriptOnResourceOp, org.identityconnectors.framework.spi.operations.SearchOp<org.identityconnectors.framework.common.objects.filter.Filter>, org.identityconnectors.framework.spi.operations.SyncOp, org.identityconnectors.framework.spi.operations.TestOp, org.identityconnectors.framework.spi.operations.UpdateAttributeValuesOp
DummyResource
Modifier and Type | Field and Description |
---|---|
static String |
LOG_MARKER |
Constructor and Description |
---|
DummyConnector() |
Modifier and Type | Method and Description |
---|---|
org.identityconnectors.framework.common.objects.Uid |
addAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
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 objectClass,
Set<org.identityconnectors.framework.common.objects.Attribute> createAttributes,
org.identityconnectors.framework.common.objects.OperationOptions options) |
org.identityconnectors.framework.common.objects.filter.FilterTranslator<org.identityconnectors.framework.common.objects.filter.Filter> |
createFilterTranslator(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.OperationOptions options) |
void |
delete(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.Uid uid,
org.identityconnectors.framework.common.objects.OperationOptions options) |
void |
dispose()
Disposes of the connector's resources.
|
void |
executeQuery(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
org.identityconnectors.framework.common.objects.filter.Filter query,
org.identityconnectors.framework.common.objects.ResultsHandler handler,
org.identityconnectors.framework.common.objects.OperationOptions options) |
org.identityconnectors.framework.spi.Configuration |
getConfiguration()
Gets the Configuration context for this connector.
|
org.identityconnectors.framework.common.objects.SyncToken |
getLatestSyncToken(org.identityconnectors.framework.common.objects.ObjectClass objectClass) |
void |
init(org.identityconnectors.framework.spi.Configuration configuration)
Callback method to receive the
Configuration . |
org.identityconnectors.framework.common.objects.Uid |
removeAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
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) |
Object |
runScriptOnConnector(org.identityconnectors.framework.common.objects.ScriptContext request,
org.identityconnectors.framework.common.objects.OperationOptions options) |
Object |
runScriptOnResource(org.identityconnectors.framework.common.objects.ScriptContext request,
org.identityconnectors.framework.common.objects.OperationOptions options) |
org.identityconnectors.framework.common.objects.Schema |
schema() |
void |
sync(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
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 objectClass,
org.identityconnectors.framework.common.objects.Uid uid,
Set<org.identityconnectors.framework.common.objects.Attribute> replaceAttributes,
org.identityconnectors.framework.common.objects.OperationOptions options) |
public static final String LOG_MARKER
public org.identityconnectors.framework.spi.Configuration getConfiguration()
getConfiguration
in interface org.identityconnectors.framework.spi.Connector
public void init(org.identityconnectors.framework.spi.Configuration configuration)
Configuration
.init
in interface org.identityconnectors.framework.spi.Connector
Connector.init(org.identityconnectors.framework.spi.Configuration)
public void dispose()
dispose
in interface org.identityconnectors.framework.spi.Connector
Connector.dispose()
public void checkAlive()
checkAlive
in interface org.identityconnectors.framework.spi.PoolableConnector
public org.identityconnectors.framework.common.objects.Uid create(org.identityconnectors.framework.common.objects.ObjectClass objectClass, Set<org.identityconnectors.framework.common.objects.Attribute> createAttributes, org.identityconnectors.framework.common.objects.OperationOptions options)
create
in interface org.identityconnectors.framework.spi.operations.CreateOp
public org.identityconnectors.framework.common.objects.Uid update(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> replaceAttributes, org.identityconnectors.framework.common.objects.OperationOptions options)
update
in interface org.identityconnectors.framework.spi.operations.UpdateOp
public org.identityconnectors.framework.common.objects.Uid addAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> valuesToAdd, org.identityconnectors.framework.common.objects.OperationOptions options)
addAttributeValues
in interface org.identityconnectors.framework.spi.operations.UpdateAttributeValuesOp
public org.identityconnectors.framework.common.objects.Uid removeAttributeValues(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> valuesToRemove, org.identityconnectors.framework.common.objects.OperationOptions options)
removeAttributeValues
in interface org.identityconnectors.framework.spi.operations.UpdateAttributeValuesOp
public void delete(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.Uid uid, org.identityconnectors.framework.common.objects.OperationOptions options)
delete
in interface org.identityconnectors.framework.spi.operations.DeleteOp
public org.identityconnectors.framework.common.objects.Schema schema()
schema
in interface org.identityconnectors.framework.spi.operations.SchemaOp
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)
authenticate
in interface org.identityconnectors.framework.spi.operations.AuthenticateOp
public org.identityconnectors.framework.common.objects.Uid resolveUsername(org.identityconnectors.framework.common.objects.ObjectClass objectClass, String userName, org.identityconnectors.framework.common.objects.OperationOptions options)
resolveUsername
in interface org.identityconnectors.framework.spi.operations.ResolveUsernameOp
public Object runScriptOnConnector(org.identityconnectors.framework.common.objects.ScriptContext request, org.identityconnectors.framework.common.objects.OperationOptions options)
runScriptOnConnector
in interface org.identityconnectors.framework.spi.operations.ScriptOnConnectorOp
public Object runScriptOnResource(org.identityconnectors.framework.common.objects.ScriptContext request, org.identityconnectors.framework.common.objects.OperationOptions options)
runScriptOnResource
in interface org.identityconnectors.framework.spi.operations.ScriptOnResourceOp
public org.identityconnectors.framework.common.objects.filter.FilterTranslator<org.identityconnectors.framework.common.objects.filter.Filter> createFilterTranslator(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.OperationOptions options)
createFilterTranslator
in interface org.identityconnectors.framework.spi.operations.SearchOp<org.identityconnectors.framework.common.objects.filter.Filter>
public void executeQuery(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.filter.Filter query, org.identityconnectors.framework.common.objects.ResultsHandler handler, org.identityconnectors.framework.common.objects.OperationOptions options)
executeQuery
in interface org.identityconnectors.framework.spi.operations.SearchOp<org.identityconnectors.framework.common.objects.filter.Filter>
public void sync(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.SyncToken token, org.identityconnectors.framework.common.objects.SyncResultsHandler handler, org.identityconnectors.framework.common.objects.OperationOptions options)
sync
in interface org.identityconnectors.framework.spi.operations.SyncOp
public org.identityconnectors.framework.common.objects.SyncToken getLatestSyncToken(org.identityconnectors.framework.common.objects.ObjectClass objectClass)
getLatestSyncToken
in interface org.identityconnectors.framework.spi.operations.SyncOp
public void test()
test
in interface org.identityconnectors.framework.spi.operations.TestOp
Copyright © 2016 evolveum. All rights reserved.