See: Description
Calling applications use the Connector API; Connector bundles implement the Connector SPI.
The Connector API (org.identityconnectors.framework.api
)
is generic (in that it can be used to manipulate any type of object, not merely accounts),
but the Connector API is optimized to support provisioning operations and password management.
Every supported operation is synchronous to the caller.
This Toolkit is designed to support development with minimal dependencies of Connector bundles that implement the SPI. The Toolkit allows a developer to implement a Connector bundle and to test the bundle within the Connector framework so there is no need to implement it or test it within the context of each calling application.
The developer of a Connector bundle is expected to implement the operations
(Java interfaces within the org.identityconnectors.framework.spi.operations
package)
that make the most sense for the target resource the developer intends to support.
The developer is expected to be appropriately flexible in tolerating inputs,
to be as reasonably robust in handling errors,
and to throw errors whenever it is prudent to do so.
Applications that use Connectors should expect
java.lang.IllegalArgumentException
,
java.lang.UnsupportedOperationException
,
java.lang.IllegalStateException
and other subclasses of java.lang.RuntimeException
.
NOTE: The developers of this framework made a conscious decision to throw RuntimeException
(and subclasses of RuntimeException
) rather than using declared exceptions.
The reasoning, briefly, is as follows:
RuntimeException
is ubiquitous; any piece of code can throw them (even without intending to do so).One of the main functions of this framework is to prevent coupling between a Connector and any application that uses it. A calling application will be coupled only to this framework and not to any specific Connector.
Copyright © 2010–2018 ForgeRock AS. All rights reserved.