Platform Explorer / Nuxeo Platform 2021.49

Component org.nuxeo.ecm.core.opencmis.json.config

Resolution Order

244
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.opencmis.json.config">

  <!-- the /json/cmis part is defined in the servlet mapping in deployment-fragment.xml -->

  <extension
    target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService"
    point="filterConfig">
    <filterConfig name="cmis-json" transactional="true">
      <pattern>${org.nuxeo.ecm.contextPath}/json/cmis(/.*)?(\?.*)?</pattern>
    </filterConfig>
  </extension>

  <extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService" point="specificChains">

    <specificAuthenticationChain name="JSON_CMIS">
      <urlPatterns>
        <url>(.*)/json/cmis(/.*)?</url>
      </urlPatterns>
      <replacementChain>
        <plugin>AUTOMATION_BASIC_AUTH</plugin>
        <plugin>TOKEN_AUTH</plugin>
        <plugin>OAUTH2_AUTH</plugin>
        <plugin>JWT_AUTH</plugin>
      </replacementChain>
    </specificAuthenticationChain>

  </extension>

</component>