Platform Explorer / Nuxeo Platform LTS 2015 7.10

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

Services

Extension points

Contributions

XML source

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

  <!-- the /atom/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-atom" transactional="true">
      <pattern>${org.nuxeo.ecm.contextPath}/atom/cmis(/.*)?</pattern>
    </filterConfig>
    <filterConfig name="cmis10-atom" transactional="true">
      <pattern>${org.nuxeo.ecm.contextPath}/atom/cmis10(/.*)?</pattern>
    </filterConfig>
  </extension>

  <!-- make sure no redirect for authentication happens -->
  <extension
    target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService"
    point="authenticators">
    <authenticationPlugin name="BASIC_AUTH"
      enabled="true"
      class="org.nuxeo.ecm.platform.ui.web.auth.plugins.BasicAuthenticator">
      <parameters>
        <parameter name="ForcePromptURL_CMISAtomPub">atom/cmis</parameter>
        <parameter name="ForcePromptURL_CMIS10AtomPub">atom/cmis10</parameter>
      </parameters>
    </authenticationPlugin>
  </extension>

</component>

Documentation