You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2017/01/09 13:59:58 UTC

[jira] [Created] (SYNCOPE-988) Connector capabilities override not considered for actual operations

Francesco Chicchiriccò created SYNCOPE-988:
----------------------------------------------

             Summary: Connector capabilities override not considered for actual operations
                 Key: SYNCOPE-988
                 URL: https://issues.apache.org/jira/browse/SYNCOPE-988
             Project: Syncope
          Issue Type: Bug
    Affects Versions: 2.0.1, 1.2.9
            Reporter: Francesco Chicchiriccò
            Assignee: Francesco Chicchiriccò
             Fix For: 1.2.10, 2.0.2, 2.1.0


The {{ConnectorFacadeProxy}} methods do not take into account any capabilities override that could have been defined for the actual external resource, as all checks are performed against the initial {{ConnInstance}} object, as follows:

{code}
        if (connInstance.getCapabilities().contains(ConnectorCapability.SEARCH)) {
          // snip
        } else {
            LOG.info("Search was attempted, although the connector only has these capabilities: {}. No action.",
                    connInstance.getCapabilities());
        }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)