Class ConnectorFacadeProxy

  • All Implemented Interfaces:
    org.apache.syncope.core.provisioning.api.Connector

    public class ConnectorFacadeProxy
    extends Object
    implements org.apache.syncope.core.provisioning.api.Connector
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectorFacadeProxy​(org.apache.syncope.core.persistence.api.entity.ConnInstance connInstance, AsyncConnectorFacade asyncFacade)
      Use the passed connector instance to build a ConnectorFacade that will be used to make all wrapped calls.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.identityconnectors.framework.common.objects.Uid authenticate​(String username, String password, org.identityconnectors.framework.common.objects.OperationOptions options)  
      org.identityconnectors.framework.common.objects.Uid create​(org.identityconnectors.framework.common.objects.ObjectClass objectClass, Set<org.identityconnectors.framework.common.objects.Attribute> attrs, org.identityconnectors.framework.common.objects.OperationOptions options, AtomicReference<Boolean> propagationAttempted)  
      void delete​(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.Uid uid, org.identityconnectors.framework.common.objects.OperationOptions options, AtomicReference<Boolean> propagationAttempted)  
      void dispose()  
      void filteredReconciliation​(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.apache.syncope.core.provisioning.api.pushpull.ReconFilterBuilder filterBuilder, org.identityconnectors.framework.common.objects.SyncResultsHandler handler, org.identityconnectors.framework.common.objects.OperationOptions options)  
      void fullReconciliation​(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.SyncResultsHandler handler, org.identityconnectors.framework.common.objects.OperationOptions options)  
      org.apache.syncope.core.persistence.api.entity.ConnInstance getConnInstance()  
      org.identityconnectors.framework.common.objects.SyncToken getLatestSyncToken​(org.identityconnectors.framework.common.objects.ObjectClass objectClass)  
      org.identityconnectors.framework.common.objects.ConnectorObject getObject​(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.Attribute connObjectKey, boolean ignoreCaseMatch, org.identityconnectors.framework.common.objects.OperationOptions options)  
      Set<org.identityconnectors.framework.common.objects.ObjectClassInfo> getObjectClassInfo()  
      org.identityconnectors.framework.common.objects.SearchResult search​(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.filter.Filter filter, org.identityconnectors.framework.spi.SearchResultsHandler handler, org.identityconnectors.framework.common.objects.OperationOptions options)  
      void sync​(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.SyncToken token, org.identityconnectors.framework.common.objects.SyncResultsHandler handler, org.identityconnectors.framework.common.objects.OperationOptions options)  
      void test()  
      String toString()  
      org.identityconnectors.framework.common.objects.Uid update​(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.Attribute> attrs, org.identityconnectors.framework.common.objects.OperationOptions options, AtomicReference<Boolean> propagationAttempted)  
      Set<org.identityconnectors.framework.common.objects.AttributeDelta> updateDelta​(org.identityconnectors.framework.common.objects.ObjectClass objectClass, org.identityconnectors.framework.common.objects.Uid uid, Set<org.identityconnectors.framework.common.objects.AttributeDelta> modifications, org.identityconnectors.framework.common.objects.OperationOptions options, AtomicReference<Boolean> propagationAttempted)  
      void validate()  
      • Methods inherited from interface org.apache.syncope.core.provisioning.api.Connector

        search
    • Constructor Detail

      • ConnectorFacadeProxy

        public ConnectorFacadeProxy​(org.apache.syncope.core.persistence.api.entity.ConnInstance connInstance,
                                    AsyncConnectorFacade asyncFacade)
        Use the passed connector instance to build a ConnectorFacade that will be used to make all wrapped calls.
        Parameters:
        connInstance - the connector instance
        asyncFacade - the async connectot facade
        See Also:
        ConnectorInfo, APIConfiguration, ConfigurationProperties, ConnectorFacade
    • Method Detail

      • authenticate

        public org.identityconnectors.framework.common.objects.Uid authenticate​(String username,
                                                                                String password,
                                                                                org.identityconnectors.framework.common.objects.OperationOptions options)
        Specified by:
        authenticate in interface org.apache.syncope.core.provisioning.api.Connector
      • create

        public org.identityconnectors.framework.common.objects.Uid create​(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                                                                          Set<org.identityconnectors.framework.common.objects.Attribute> attrs,
                                                                          org.identityconnectors.framework.common.objects.OperationOptions options,
                                                                          AtomicReference<Boolean> propagationAttempted)
        Specified by:
        create in interface org.apache.syncope.core.provisioning.api.Connector
      • update

        public org.identityconnectors.framework.common.objects.Uid update​(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                                                                          org.identityconnectors.framework.common.objects.Uid uid,
                                                                          Set<org.identityconnectors.framework.common.objects.Attribute> attrs,
                                                                          org.identityconnectors.framework.common.objects.OperationOptions options,
                                                                          AtomicReference<Boolean> propagationAttempted)
        Specified by:
        update in interface org.apache.syncope.core.provisioning.api.Connector
      • updateDelta

        public Set<org.identityconnectors.framework.common.objects.AttributeDelta> updateDelta​(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                                                                                               org.identityconnectors.framework.common.objects.Uid uid,
                                                                                               Set<org.identityconnectors.framework.common.objects.AttributeDelta> modifications,
                                                                                               org.identityconnectors.framework.common.objects.OperationOptions options,
                                                                                               AtomicReference<Boolean> propagationAttempted)
        Specified by:
        updateDelta in interface org.apache.syncope.core.provisioning.api.Connector
      • delete

        public void delete​(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                           org.identityconnectors.framework.common.objects.Uid uid,
                           org.identityconnectors.framework.common.objects.OperationOptions options,
                           AtomicReference<Boolean> propagationAttempted)
        Specified by:
        delete in interface org.apache.syncope.core.provisioning.api.Connector
      • sync

        public void sync​(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                         org.identityconnectors.framework.common.objects.SyncToken token,
                         org.identityconnectors.framework.common.objects.SyncResultsHandler handler,
                         org.identityconnectors.framework.common.objects.OperationOptions options)
        Specified by:
        sync in interface org.apache.syncope.core.provisioning.api.Connector
      • getLatestSyncToken

        public org.identityconnectors.framework.common.objects.SyncToken getLatestSyncToken​(org.identityconnectors.framework.common.objects.ObjectClass objectClass)
        Specified by:
        getLatestSyncToken in interface org.apache.syncope.core.provisioning.api.Connector
      • fullReconciliation

        public void fullReconciliation​(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                                       org.identityconnectors.framework.common.objects.SyncResultsHandler handler,
                                       org.identityconnectors.framework.common.objects.OperationOptions options)
        Specified by:
        fullReconciliation in interface org.apache.syncope.core.provisioning.api.Connector
      • filteredReconciliation

        public void filteredReconciliation​(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                                           org.apache.syncope.core.provisioning.api.pushpull.ReconFilterBuilder filterBuilder,
                                           org.identityconnectors.framework.common.objects.SyncResultsHandler handler,
                                           org.identityconnectors.framework.common.objects.OperationOptions options)
        Specified by:
        filteredReconciliation in interface org.apache.syncope.core.provisioning.api.Connector
      • getObjectClassInfo

        public Set<org.identityconnectors.framework.common.objects.ObjectClassInfo> getObjectClassInfo()
        Specified by:
        getObjectClassInfo in interface org.apache.syncope.core.provisioning.api.Connector
      • validate

        public void validate()
        Specified by:
        validate in interface org.apache.syncope.core.provisioning.api.Connector
      • test

        public void test()
        Specified by:
        test in interface org.apache.syncope.core.provisioning.api.Connector
      • getObject

        public org.identityconnectors.framework.common.objects.ConnectorObject getObject​(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                                                                                         org.identityconnectors.framework.common.objects.Attribute connObjectKey,
                                                                                         boolean ignoreCaseMatch,
                                                                                         org.identityconnectors.framework.common.objects.OperationOptions options)
        Specified by:
        getObject in interface org.apache.syncope.core.provisioning.api.Connector
      • search

        public org.identityconnectors.framework.common.objects.SearchResult search​(org.identityconnectors.framework.common.objects.ObjectClass objectClass,
                                                                                   org.identityconnectors.framework.common.objects.filter.Filter filter,
                                                                                   org.identityconnectors.framework.spi.SearchResultsHandler handler,
                                                                                   org.identityconnectors.framework.common.objects.OperationOptions options)
        Specified by:
        search in interface org.apache.syncope.core.provisioning.api.Connector
      • dispose

        public void dispose()
        Specified by:
        dispose in interface org.apache.syncope.core.provisioning.api.Connector
      • getConnInstance

        public org.apache.syncope.core.persistence.api.entity.ConnInstance getConnInstance()
        Specified by:
        getConnInstance in interface org.apache.syncope.core.provisioning.api.Connector