Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.webengine.gadget.auth.contrib--openUrl

This contribution is part of XML component org.nuxeo.webengine.gadget.auth.contrib inside nuxeo-webengine-gadgets-5.6.jar

Extension point

Extension point openUrl of component PluggableAuthenticationService.

Contributed items

  • <openUrl name="GadgetIMG">
          <grantPattern>/nuxeo/site/skin/gadgets/img/.*</grantPattern>
        </openUrl>
  • <openUrl name="GadgetCSS">
          <grantPattern>/nuxeo/site/skin/gadgets/css/.*</grantPattern>
        </openUrl>
  • <openUrl name="GadgetScripts">
          <grantPattern>/nuxeo/site/skin/gadgets/scripts/.*</grantPattern>
        </openUrl>
  • <openUrl name="OpenSocialJS">
          <grantPattern>
            /nuxeo/.*/gadgets/.*\.js
          </grantPattern>
        </openUrl>
  • <openUrl name="OpenSocialCSS">
          <grantPattern>
            /nuxeo/.*/gadgets/.*\.css
          </grantPattern>
        </openUrl>
  • <openUrl name="OpenSocialXML">
          <grantPattern>
            /nuxeo/.*/gadgets/.*\.xml
          </grantPattern>
        </openUrl>

XML source

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

    <openUrl name="GadgetIMG">
      <grantPattern>/nuxeo/site/skin/gadgets/img/.*</grantPattern>
    </openUrl>
    <openUrl name="GadgetCSS">
      <grantPattern>/nuxeo/site/skin/gadgets/css/.*</grantPattern>
    </openUrl>
    <openUrl name="GadgetScripts">
      <grantPattern>/nuxeo/site/skin/gadgets/scripts/.*</grantPattern>
    </openUrl>

    <!-- needs to be sync with opensocial.properties -->
    <openUrl name="OpenSocialJS">
      <grantPattern>
        /nuxeo/.*/gadgets/.*\.js
      </grantPattern>
    </openUrl>
    <openUrl name="OpenSocialCSS">
      <grantPattern>
        /nuxeo/.*/gadgets/.*\.css
      </grantPattern>
    </openUrl>
    <openUrl name="OpenSocialXML">
      <grantPattern>
        /nuxeo/.*/gadgets/.*\.xml
      </grantPattern>
    </openUrl>

  </extension>