Package | Description |
---|---|
org.identityconnectors.contract.test | |
org.identityconnectors.framework.api.operations | |
org.identityconnectors.framework.common.exceptions | |
org.identityconnectors.framework.common.objects | |
org.identityconnectors.framework.impl.api | |
org.identityconnectors.framework.impl.api.local.operations | |
org.identityconnectors.framework.impl.test | |
org.identityconnectors.framework.spi |
This is the "Service Provider Interface" package.
|
org.identityconnectors.framework.spi.operations | |
org.identityconnectors.test.common |
The
org.identityconnectors.test.common package offers a set
of utility classes and methods useful to connector tests. |
org.identityconnectors.test.common.spi | |
org.identityconnectors.testconnector |
Modifier and Type | Method and Description |
---|---|
ObjectClass |
ObjectClassRunner.getObjectClass()
Returns object class which is currently tested.
|
static ObjectClass |
ConnectorHelper.getObjectClassFromObjectClassInfo(ObjectClassInfo objectClassInfo)
Returns object class based on object class info.
|
ObjectClass |
ObjectClassRunner.getSupportedObjectClass()
Always returns supported object class by connector operation.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ConnectorHelper.deleteObject(ConnectorFacade connectorFacade,
ObjectClass objClass,
Uid uid,
boolean failOnError,
OperationOptions opOptions)
Performs deletion of object specified by uid.
|
static boolean |
ConnectorHelper.operationsSupported(ConnectorFacade connectorFacade,
ObjectClass oClass,
Set<Class<? extends APIOperation>> operations)
check to see if a particular objectclass supports a particular operations To succeed all the operations must be
supported.
|
static boolean |
ConnectorHelper.operationSupported(ConnectorFacade connectorFacade,
ObjectClass oClass,
Class<? extends APIOperation> operation)
check to see if a particular objectclass supports a particular operation
|
static boolean |
ConnectorHelper.operationSupported(ConnectorFacade connectorFacade,
ObjectClass oClass,
Class<? extends APIOperation> operation1,
Class<? extends APIOperation> operation2)
check to see if a particular objectclass supports a particular operations
|
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.
|
Constructor and Description |
---|
AttributeTests(ObjectClass oclass) |
AuthenticationApiOpTests(ObjectClass oclass) |
CreateApiOpTests(ObjectClass oclass) |
DeleteApiOpTests(ObjectClass oclass) |
GetApiOpTests(ObjectClass oclass) |
MultiOpTests(ObjectClass oclass)
Contructor
|
ObjectClassRunner(ObjectClass oclass)
Base class for running
ObjectClass across a test. |
ResolveUsernameApiOpTests(ObjectClass oclass) |
SearchApiOpTests(ObjectClass oclass) |
SyncApiOpTests(ObjectClass oclass) |
UpdateApiOpTests(ObjectClass objectClass) |
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 oclass,
Set<Attribute> attrs,
OperationOptions options)
Create a target object based on the specified attributes.
|
void |
DeleteApiOp.delete(ObjectClass objClass,
Uid uid,
OperationOptions options)
Delete the object that the specified Uid identifies (if any).
|
SyncToken |
SyncApiOp.getLatestSyncToken(ObjectClass objClass)
Returns the token corresponding to the most recent synchronization event
for any instance of the specified object class.
|
ConnectorObject |
GetApiOp.getObject(ObjectClass objClass,
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 . |
void |
SearchApiOp.search(ObjectClass oclass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
Search the resource for all objects that match the object class and filter.
|
void |
SyncApiOp.sync(ObjectClass objClass,
SyncToken token,
SyncResultsHandler handler,
OperationOptions options)
Request synchronization events--i.e., native changes to target objects.
|
Uid |
UpdateApiOp.update(ObjectClass objclass,
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. |
Constructor and Description |
---|
UnknownUidException(Uid uid,
ObjectClass objclass) |
Modifier and Type | Field and Description |
---|---|
static ObjectClass |
ObjectClass.ACCOUNT
Represents a human being in the context of a specific system or application.
|
static ObjectClass |
ObjectClass.GROUP
Represents a collection that contains an object (such as an account).
|
Modifier and Type | Method and Description |
---|---|
ObjectClass |
QualifiedUid.getObjectClass()
Returns the object class.
|
ObjectClass |
ConnectorObject.getObjectClass()
Gets the
ObjectClass for this object. |
Modifier and Type | Method and Description |
---|---|
static boolean |
ObjectClassUtil.isSpecial(ObjectClass oclass)
Determines whether the specified object class is a special object class.
|
ConnectorObjectBuilder |
ConnectorObjectBuilder.setObjectClass(ObjectClass oclass) |
Constructor and Description |
---|
ConnectorObject(ObjectClass objectClass,
Set<? extends Attribute> set)
Public only for serialization; please use
ConnectorObjectBuilder . |
QualifiedUid(ObjectClass objectClass,
Uid uid)
Create a QualifiedUid.
|
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 oclass,
Set<Attribute> attrs,
OperationOptions options)
Create a target object based on the specified attributes.
|
void |
AbstractConnectorFacade.delete(ObjectClass objClass,
Uid uid,
OperationOptions options)
Delete the object that the specified Uid identifies (if any).
|
SyncToken |
AbstractConnectorFacade.getLatestSyncToken(ObjectClass objectClass)
Returns the token corresponding to the most recent synchronization event
for any instance of the specified object class.
|
ConnectorObject |
AbstractConnectorFacade.getObject(ObjectClass objClass,
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 . |
void |
AbstractConnectorFacade.search(ObjectClass oclass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
Search the resource for all objects that match the object class and filter.
|
void |
AbstractConnectorFacade.sync(ObjectClass objClass,
SyncToken token,
SyncResultsHandler handler,
OperationOptions options)
Request synchronization events--i.e., native changes to target objects.
|
Uid |
AbstractConnectorFacade.update(ObjectClass objclass,
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. |
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 oclass,
Set<Attribute> attributes,
OperationOptions options)
Calls the create method on the Connector side.
|
void |
DeleteImpl.delete(ObjectClass objClass,
Uid uid,
OperationOptions options)
Calls the delete method on the Connector side.
|
SyncToken |
SyncImpl.getLatestSyncToken(ObjectClass objectClass) |
ObjectNormalizerFacade |
ConnectorAPIOperationRunner.getNormalizer(ObjectClass oclass) |
ConnectorObject |
GetImpl.getObject(ObjectClass objClass,
Uid uid,
OperationOptions options) |
static void |
SearchImpl.rawSearch(SearchOp<?> search,
ObjectClass oclass,
Filter filter,
ResultsHandler handler,
OperationOptions options)
Public 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 . |
void |
SearchImpl.search(ObjectClass oclass,
Filter originalFilter,
ResultsHandler handler,
OperationOptions options)
Call the SPI search routines to return the results to the
ResultsHandler . |
void |
SyncImpl.sync(ObjectClass objClass,
SyncToken token,
SyncResultsHandler handler,
OperationOptions options) |
Uid |
UpdateImpl.update(ObjectClass objclass,
Uid uid,
Set<Attribute> replaceAttributes,
OperationOptions options) |
static void |
UpdateImpl.validateInput(ObjectClass objclass,
Uid uid,
Set<Attribute> attrs,
boolean isDelta)
Makes things easier if you can trust the input.
|
Constructor and Description |
---|
ObjectNormalizerFacade(ObjectClass objectClass,
AttributeNormalizer normalizer)
Create a new ObjectNormalizer
|
Modifier and Type | Method and Description |
---|---|
void |
TestHelpersImpl.search(SearchOp<?> search,
ObjectClass oclass,
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 |
---|---|
Attribute |
AttributeNormalizer.normalizeAttribute(ObjectClass oclass,
Attribute attribute) |
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 oclass,
Set<Attribute> attrs,
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 oclass,
OperationOptions options)
Creates a filter translator that will translate a specified
filter
into one or more native queries. |
void |
DeleteOp.delete(ObjectClass objClass,
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 oclass,
T query,
ResultsHandler handler,
OperationOptions options)
ConnectorFacade calls this method once for each native query
that the FilterTranslator
produces in response to the
Filter passed into
SearchApiOp . |
SyncToken |
SyncOp.getLatestSyncToken(ObjectClass objClass)
Returns the token corresponding to the most recent synchronization event.
|
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. |
void |
SyncOp.sync(ObjectClass objClass,
SyncToken token,
SyncResultsHandler handler,
OperationOptions options)
Request synchronization events--i.e., native changes to target objects.
|
Uid |
UpdateOp.update(ObjectClass objclass,
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. |
Modifier and Type | Method and Description |
---|---|
static void |
TestHelpers.search(SearchOp<?> search,
ObjectClass oclass,
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 oclass,
Filter filter) |
static List<ConnectorObject> |
TestHelpers.searchToList(SearchApiOp search,
ObjectClass oclass,
Filter filter,
OperationOptions options) |
static List<ConnectorObject> |
TestHelpers.searchToList(SearchOp<?> search,
ObjectClass oclass,
Filter filter)
Performs a raw, unfiltered search at the SPI level, eliminating
duplicates from the result set.
|
static List<ConnectorObject> |
TestHelpers.searchToList(SearchOp<?> search,
ObjectClass oclass,
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 |
---|---|
void |
TestHelpersSpi.search(SearchOp<?> search,
ObjectClass oclass,
Filter filter,
ResultsHandler handler,
OperationOptions options) |
Modifier and Type | Method and Description |
---|---|
Uid |
TstConnector.create(ObjectClass oclass,
Set<Attribute> attrs,
OperationOptions options) |
FilterTranslator<String> |
TstConnector.createFilterTranslator(ObjectClass oclass,
OperationOptions options) |
void |
TstConnector.executeQuery(ObjectClass oclass,
String query,
ResultsHandler handler,
OperationOptions options) |
SyncToken |
TstConnector.getLatestSyncToken(ObjectClass objClass) |
void |
TstConnector.sync(ObjectClass objClass,
SyncToken token,
SyncResultsHandler handler,
OperationOptions options) |
Copyright © 2013. All Rights Reserved.