Modifier and Type | Method and Description |
---|---|
OperationOptions |
ObjectClassRunner.getOperationOptionsByOp(ObjectClass objectClass,
Class<? extends APIOperation> clazz)
Gets OperationOptions suitable for specified operation.
|
OperationOptions |
ContractTestBase.getOperationOptionsByOp(ObjectClass objectClass,
Class<? extends APIOperation> clazz)
Gets OperationOptions suitable for specified operation.
|
OperationOptions |
ScriptOnResourceApiOpTests.getOperationOptionsByOp(ObjectClass objectClass,
Class<? extends APIOperation> clazz) |
Modifier and Type | Method and Description |
---|---|
static Uid |
ConnectorHelper.createObject(ConnectorFacade connectorFacade,
DataProvider dataProvider,
ObjectClassInfo objectClassInfo,
String testName,
int sequenceNumber,
OperationOptions opOptions)
gets the attributes for you
|
static Uid |
ConnectorHelper.createObject(ConnectorFacade connectorFacade,
DataProvider dataProvider,
ObjectClassInfo objectClassInfo,
String testName,
String qualifier,
int sequenceNumber,
OperationOptions opOptions)
gets the attributes for you, appending the qualifier to the attribute name
|
static boolean |
ConnectorHelper.deleteObject(ConnectorFacade connectorFacade,
ObjectClass objClass,
Uid uid,
boolean failOnError,
OperationOptions opOptions)
Performs deletion of object specified by uid.
|
static List<ConnectorObject> |
ConnectorHelper.search(ConnectorFacade connectorFacade,
ObjectClass objClass,
Filter filter,
OperationOptions opOptions)
Performs search on connector facade with specified object class, filter and operation options.
|
static Map<Uid,ConnectorObject> |
ConnectorHelper.search2Map(ConnectorFacade connectorFacade,
ObjectClass objClass,
Filter filter,
OperationOptions opOptions)
Performs search on connector facade with specified object class, filter and operation options.
|
static List<SyncDelta> |
ConnectorHelper.sync(ConnectorFacade connectorFacade,
ObjectClass objClass,
SyncToken token,
OperationOptions opOptions)
Performs sync on connector facade.
|
Modifier and Type | Method and Description |
---|---|
Uid |
UpdateApiOp.addAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToAdd,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
adding to the current values of each attribute the values provided. |
Uid |
AuthenticationApiOp.authenticate(ObjectClass objectClass,
String username,
GuardedString password,
OperationOptions options)
Most basic authentication available.
|
Uid |
CreateApiOp.create(ObjectClass objectClass,
Set<Attribute> createAttributes,
OperationOptions options)
Create a target object based on the specified attributes.
|
void |
DeleteApiOp.delete(ObjectClass objectClass,
Uid uid,
OperationOptions options)
Delete the object that the specified Uid identifies (if any).
|
ConnectorObject |
GetApiOp.getObject(ObjectClass objectClass,
Uid uid,
OperationOptions options)
Get a particular
ConnectorObject based on the Uid . |
Uid |
UpdateApiOp.removeAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToRemove,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
removing from the current values of each attribute the values provided. |
Uid |
ResolveUsernameApiOp.resolveUsername(ObjectClass objectClass,
String username,
OperationOptions options)
Resolve the given
authentication username to
the corresponding Uid . |
Object |
ScriptOnConnectorApiOp.runScriptOnConnector(ScriptContext request,
OperationOptions options)
Runs the script.
|
Object |
ScriptOnResourceApiOp.runScriptOnResource(ScriptContext request,
OperationOptions options)
Runs a script on a specific target resource.
|
SearchResult |
SearchApiOp.search(ObjectClass objectClass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
Search the resource for all objects that match the object class and
filter.
|
SyncToken |
SyncApiOp.sync(ObjectClass objectClass,
SyncToken token,
SyncResultsHandler handler,
OperationOptions options)
Request synchronization events--i.e., native changes to target objects.
|
Uid |
UpdateApiOp.update(ObjectClass objectClass,
Uid uid,
Set<Attribute> replaceAttributes,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
replacing the current values of each attribute with the values provided. |
Set<AttributeDelta> |
UpdateDeltaApiOp.updateDelta(ObjectClass objclass,
Uid uid,
Set<AttributeDelta> modifications,
OperationOptions options) |
Modifier and Type | Method and Description |
---|---|
OperationOptions |
OperationOptionsBuilder.build()
Creates the
OperationOptions . |
Constructor and Description |
---|
OperationOptionsBuilder(OperationOptions options)
Create a builder from an existing set of options.
|
Modifier and Type | Method and Description |
---|---|
Uid |
AbstractConnectorFacade.addAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> attrs,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
adding to the current values of each attribute the values provided. |
Uid |
AbstractConnectorFacade.authenticate(ObjectClass objectClass,
String username,
GuardedString password,
OperationOptions options)
Most basic authentication available.
|
Uid |
AbstractConnectorFacade.create(ObjectClass objectClass,
Set<Attribute> createAttributes,
OperationOptions options)
Create a target object based on the specified attributes.
|
void |
AbstractConnectorFacade.delete(ObjectClass objectClass,
Uid uid,
OperationOptions options)
Delete the object that the specified Uid identifies (if any).
|
ConnectorObject |
AbstractConnectorFacade.getObject(ObjectClass objectClass,
Uid uid,
OperationOptions options)
Get a particular
ConnectorObject based on the Uid . |
Uid |
AbstractConnectorFacade.removeAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> attrs,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
removing from the current values of each attribute the values provided. |
Uid |
AbstractConnectorFacade.resolveUsername(ObjectClass objectClass,
String username,
OperationOptions options)
Resolve the given
authentication username to
the corresponding Uid . |
Object |
AbstractConnectorFacade.runScriptOnConnector(ScriptContext request,
OperationOptions options)
Runs the script.
|
Object |
AbstractConnectorFacade.runScriptOnResource(ScriptContext request,
OperationOptions options)
Runs a script on a specific target resource.
|
SearchResult |
AbstractConnectorFacade.search(ObjectClass objectClass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
Search the resource for all objects that match the object class and
filter.
|
SyncToken |
AbstractConnectorFacade.sync(ObjectClass objectClass,
SyncToken token,
SyncResultsHandler handler,
OperationOptions options)
Request synchronization events--i.e., native changes to target objects.
|
Uid |
AbstractConnectorFacade.update(ObjectClass objectClass,
Uid uid,
Set<Attribute> attrs,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
replacing the current values of each attribute with the values provided. |
Set<AttributeDelta> |
AbstractConnectorFacade.updateDelta(ObjectClass objectClass,
Uid uid,
Set<AttributeDelta> attrsDelta,
OperationOptions options) |
Modifier and Type | Method and Description |
---|---|
Uid |
UpdateImpl.addAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToAdd,
OperationOptions options) |
Uid |
AuthenticationImpl.authenticate(ObjectClass objectClass,
String username,
GuardedString password,
OperationOptions options)
Authenticate using the basic credentials.
|
Uid |
CreateImpl.create(ObjectClass objectClass,
Set<Attribute> createAttributes,
OperationOptions options)
Calls the create method on the Connector side.
|
void |
DeleteImpl.delete(ObjectClass objectClass,
Uid uid,
OperationOptions options)
Calls the delete method on the Connector side.
|
ConnectorObject |
GetImpl.getObject(ObjectClass objectClass,
Uid uid,
OperationOptions options) |
static void |
SearchImpl.rawSearch(SearchOp<?> search,
ObjectClass objectClass,
Filter filter,
SearchResultsHandler handler,
OperationOptions options,
ConnectorOperationalContext operationalContext)
Public static because it is used by TestHelpersImpl.
|
Uid |
UpdateImpl.removeAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToRemove,
OperationOptions options) |
Uid |
ResolveUsernameImpl.resolveUsername(ObjectClass objectClass,
String username,
OperationOptions options)
Resolve the username to an
Uid . |
Object |
ScriptOnConnectorImpl.runScriptOnConnector(ScriptContext request,
OperationOptions options) |
Object |
ScriptOnResourceImpl.runScriptOnResource(ScriptContext request,
OperationOptions options) |
SearchResult |
SearchImpl.search(ObjectClass objectClass,
Filter originalFilter,
ResultsHandler handler,
OperationOptions options)
Call the SPI search routines to return the results to the
ResultsHandler . |
SyncToken |
SyncImpl.sync(ObjectClass objectClass,
SyncToken token,
SyncResultsHandler handler,
OperationOptions options) |
Uid |
UpdateImpl.update(ObjectClass objectClass,
Uid uid,
Set<Attribute> replaceAttributes,
OperationOptions options) |
Set<AttributeDelta> |
UpdateDeltaImpl.updateDelta(ObjectClass objclass,
Uid uid,
Set<AttributeDelta> modifications,
OperationOptions options) |
Modifier and Type | Method and Description |
---|---|
SearchResult |
TestHelpersImpl.search(SearchOp<?> search,
ObjectClass objectClass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
Performs a raw, unfiltered search at the SPI level, eliminating
duplicates from the result set.
|
Modifier and Type | Method and Description |
---|---|
Uid |
UpdateAttributeValuesOp.addAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToAdd,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
adding to the current values of each attribute the values provided. |
Uid |
AuthenticateOp.authenticate(ObjectClass objectClass,
String username,
GuardedString password,
OperationOptions options)
Simple authentication with two parameters presumed to be user name and
password.
|
Uid |
CreateOp.create(ObjectClass objectClass,
Set<Attribute> createAttributes,
OperationOptions options)
The
Connector developer is responsible for taking the attributes
given (which always includes the ObjectClass ) and create an
object and its Uid . |
FilterTranslator<T> |
SearchOp.createFilterTranslator(ObjectClass objectClass,
OperationOptions options)
Creates a filter translator that will translate a specified
Filter into one or more native queries. |
void |
DeleteOp.delete(ObjectClass objectClass,
Uid uid,
OperationOptions options)
The
Connector developer is responsible for calling the native
delete methods to remove the object specified by its unique id. |
void |
SearchOp.executeQuery(ObjectClass objectClass,
T query,
ResultsHandler handler,
OperationOptions options)
ConnectorFacade calls this method once for each native query that the
SearchOp.createFilterTranslator(ObjectClass, OperationOptions) produces in response to the
Filter passed into SearchApiOp.search(org.identityconnectors.framework.common.objects.ObjectClass, org.identityconnectors.framework.common.objects.filter.Filter, org.identityconnectors.framework.common.objects.ResultsHandler, org.identityconnectors.framework.common.objects.OperationOptions) . |
Uid |
UpdateAttributeValuesOp.removeAttributeValues(ObjectClass objclass,
Uid uid,
Set<Attribute> valuesToRemove,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
removing from the current values of each attribute the values provided. |
Uid |
ResolveUsernameOp.resolveUsername(ObjectClass objectClass,
String username,
OperationOptions options)
Resolve an object to its
Uid based on its username. |
Object |
ScriptOnConnectorOp.runScriptOnConnector(ScriptContext request,
OperationOptions options)
Runs the script request.
|
Object |
ScriptOnResourceOp.runScriptOnResource(ScriptContext request,
OperationOptions options)
Run the specified script on the target resource that this
connector manages.
|
void |
SyncOp.sync(ObjectClass objectClass,
SyncToken token,
SyncResultsHandler handler,
OperationOptions options)
Request synchronization events--i.e., native changes to target objects.
|
Uid |
UpdateOp.update(ObjectClass objectClass,
Uid uid,
Set<Attribute> replaceAttributes,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
replacing the current values of each attribute with the values provided. |
Set<AttributeDelta> |
UpdateDeltaOp.updateDelta(ObjectClass objclass,
Uid uid,
Set<AttributeDelta> modifications,
OperationOptions options)
Update the object specified by the
ObjectClass and Uid ,
modifying the values according to the attribute deltas. |
Modifier and Type | Method and Description |
---|---|
static void |
TestHelpers.search(SearchOp<?> search,
ObjectClass objectClass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
Performs a raw, unfiltered search at the SPI level, eliminating
duplicates from the result set.
|
static List<ConnectorObject> |
TestHelpers.searchToList(SearchApiOp search,
ObjectClass objectClass,
Filter filter,
OperationOptions options) |
static List<ConnectorObject> |
TestHelpers.searchToList(SearchOp<?> search,
ObjectClass objectClass,
Filter filter,
OperationOptions options)
Performs a raw, unfiltered search at the SPI level, eliminating
duplicates from the result set.
|
Modifier and Type | Method and Description |
---|---|
SearchResult |
TestHelpersSpi.search(SearchOp<?> search,
ObjectClass objectClass,
Filter filter,
ResultsHandler handler,
OperationOptions options) |
Modifier and Type | Method and Description |
---|---|
Uid |
TstAbstractConnector.create(ObjectClass objectClass,
Set<Attribute> createAttributes,
OperationOptions options) |
Uid |
TstConnector.create(ObjectClass objectClass,
Set<Attribute> createAttributes,
OperationOptions options) |
FilterTranslator<Filter> |
TstAbstractConnector.createFilterTranslator(ObjectClass objectClass,
OperationOptions options) |
FilterTranslator<String> |
TstConnector.createFilterTranslator(ObjectClass objectClass,
OperationOptions options) |
void |
TstAbstractConnector.delete(ObjectClass objectClass,
Uid uid,
OperationOptions options) |
void |
TstAbstractConnector.executeQuery(ObjectClass objectClass,
Filter query,
ResultsHandler handler,
OperationOptions options) |
void |
TstConnector.executeQuery(ObjectClass objectClass,
String query,
ResultsHandler handler,
OperationOptions options) |
void |
TstAbstractConnector.sync(ObjectClass objectClass,
SyncToken token,
SyncResultsHandler handler,
OperationOptions options) |
void |
TstConnector.sync(ObjectClass objectClass,
SyncToken token,
SyncResultsHandler handler,
OperationOptions options) |
Copyright © 2022. All rights reserved.