Class AsyncConnectorFacade
java.lang.Object
org.apache.syncope.core.provisioning.java.AsyncConnectorFacade
Intercept calls to ConnectorFacade's methods and check if the corresponding connector instance has been configured to
allow every single operation: if not, simply do nothing.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthenticate
(ConnectorFacade connector, String username, GuardedString password, OperationOptions options) create
(ConnectorFacade connector, ObjectClass objectClass, Set<Attribute> attrs, OperationOptions options) delete
(ConnectorFacade connector, ObjectClass objectClass, Uid uid, OperationOptions options) getLatestSyncToken
(ConnectorFacade connector, ObjectClass objectClass) getObject
(ConnectorFacade connector, ObjectClass objectClass, Attribute connObjectKey, boolean ignoreCaseMatch, OperationOptions options) getObjectClassInfo
(ConnectorFacade connector) test
(ConnectorFacade connector) update
(ConnectorFacade connector, ObjectClass objectClass, Uid uid, Set<Attribute> attrs, OperationOptions options) updateDelta
(ConnectorFacade connector, ObjectClass objectClass, Uid uid, Set<AttributeDelta> modifications, OperationOptions options) validate
(ConnectorFacade connector)
-
Constructor Details
-
AsyncConnectorFacade
public AsyncConnectorFacade()
-
-
Method Details
-
authenticate
@Async public Future<Uid> authenticate(ConnectorFacade connector, String username, GuardedString password, OperationOptions options) -
create
@Async public Future<Uid> create(ConnectorFacade connector, ObjectClass objectClass, Set<Attribute> attrs, OperationOptions options) -
update
@Async public Future<Uid> update(ConnectorFacade connector, ObjectClass objectClass, Uid uid, Set<Attribute> attrs, OperationOptions options) -
updateDelta
@Async public Future<Set<AttributeDelta>> updateDelta(ConnectorFacade connector, ObjectClass objectClass, Uid uid, Set<AttributeDelta> modifications, OperationOptions options) -
delete
@Async public Future<Uid> delete(ConnectorFacade connector, ObjectClass objectClass, Uid uid, OperationOptions options) -
getLatestSyncToken
@Async public Future<SyncToken> getLatestSyncToken(ConnectorFacade connector, ObjectClass objectClass) -
getObject
@Async public Future<ConnectorObject> getObject(ConnectorFacade connector, ObjectClass objectClass, Attribute connObjectKey, boolean ignoreCaseMatch, OperationOptions options) -
getObjectClassInfo
-
validate
-
test
-