Class NullConnector

  • All Implemented Interfaces:
    sailpoint.connector.Connector

    public class NullConnector
    extends sailpoint.connector.AbstractConnector
    A connector that swallows all operations quietly, used for demo and testing purposes
    • Field Summary

      • Fields inherited from class sailpoint.connector.AbstractConnector

        _state, CONFIG_DONT_TRANSFORM_CSV, CONFIG_DONT_TRANSFORM_CSV_ATTRS, CONFIG_FILTER_STRING, CONFIG_PAGE_SIZE, CONFIG_RETRYABLE_ERRORS, DEFAULT_PAGE_SIZE, RESPONSE_DATA_KEY
      • Fields inherited from interface sailpoint.connector.Connector

        ATT_CHILD_OBJECTS, ATT_CIQ_MULTIPLEX_IDENTITY, ATT_CIQ_SOURCE_APPLICATION, ATT_IIQ_DISABLED, ATT_IIQ_LOCKED, ATT_MULTIPLEX_IDENTITY, ATT_PRIVILEGED, ATT_SOURCE_APPLICATION, ATTR_DIRECT_PERMISSIONS, ATTR_GROUPS, ATTR_TARGET_PERMISSIONS, CONFIG_AGGREGATION_MODE, CONFIG_AUTH_SEARCH_ATTRIBUTES, CONFIG_BUILD_MAP_RULE, CONFIG_GROUP_HIERARCHY_ATTRIBUTE, CONFIG_HOST, CONFIG_JDBC_BUILD_MAP_RULE, CONFIG_JDBC_CREATE_PROVISION_RULE, CONFIG_JDBC_DELETE_PROVISION_RULE, CONFIG_JDBC_DISABLE_PROVISION_RULE, CONFIG_JDBC_ENABLE_PROVISION_RULE, CONFIG_JDBC_MODIFY_PROVISION_RULE, CONFIG_JDBC_PROVISION_RULE, CONFIG_JDBC_UNLOCK_PROVISION_RULE, CONFIG_MERGE_MAPS_RULE, CONFIG_OBJECT_FILTERS, CONFIG_PARTITION_MODE, CONFIG_PASSWORD, CONFIG_PEOPLESOFTHRMS_CREATE_PROVISION_RULE, CONFIG_PEOPLESOFTHRMS_DELETE_PROVISION_RULE, CONFIG_PEOPLESOFTHRMS_DISABLE_PROVISION_RULE, CONFIG_PEOPLESOFTHRMS_ENABLE_PROVISION_RULE, CONFIG_PEOPLESOFTHRMS_MODIFY_PROVISION_RULE, CONFIG_PEOPLESOFTHRMS_PROVISION_RULE, CONFIG_PEOPLESOFTHRMS_UNLOCK_PROVISION_RULE, CONFIG_PERMISSION_SCOPE, CONFIG_PORT, CONFIG_PROVIDER, CONFIG_PROXY_GENERATOR_RULE, CONFIG_RWS_AFTER_OPERATION_RULE, CONFIG_RWS_BEFORE_OPERATION_RULE, CONFIG_SAPHR_CREATE_PROVISION_RULE, CONFIG_SAPHR_DELETE_PROVISION_RULE, CONFIG_SAPHR_DISABLE_PROVISION_RULE, CONFIG_SAPHR_ENABLE_PROVISION_RULE, CONFIG_SAPHR_MODIFY_PROVISION_RULE, CONFIG_SAPHR_PROVISION_RULE, CONFIG_SAPHR_UNLOCK_PROVISION_RULE, CONFIG_SUCCESSFACTORS_PROVISION_RULE, CONFIG_TRANSFORMATION_RULE, CONFIG_USER, OP_AGGREGATION_TYPE, OP_ALLOW_BRUTE_FORCE_SEARCH, OP_ATTRIBUTE_NAMES, OP_DELTA_AGGREGATION, OP_INCLUDE_ACCOUNTS, OP_IS_PARTITIONED, OP_IS_TERMINATE, OP_PHASE_NAME, OP_UNIQUENESS_CHECK, PROVISION_GLOBAL_RULE, PROVISION_OPERATION_RULE, PROVISION_RULE_TYPE, SAPHR_CUSTOM_MANAGER_MODEL_RULE, SAPHR_CUSTOM_MANAGER_RULE, TYPE_ACCOUNT, TYPE_GROUP
    • Constructor Summary

      Constructors 
      Constructor Description
      NullConnector​(sailpoint.object.Application application)
      Constructs a new NullConnector of the given application type
      NullConnector​(sailpoint.object.Application application, String instance)
      Constructs a new NullConnector of the given application type and instance name
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      sailpoint.object.ResourceObject getObject​(String nativeIdentity, String filter, Map<String,​Object> options)
      Returns null, because there is no real data here
      sailpoint.tools.CloseableIterator<sailpoint.object.ResourceObject> iterateObjects​(String s, sailpoint.object.Filter filter, Map<String,​Object> map)
      Returns an empty iterator where hasNext() will always return false
      sailpoint.object.ProvisioningResult provision​(sailpoint.object.ProvisioningPlan plan)
      Swallows the provisioning operation and returns a status of Committed
      void testConfiguration()
      Tests the connector by silently succeeding
      • Methods inherited from class sailpoint.connector.AbstractConnector

        authenticate, authenticate, buildResourceObjectFromMap, checkStatus, defaultMergeMaps, defaultTransformObject, defaultTransformObject, defaultTransformObject, destroy, discoverApplicationAttributes, discoverSchema, doHealthCheck, filterPermissions, filterPermissions, getApplication, getAttributeNames, getAttributesToRetrieve, getChangeLogExtract, getConnectorType, getDefaultAttributes, getDefaultSchemas, getDependencyData, getEffectiveAttribute, getExtractPartitions, getFeatureFlagValue, getInstance, getIteratorPartitions, getLocalApplication, getLoggingPlan, getProductFlagValue, getProxiedApplication, getRealConnector, getRequiredSchemaConfig, getSchema, getSchema, getSchemaAttributeNames, getSchemaAttributes, getSchemaNativeObjectType, getSchemaPrototypeAttributeNames, getSchemas, getSecurityExtract, getStatisticsCollector, getSupportedFeatures, getSystemIdentity, getTargetApplication, getTargetInstance, getUtilizationExtract, isAccount, isGroup, isSecret, iterateObjects, logApplication, logPlan, mergeMaps, mergePermissions, saveConnectorState, saveConnectorState, setApplication, setConnectorState, setInstance, setStatisticsCollector, setSystemIdentity, setTargetApplication, setTargetInstance, shouldRetry, stringListToSchema, supportsFeature, supportsPartitionedDeltaAggregation, updateApplicationConfig
      • Methods inherited from class sailpoint.connector.CollectorServices

        addSchemaConfigs, buildList, buildStringList, buildStringList, coerceValue, getAttribute, getAttributes, getBooleanAttribute, getConnectorServices, getDecryptedAttributeValue, getEncryptedAttr, getEncryptedAttribute, getEncryptedSchemaConfig, getIntAttribute, getListAttribute, getLongAttribute, getObligatoryEncryptedAttr, getObligatoryStringAttribute, getRequiredAttribute, getRequiredEncryptedAttribute, getRequiredIntAttribute, getRequiredListAttribute, getRequiredStringAttribute, getSchemaConfig, getSchemaConfig, getSchemaConfigList, getSchemaConfigString, getStringAttribute, getStringListAttribute, runRule, setAttributes, setConnectorServices, toXml, toXml
      • Methods inherited from interface sailpoint.connector.Connector

        getConnectorServices, setConnectorServices
    • Constructor Detail

      • NullConnector

        public NullConnector​(sailpoint.object.Application application)
        Constructs a new NullConnector of the given application type
        Parameters:
        application - The application
      • NullConnector

        public NullConnector​(sailpoint.object.Application application,
                             String instance)
        Constructs a new NullConnector of the given application type and instance name
        Parameters:
        application - The application type
        instance - The instance name (usually null)
    • Method Detail

      • getObject

        public sailpoint.object.ResourceObject getObject​(String nativeIdentity,
                                                         String filter,
                                                         Map<String,​Object> options)
                                                  throws sailpoint.connector.ConnectorException
        Returns null, because there is no real data here
        Parameters:
        nativeIdentity - The native ID of the object to retrieve
        filter - A filter to apply to the object query
        options - Any retrieval options
        Returns:
        An alleged object, but actually always null
        Throws:
        sailpoint.connector.ConnectorException - on failures (never, in this case)
      • iterateObjects

        public sailpoint.tools.CloseableIterator<sailpoint.object.ResourceObject> iterateObjects​(String s,
                                                                                                 sailpoint.object.Filter filter,
                                                                                                 Map<String,​Object> map)
                                                                                          throws sailpoint.connector.ConnectorException
        Returns an empty iterator where hasNext() will always return false
        Parameters:
        s - The object type to query
        filter - The filter to iterate over
        map - A map of options
        Returns:
        An empty iterator
        Throws:
        sailpoint.connector.ConnectorException - never
      • provision

        public sailpoint.object.ProvisioningResult provision​(sailpoint.object.ProvisioningPlan plan)
                                                      throws sailpoint.connector.ConnectorException,
                                                             sailpoint.tools.GeneralException
        Swallows the provisioning operation and returns a status of Committed
        Specified by:
        provision in interface sailpoint.connector.Connector
        Overrides:
        provision in class sailpoint.connector.AbstractConnector
        Parameters:
        plan - The provisioning plan to provision (or ignore, in this case)
        Returns:
        The result of the provisioning operation, always committed
        Throws:
        sailpoint.connector.ConnectorException - on failures to provision
        sailpoint.tools.GeneralException - on failures to do IIQ stuff
      • testConfiguration

        public void testConfiguration()
                               throws sailpoint.connector.ConnectorException
        Tests the connector by silently succeeding
        Throws:
        sailpoint.connector.ConnectorException - never