Class BaseAdapter<U extends UserIdentityModel,G extends GroupIdentityModel>
java.lang.Object
com.exclamationlabs.connid.base.connector.adapter.BaseAdapter<U,G>
- Direct Known Subclasses:
BaseGroupsAdapter
,BaseUsersAdapter
public abstract class BaseAdapter<U extends UserIdentityModel,G extends GroupIdentityModel> extends Object
Base attribute class describing composition of an Adapter.
Since the Adapter is the glue between the Connector (which communicates
with Midpoint) and the Driver (which communicates with an external IAM data source),
it has to hold a reference to the Driver so it can communicate with it.
Do not subclass this type, instead subclass BaseGroupsAdapter or BaseUsersAdapter.
-
Constructor Summary
Constructors Constructor Description BaseAdapter()
-
Method Summary
Modifier and Type Method Description abstract org.identityconnectors.framework.common.objects.Uid
create(Set<org.identityconnectors.framework.common.objects.Attribute> attributes)
Service a request from IAM system to create the type on the destination system.abstract void
delete(org.identityconnectors.framework.common.objects.Uid uid)
Service a request from IAM system to delete the type on the destination system.abstract void
get(String query, org.identityconnectors.framework.common.objects.ResultsHandler resultsHandler)
Service a request from IAM to get one, some, or all items of a data type from the destination system.protected org.identityconnectors.framework.common.objects.ConnectorObjectBuilder
getConnectorObjectBuilder(IdentityModel identity)
Driver<U,G>
getDriver()
protected abstract org.identityconnectors.framework.common.objects.ObjectClass
getType()
protected boolean
queryAllRecords(String query)
void
setDriver(Driver<U,G> component)
abstract org.identityconnectors.framework.common.objects.Uid
update(org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> attributes)
Service a request from IAM system to update the type on the destination system.
-
Constructor Details
-
BaseAdapter
public BaseAdapter()
-
-
Method Details
-
getType
protected abstract org.identityconnectors.framework.common.objects.ObjectClass getType() -
create
public abstract org.identityconnectors.framework.common.objects.Uid create(Set<org.identityconnectors.framework.common.objects.Attribute> attributes)Service a request from IAM system to create the type on the destination system.- Parameters:
attributes
- Attributes from IAM system that map to data elements needed by the destination system for type creation.- Returns:
- new unique identifier for newly created type
-
update
public abstract org.identityconnectors.framework.common.objects.Uid update(org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> attributes)Service a request from IAM system to update the type on the destination system.- Parameters:
uid
- Unique identifier for the data item being updated.attributes
- Attributes from IAM system that map to data elements supported by the destination system to update the type.- Returns:
- unique identifier applicable to the type that was just updated
-
delete
public abstract void delete(org.identityconnectors.framework.common.objects.Uid uid)Service a request from IAM system to delete the type on the destination system.- Parameters:
uid
- Unique identifier for the data item to be deleted.
-
get
public abstract void get(String query, org.identityconnectors.framework.common.objects.ResultsHandler resultsHandler)Service a request from IAM to get one, some, or all items of a data type from the destination system.- Parameters:
query
- Query string to help identify which item(s) need to be retrieved.resultsHandler
- ConnId ResultsHandler object used to send result data back to IAM system.
-
setDriver
-
getDriver
-
getConnectorObjectBuilder
protected final org.identityconnectors.framework.common.objects.ConnectorObjectBuilder getConnectorObjectBuilder(IdentityModel identity) -
queryAllRecords
-