http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/discovery-api-and-impl.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/discovery-api-and-impl.html b/documentation/bundles/discovery-api-and-impl.html index c049353..6c82b50 100644 --- a/documentation/bundles/discovery-api-and-impl.html +++ b/documentation/bundles/discovery-api-and-impl.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Discovery API and its implementations - </h1><div class="tags"><a href="/tags/discovery.html" class="label">discovery</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>In many situations a particular Sling-based deployment consists of several Sling instances: typically a number of instances would form a <code>cluster</code> that share a common content repository - in other situations, or additionally, instances might be loosely coupled, each with their own repository.</p> + </h1><div class="tags"><a href="/tags/discovery.html" class="label">discovery</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>In many situations a particular Sling-based deployment consists of several Sling instances: typically a number of instances would form a <code>cluster</code> that share a common content repository - in other situations, or additionally, instances might be loosely coupled, each with their own repository.</p> <p>The <code>discovery-api</code> bundle introduces an abstraction for such scenarios called <code>topology</code>. It provides access to the current topology, allows to be informed of any changes in the topology (such as joining or leaving instances) and contains a simple property exchange mechanism, e.g. to allow building communication services on top of it.</p> <p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> @@ -274,7 +276,9 @@ public class SamplePropertyProvider implements PropertyProvider { <h4><a href="#discovery-commons" name="discovery-commons">discovery.commons</a></h4> <p>This is a bundle usable by any implementation of discovery and contains very basic, implementation-independent functionality</p> <h4><a href="#discovery-base" name="discovery-base">discovery.base</a></h4> -<p>This is the base bundle solely used by discovery.impl and discovery.oak and contains exactly the mentioned properties and announcement handling.</p></section></div></div> +<p>This is the base bundle solely used by discovery.impl and discovery.oak and contains exactly the mentioned properties and announcement handling.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/dynamic-includes.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/dynamic-includes.html b/documentation/bundles/dynamic-includes.html index bd7604f..00a8bfa 100644 --- a/documentation/bundles/dynamic-includes.html +++ b/documentation/bundles/dynamic-includes.html @@ -72,9 +72,13 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Apache Sling Dynamic Include - </h1><div class="tags"><a href="/tags/publishing.html" class="label">publishing</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in wr iting, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</p> + </h1><div class="tags"><a href="/tags/publishing.html" class="label">publishing</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</p> <h1><a href="#sling-dynamic-include-org-apache-sling-dynamic-include-" name="sling-dynamic-include-org-apache-sling-dynamic-include-">Sling Dynamic Include (org.apache.sling.dynamic-include)</a></h1> -<p>For now the Sling Dynamic Include documentation can be found <a href="https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/sling-dynamic-include/README.md">in the Sling codebase</a> or <a href="https://github.com/apache/sling/tree/trunk/contrib/extensions/sling-dynamic-include">on our GitHub mirror</a> if that's in sync.</p></section></div></div> +<p>For now the Sling Dynamic Include documentation can be found <a href="https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/sling-dynamic-include/README.md">in the Sling codebase</a> or <a href="https://github.com/apache/sling/tree/trunk/contrib/extensions/sling-dynamic-include">on our GitHub mirror</a> if that's in sync.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/file-installer-provider.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/file-installer-provider.html b/documentation/bundles/file-installer-provider.html index a0abb10..116e4f9 100644 --- a/documentation/bundles/file-installer-provider.html +++ b/documentation/bundles/file-installer-provider.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> File Installer Provider - </h1><div class="tags"><a href="/tags/installer.html" class="label">installer</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The file installer provider scans configured directories and provides the found artifacts (files) to the <a href="/documentation/bundles/osgi-installer.html">OSGI installer</a>. The functionality is very similar to Apache Felix FileInstall, with the major difference that this service implements just the task of scanning a file directory. All the management logic is implemented in the OSGi installer and support of various artifact types like bundles, configurations or custom formats is implemented by plugins for the OSGi installer.</p> + </h1><div class="tags"><a href="/tags/installer.html" class="label">installer</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>The file installer provider scans configured directories and provides the found artifacts (files) to the <a href="/documentation/bundles/osgi-installer.html">OSGI installer</a>. The functionality is very similar to Apache Felix FileInstall, with the major difference that this service implements just the task of scanning a file directory. All the management logic is implemented in the OSGi installer and support of various artifact types like bundles, configurations or custom formats is implemented by plugins for the OSGi installer.</p> <h2><a href="#setup" name="setup">Setup</a></h2> <p>The file installer can be configured with these framework (system) properties:</p> <table> @@ -114,7 +116,9 @@ <h1><a href="#project-info" name="project-info">Project Info</a></h1> <ul> <li>File installer provider (<a href="http://svn.apache.org/repos/asf/sling/trunk/installer/providers/file">org.apache.sling.installer.provider.file</a>)</li> -</ul></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/internationalization-support-i18n.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/internationalization-support-i18n.html b/documentation/bundles/internationalization-support-i18n.html index bdc4623..e0bad51 100644 --- a/documentation/bundles/internationalization-support-i18n.html +++ b/documentation/bundles/internationalization-support-i18n.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Internationalization Support (i18n) - </h1><div class="tags"><a href="/tags/i18n.html" class="label">i18n</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Internationalization support in Sling consists of four methods in the <code>SlingHttpServletRequest</code> interface:</p> + </h1><div class="tags"><a href="/tags/i18n.html" class="label">i18n</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Internationalization support in Sling consists of four methods in the <code>SlingHttpServletRequest</code> interface:</p> <ul> <li><code>getLocale()</code> -- Returns the primary <code>Locale</code> for the current request. This method is inherited from the <code>javax.servlet.ServletRequest</code> interface.</li> <li><code>getLocales()</code> -- Returns the <code>Locale</code> instances for the current request. This method is inherited from the <code>javax.servlet.ServletRequest</code> interface.</li> @@ -219,7 +221,9 @@ <li><code>de</code></li> <li><code>en</code></li> </ol> -<p>In case there is a resource bundle requested for a locale without country or variant, there is only 1 fallback (i.e. the default locale). The last resort (root resource bundle in all hierarchies) is always the bundle which returns the requested key as the value.</p></section></div></div> +<p>In case there is a resource bundle requested for a locale without country or variant, there is only 1 fallback (i.e. the default locale). The last resort (root resource bundle in all hierarchies) is always the bundle which returns the requested key as the value.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/jcr-installer-provider.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/jcr-installer-provider.html b/documentation/bundles/jcr-installer-provider.html index 014cfa4..b78e541 100644 --- a/documentation/bundles/jcr-installer-provider.html +++ b/documentation/bundles/jcr-installer-provider.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> JCR Installer Provider - </h1><div class="tags"><a href="/tags/installer.html" class="label">installer</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The JCR installer provider scans the JCR repository for artifacts and provides them to the <a href="/documentation/bundles/osgi-installer.html">OSGI installer</a>.</p> + </h1><div class="tags"><a href="/tags/installer.html" class="label">installer</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>The JCR installer provider scans the JCR repository for artifacts and provides them to the <a href="/documentation/bundles/osgi-installer.html">OSGI installer</a>.</p> <h2><a href="#configuration-and-scanning" name="configuration-and-scanning">Configuration and Scanning</a></h2> <p>The JCR installer provider can be configured with weighted paths which are scanned. By default, the installer scans in <em>/apps</em> and <em>/libs</em> where artifacts found in <em>/apps</em> get a higher priority. The installer does a deep scan and uses a regular expression to detect folders containing artifacts to be installed. By default, artifacts from within a folder named <em>install</em> are provided to the OSGi installer.</p> <p>If such an install folder contains a binary artifact (e.g. a bundle or a config file as described in <a href="/documentation/bundles/configuration-installer-factory.html">Configuration Installer Factory</a>) this is provided to the OSGi installer. </p> @@ -169,7 +171,9 @@ curl -X MKCOL http://admin:admin@localhost:8080/apps/jcrtest/install <h1><a href="#project-info" name="project-info">Project Info</a></h1> <ul> <li>JCR installer provider (<a href="http://svn.apache.org/repos/asf/sling/trunk/installer/providers/jcr">org.apache.sling.installer.provider.jcr</a>)</li> -</ul></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/log-tracers.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/log-tracers.html b/documentation/bundles/log-tracers.html index daf8656..3d2c281 100644 --- a/documentation/bundles/log-tracers.html +++ b/documentation/bundles/log-tracers.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Log Tracer - </h1><div class="tags"><a href="/tags/logging.html" class="label">logging</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><a href="https://issues.apache.org/jira/browse/SLING-4739">Log Tracer</a> provides support for enabling the logs for specific category at specific level and only for specific request. It provides a very fine level of control via config provided as part of HTTP request around how the logging should be performed for given category.</p> + </h1><div class="tags"><a href="/tags/logging.html" class="label">logging</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p><a href="https://issues.apache.org/jira/browse/SLING-4739">Log Tracer</a> provides support for enabling the logs for specific category at specific level and only for specific request. It provides a very fine level of control via config provided as part of HTTP request around how the logging should be performed for given category.</p> <p>This is specially useful for those parts of the system which are involved in every request. For such parts enabling the log at global level would flood the logs and create lots of noise. Using Tracer one can enable log for that request which is required to be probed.</p> <p>For e.g. determining what nodes are written for a given POST request can be simply done by including an extra request parameters.</p> <pre><code>curl -D - -u admin:admin \ @@ -268,7 +270,9 @@ Transfer-Encoding: chunked <artifactId>org.apache.sling.tracer</artifactId> <version>1.0.0</version> </dependency> -</code></pre></section></div></div> +</code></pre></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html b/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html index 4f77256..b86d379 100644 --- a/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html +++ b/documentation/bundles/managing-permissions-jackrabbit-accessmanager.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Managing permissions (jackrabbit.accessmanager) - </h1><div class="tags"><a href="/tags/security.html" class="label">security</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The <code>jackrabbit-accessmanager</code> bundle delivers a REST interface to manipulate users permissions in the JCR. After installing the <code>jackrabbit-accessmanager</code> bundle the REST services are exposed under the path of the node where you will manipulate the permissions for a user with a specific selector like <code>modifyAce</code>, <code>acl</code> and <code>deleteAce</code>. <!-- TODO reactivate TOC once JBake moves to flexmark-java --> + </h1><div class="tags"><a href="/tags/security.html" class="label">security</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>The <code>jackrabbit-accessmanager</code> bundle delivers a REST interface to manipulate users permissions in the JCR. After installing the <code>jackrabbit-accessmanager</code> bundle the REST services are exposed under the path of the node where you will manipulate the permissions for a user with a specific selector like <code>modifyAce</code>, <code>acl</code> and <code>deleteAce</code>. <!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h2><a href="#privileges" name="privileges">Privileges</a></h2> <table> @@ -170,7 +172,9 @@ See section 16.3 of the JCR 2.0 specification for an explanation of the differen </div> <h2><a href="#sample-user-interface-implementation" name="sample-user-interface-implementation">Sample User Interface Implementation</a></h2> <p><em>Since Version 2.1.1</em></p> -<p>A sample implementation of ui pages for permissions management is provided @ http://svn.apache.org/viewvc/sling/trunk/samples/accessmanager-ui/</p></section></div></div> +<p>A sample implementation of ui pages for permissions management is provided @ http://svn.apache.org/viewvc/sling/trunk/samples/accessmanager-ui/</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html b/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html index 0414297..8d7b753 100644 --- a/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html +++ b/documentation/bundles/managing-users-and-groups-jackrabbit-usermanager.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Managing users and groups (jackrabbit.usermanager) - </h1><div class="tags"><a href="/tags/security.html" class="label">security</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The <code>jackrabbit-usermanager</code> bundle delivers a REST interface to create, update and delete users and groups in the JCR. After installing the <code>jackrabbit-usermanager</code> bundle all REST services are exposed under the path <code>/system/userManager</code>. Its interface for modifing/creating authorizables is similar to the <a href="/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html">SlingPostServlet</a>.</p> + </h1><div class="tags"><a href="/tags/security.html" class="label">security</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>The <code>jackrabbit-usermanager</code> bundle delivers a REST interface to create, update and delete users and groups in the JCR. After installing the <code>jackrabbit-usermanager</code> bundle all REST services are exposed under the path <code>/system/userManager</code>. Its interface for modifing/creating authorizables is similar to the <a href="/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html">SlingPostServlet</a>.</p> <p>For getting information about existing authorizables it provides all authorizables as Sling resources through its <code>AuthorizableResourceProvider</code> below <code>/system/userManager/user</code> and <code>/system/userManager/group</code>. Those resources can be exposed via the <a href="/documentation/bundles/rendering-content-default-get-servlets.html">Default GET Servlet</a>.</p> <p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> @@ -568,7 +570,9 @@ </code></pre> <h2><a href="#sample-user-interface-implementation" name="sample-user-interface-implementation">Sample User Interface Implementation</a></h2> <p><em>Since Version 2.1.1</em></p> -<p>A sample implementation of ui pages for user/group management is provided @ <a href="http://svn.apache.org/viewvc/sling/trunk/samples/usermanager-ui/">http://svn.apache.org/viewvc/sling/trunk/samples/usermanager-ui/</a>.</p></section></div></div> +<p>A sample implementation of ui pages for user/group management is provided @ <a href="http://svn.apache.org/viewvc/sling/trunk/samples/usermanager-ui/">http://svn.apache.org/viewvc/sling/trunk/samples/usermanager-ui/</a>.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html b/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html index 7210bb8..ac1d608 100644 --- a/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html +++ b/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Manipulating Content - The SlingPostServlet (servlets.post) - </h1><div class="tags"><a href="/tags/servlets.html" class="label">servlets</a> <a href="/tags/postservlet.html" class="label">postservlet</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> + </h1><div class="tags"><a href="/tags/servlets.html" class="label">servlets</a> <a href="/tags/postservlet.html" class="label">postservlet</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h2><a href="#multiple-ways-to-modify-content" name="multiple-ways-to-modify-content">Multiple Ways to Modify Content</a></h2> <p>As always in life there is more than one way to do it. So to modify content in a JCR repository underlying Sling, you have multiple options, two of which are WebDAV and the Sling default POST Servlet also called the <em>SlingPostServlet</em>. This page is about how you can modify - create, modify, copy, move, delete, import - content through the <em>SlingPostServlet</em>. In addition it also explains how to extend the SlingPostServlet with new operations.</p> @@ -915,7 +917,9 @@ of a resource without having to specify the path of each individual child resour <h3><a href="#slingpostprocessor" name="slingpostprocessor">SlingPostProcessor</a></h3> <p>OSGi services of the <code>org.apache.sling.servlets.post.SlingPostOperation</code> type can be used to post process <code>PostOperation</code>s. They are called after the operation has performed its changes but before the changes are persisted (via commit). All registered SlingPostProcessors are always called in the reverse order of their service ranking (i.e. the one with the highest service ranking first).</p> <p>A <code>SlingPostProcessor</code> may perform additional changes or revert previous ones. It is important that the <code>SlingPostProcessor</code> does not commit its changes but rather only performs the changes in the transient space (with the resource resolver bound to the current request) and in addition reports the changes through the 2nd parameter of the method <code>process(SlingHttpServletRequest, List<Modification>)</code>.</p> -<p>Two examples of SlingPostProcessors are found in the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/post/">test-services</a> module, with the corresponding test code in the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/SlingPostProcessorTest">integration-tests</a> module.</p></section></div></div> +<p>Two examples of SlingPostProcessors are found in the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/post/">test-services</a> module, with the corresponding test code in the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/SlingPostProcessorTest">integration-tests</a> module.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/3d5fdfe">Fri Sep 29 15:36:08 2017 +0200</a> : <span class="comment">First shot at adding some tags +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/metrics.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/metrics.html b/documentation/bundles/metrics.html index 0d16a81..3a6242d 100644 --- a/documentation/bundles/metrics.html +++ b/documentation/bundles/metrics.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Sling Metrics - </h1><div class="tags"><a href="/tags/metrics.html" class="label">metrics</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling Metrics bundle provides integration with <a href="http://metrics.dropwizard.io/">Dropwizard Metrics</a> library which provides a toolkit to capture runtime performance statistics in your application. </p> + </h1><div class="tags"><a href="/tags/metrics.html" class="label">metrics</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling Metrics bundle provides integration with <a href="http://metrics.dropwizard.io/">Dropwizard Metrics</a> library which provides a toolkit to capture runtime performance statistics in your application. </p> <h2><a href="#features" name="features">Features</a></h2> <ul> <li>Registers a <a href="https://github.com/apache/sling/blob/trunk/bundles/commons/metrics/src/main/java/org/apache/sling/commons/metrics/MetricsService.java">MetricsService</a> which can be used to create various types of Metric instances</li> @@ -147,7 +149,9 @@ com.codahale.metrics.Counter = counter.adaptTo(com.codahale.metrics.Counter.clas <version>1.0.0</version> </dependency> </code></pre> -<p>Or download from <a href="http://sling.apache.org/downloads.cgi">here</a></p></section></div></div> +<p>Or download from <a href="http://sling.apache.org/downloads.cgi">here</a></p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/mime-type-support-commons-mime.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/mime-type-support-commons-mime.html b/documentation/bundles/mime-type-support-commons-mime.html index 3df9ead..f830c2b 100644 --- a/documentation/bundles/mime-type-support-commons-mime.html +++ b/documentation/bundles/mime-type-support-commons-mime.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> MIME Type Support (commons.mime and commons.contentdetection) - </h1><div class="tags"><a href="/tags/mimetypes.html" class="label">mimetypes</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Support for MIME type mappings is generally a problematic issue. On the one hand applications have to take care to stay up to date with their mappings on the other hands in web applications it is tedious to maintain the mappings. Apache Sling takes a very user and deployment friendly approadch to this problem which is described in detail on this page.</p> + </h1><div class="tags"><a href="/tags/mimetypes.html" class="label">mimetypes</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Support for MIME type mappings is generally a problematic issue. On the one hand applications have to take care to stay up to date with their mappings on the other hands in web applications it is tedious to maintain the mappings. Apache Sling takes a very user and deployment friendly approadch to this problem which is described in detail on this page.</p> <p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h2><a href="#servlet-api-support" name="servlet-api-support">Servlet API Support</a></h2> @@ -135,7 +137,9 @@ <p>THe data line format described here also applies to configuration provided by the values of the <code>mime.types</code> property of the MIME type service configuration. The file format description applies to all <code>META-INF/mime.types</code> files provided by the bundles as well as input streams supplied to the <code>MimeTypeService.registerMimeType(InputStream)</code> method.</p> <h2><a href="#web-console-plugin" name="web-console-plugin">Web Console Plugin</a></h2> <p>The Apache Sling MIME type mapping support bundle implements a plugin for the Apache Felix Web Console which may be consulted to investigate the current contents of the MIME type mapping tables.</p> -<p><img src="/documentation/bundles/mimetypes.png" alt="Mime Types Web Console Plugin" /></p></section></div></div> +<p><img src="/documentation/bundles/mimetypes.png" alt="Mime Types Web Console Plugin" /></p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/models.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/models.html b/documentation/bundles/models.html index bd16738..8e46659 100644 --- a/documentation/bundles/models.html +++ b/documentation/bundles/models.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Sling Models - </h1><div class="tags"><a href="/tags/models.html" class="label">models</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> + </h1><div class="tags"><a href="/tags/models.html" class="label">models</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <p>Many Sling projects want to be able to create model objects - POJOs which are automatically mapped from Sling objects, typically resources, but also request objects. Sometimes these POJOs need OSGi services as well.</p> <h1><a href="#design-goals" name="design-goals">Design Goals</a></h1> @@ -697,7 +699,9 @@ assert object1 == object2; <ul> <li><code>getType()</code> should return the marker class.</li> <li><code>getAdaptable()</code> should return the new adaptable or <code>ViaProvider.ORIGINAL</code> to indicate that the original adaptable should be used.</li> -</ul></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Justin Edelson</span> on <a href="https://github.com/apache/sling-site/commit/fd83760">Sun Oct 1 08:33:05 2017 -0400</a> : <span class="comment">SLING-7095 - restore lost cache documenation +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/nosql-resource-providers.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/nosql-resource-providers.html b/documentation/bundles/nosql-resource-providers.html index 9105433..bb4b73d 100644 --- a/documentation/bundles/nosql-resource-providers.html +++ b/documentation/bundles/nosql-resource-providers.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> NoSQL Resource Providers (org.apache.sling.nosql) - </h1><div class="tags"><a href="/tags/resourceproviders.html" class="label">resourceproviders</a> <a href="/tags/nosql.html" class="label">nosql</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> + </h1><div class="tags"><a href="/tags/resourceproviders.html" class="label">resourceproviders</a> <a href="/tags/nosql.html" class="label">nosql</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h2><a href="#introduction" name="introduction">Introduction</a></h2> <p>Apache Sling provides resource-based access to NoSQL document stores like MongoDB and Couchbase via its Resource API using the NoSQL resource providers. This is possible in combination with a JCR-based repository (e.g. only on a special path in the resource tree), or a only persistence for the whole resource tree depending on the resource provider configuration.</p> @@ -119,7 +121,9 @@ org.apache.sling.nosql.couchbase.client.CouchbaseClient.factory.config-default <h2><a href="#example-launchpad" name="example-launchpad">Example Launchpad</a></h2> <p>An example launchpad is provided that contains the NoSQL resource providers configured as main resource provider at <code>/</code>.</p> <p>Source code: <a href="https://github.com/apache/sling/tree/trunk/contrib/nosql/launchpad">Apache Sling NoSQL Launchpad</a></p> -<p>See README for details how to start the launchpad.</p></section></div></div> +<p>See README for details how to start the launchpad.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/org-apache-sling-junit-bundles.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/org-apache-sling-junit-bundles.html b/documentation/bundles/org-apache-sling-junit-bundles.html index 63ab6cd..0b052df 100644 --- a/documentation/bundles/org-apache-sling-junit-bundles.html +++ b/documentation/bundles/org-apache-sling-junit-bundles.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> JUnit server-side testing support bundles - </h1><div class="tags"><a href="/tags/testing.html" class="label">testing</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>This is an overview of the Sling bundles that provide support for server-side JUnit tests. </p> + </h1><div class="tags"><a href="/tags/testing.html" class="label">testing</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>This is an overview of the Sling bundles that provide support for server-side JUnit tests. </p> <p>The Maven modules below <a href="https://svn.apache.org/repos/asf/sling/trunk/testing/samples"><code>testing/samples</code></a> provide different examples including HTTP-based and server-side teleported tests in a bundle module, running against a full Sling instance setup in the same Maven module.</p> <h2><a href="#org-apache-sling-junit-core-server-side-junit-tests-support" name="org-apache-sling-junit-core-server-side-junit-tests-support">org.apache.sling.junit.core: server-side JUnit tests support</a></h2> <p>This bundle provides a <code>JUnitServlet</code> that runs JUnit tests found in bundles. </p> @@ -297,7 +299,9 @@ TEST_PASSED </code></pre> <p>Test failures would be included in this JSON representation - you can test that by modifying the script to fail and making the same request again. </p> <h2><a href="#org-apache-sling-junit-remote-obsolete" name="org-apache-sling-junit-remote-obsolete">org.apache.sling.junit.remote: obsolete</a></h2> -<p>The <code>org.apache.sling.junit.remote</code> bundle provides utilities to run server-side JUnit tests, but using the newer <code>TeleporterRule</code> described above is much simpler. As a result, this bundle should only be needed for existing tests that were written using its mechanisms. </p></section></div></div> +<p>The <code>org.apache.sling.junit.remote</code> bundle provides utilities to run server-side JUnit tests, but using the newer <code>TeleporterRule</code> described above is much simpler. As a result, this bundle should only be needed for existing tests that were written using its mechanisms. </p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/osgi-installer.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/osgi-installer.html b/documentation/bundles/osgi-installer.html index c0375e2..8242f64 100644 --- a/documentation/bundles/osgi-installer.html +++ b/documentation/bundles/osgi-installer.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> OSGi Installer - </h1><div class="tags"><a href="/tags/installer.html" class="label">installer</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><h1><a href="#overview" name="overview">Overview</a></h1> + </h1><div class="tags"><a href="/tags/installer.html" class="label">installer</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><h1><a href="#overview" name="overview">Overview</a></h1> <p>The OSGi installer is a central service for handling installs, updates and uninstall of "artifacts". By default, the installer supports bundles and has an extension for handling configurations for the OSGi configuration admin.</p> <p><img src="/documentation/bundles/Slide14.jpg" alt="Apache Sling OSGI Installer Diagram" /></p> <p>The OSGi installer itself is "just" the central service managing the tasks and states of the artifacts. The artifacts can be provided through various providers, e.g. through a file system provider reading artifacts from configured directories or the jcr provider reading artifacts from a JCR repository.</p> @@ -120,7 +122,9 @@ <h3><a href="#bundles-installation-failure" name="bundles-installation-failure">Bundles Installation Failure</a></h3> <p>The checked bundle was not installed because it has been installed in a newer version through some other means (e.g. manually through the Felix Web Console or by another provider. For further details please review the OSGi Installer console at <code>/system/console/osgi-installer</code> and check for all bundles with the given symbolic name (=OSGi installers resource id) and the according URL.</p> <h3><a href="#configuration-installation-failure" name="configuration-installation-failure">Configuration Installation Failure</a></h3> -<p>The checked configuration was not installed because it has either been overwritten manually in the Felix Web Console or is installed by some non-checked provider (which has a higher priority). To revert manually overwritten configurations just go to <code>/system/console/configMgr</code> and delete the according configuration. That way the OSGi installer should automatically create a new configuration for the same PID based on the configuration provided by some provider with the highest prio. In case another non-checked provider has provided already a configuration you can see from where it has been installed by looking at the OSGi Installer console at <code>/system/console/osgi-installer</code> and look for all configurations with the given PID.</p></section></div></div> +<p>The checked configuration was not installed because it has either been overwritten manually in the Felix Web Console or is installed by some non-checked provider (which has a higher priority). To revert manually overwritten configurations just go to <code>/system/console/configMgr</code> and delete the according configuration. That way the OSGi installer should automatically create a new configuration for the same PID based on the configuration provided by some provider with the highest prio. In case another non-checked provider has provided already a configuration you can see from where it has been installed by looking at the OSGi Installer console at <code>/system/console/osgi-installer</code> and look for all configurations with the given PID.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.html b/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.html index cfe6d9a..ab9f5b1 100644 --- a/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.html +++ b/documentation/bundles/output-rewriting-pipelines-org-apache-sling-rewriter.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Output Rewriting Pipelines (org.apache.sling.rewriter) - </h1><div class="tags"><a href="/tags/publishing.html" class="label">publishing</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The Apache Sling Rewriter is a module for rewriting the output generated by a usual Sling rendering process. Some possible use cases include rewriting or checking all links in an HTML page, manipulating the HTML page, or using the generated output as the base for further transformation. An example of further transformation is to use XSLT to transform rendered XML to some output format like HTML or XSL:FO for generating PDF.</p> + </h1><div class="tags"><a href="/tags/publishing.html" class="label">publishing</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>The Apache Sling Rewriter is a module for rewriting the output generated by a usual Sling rendering process. Some possible use cases include rewriting or checking all links in an HTML page, manipulating the HTML page, or using the generated output as the base for further transformation. An example of further transformation is to use XSLT to transform rendered XML to some output format like HTML or XSL:FO for generating PDF.</p> <p>For supporting these use cases, the rewriter uses the concept for a processor. The processor is a component that is injected through a servlet filter into the response. By implementing the <em>Processor</em> interface one is able to rewrite the whole response in one go. A more convenient way of processing the output is by using a so called pipeline; the Apache Sling rewriter basically uses the same concept as the famous Apache Cocoon: an XML based pipeline for further post processing of the output. The pipeline is based on SAX events.</p> <h2><a href="#sax-pipelines" name="sax-pipelines">SAX Pipelines</a></h2> <p>The rewriter allows to configure a pipeline for post processing of the generated response. Depending on how the pipeline is assembled the rewriting process might buffer the whole output in order to do proper post processing - for example this is required if an HTML response is "transformed" to XHTML or if XSLT is used to process the response.</p> @@ -135,7 +137,9 @@ <li>selectors (multi value string) - a set of selectors the pipeline should be used for (optional, since 1.1.0)</li> <li>order (long) - the configurations are sorted by this order, order must be higher or equal to 0. The configuration with the highest order is tried first.</li> <li>enabled (boolean) - Is this configuration active? (default yes)</li> -</ul></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/rendering-content-default-get-servlets.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/rendering-content-default-get-servlets.html b/documentation/bundles/rendering-content-default-get-servlets.html index 274f7f3..f4d5114 100644 --- a/documentation/bundles/rendering-content-default-get-servlets.html +++ b/documentation/bundles/rendering-content-default-get-servlets.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Rendering Content - Default GET Servlets - </h1><div class="tags"><a href="/tags/servlets.html" class="label">servlets</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> + </h1><div class="tags"><a href="/tags/servlets.html" class="label">servlets</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <div class="note"> Not all features of the <b>org.apache.sling.servlets.get</b> bundle are described below - this @@ -107,7 +109,9 @@ page needs more work. <p>This is not to be confused with the <code>sling:redirect</code> property used under <code>/etc/map</code>, which is described in <a href="/documentation/the-sling-engine/mappings-for-resource-resolution.html">Mappings for Resource Resolution</a></p> <h2><a href="#slinginfoservlet" name="slinginfoservlet">SlingInfoServlet</a></h2> <p>The <code>SlingInfoServlet</code> provides info on the current JCR session, for requests that map to JCR nodes.</p> -<p>It is available at <code>/system/sling/info.sessionInfo</code> by default, and supports <code>.json</code> and <code>.txt</code> extensions. </p></section></div></div> +<p>It is available at <code>/system/sling/info.sessionInfo</code> by default, and supports <code>.json</code> and <code>.txt</code> extensions. </p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/3d5fdfe">Fri Sep 29 15:36:08 2017 +0200</a> : <span class="comment">First shot at adding some tags +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/repository-initialization.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/repository-initialization.html b/documentation/bundles/repository-initialization.html index 450e46b..eebfefd 100644 --- a/documentation/bundles/repository-initialization.html +++ b/documentation/bundles/repository-initialization.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Repository Initalization - </h1><div class="tags"><a href="/tags/repoinit.html" class="label">repoinit</a> <a href="/tags/jcr.html" class="label">jcr</a> <a href="/tags/repository.html" class="label">repository</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The <code>SlingRepositoryInitializer</code> mechanism allows for running code before the <code>SlingRepository</code> service is registered.</p> + </h1><div class="tags"><a href="/tags/repoinit.html" class="label">repoinit</a> <a href="/tags/jcr.html" class="label">jcr</a> <a href="/tags/repository.html" class="label">repository</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>The <code>SlingRepositoryInitializer</code> mechanism allows for running code before the <code>SlingRepository</code> service is registered.</p> <p>This is useful for initialization and content migration purposes.</p> <p>Please be aware of potential clustering and coordination issues when using this mechanism, if your environment lets several Sling instances access the same content repository you'll need to implement a synchronization mechanism for such operations.</p> <h2><a href="#slingrepositoryinitializer" name="slingrepositoryinitializer">SlingRepositoryInitializer</a></h2> @@ -202,7 +204,9 @@ create service user provisioningModelUser <p>Using a <code>RepositoryInitializer</code> reference like in this example, with the <em>raw</em> prefix, means that its content is passed as is to the repoinit parser:</p> <pre><code>raw:classpath://some-repoinit-file.txt </code></pre> -<p>Which points to a <code>classpath:</code> URL to provide the raw repoinit statements in this example, but again any valid URL scheme can be used.</p></section></div></div> +<p>Which points to a <code>classpath:</code> URL to provide the raw repoinit statements in this example, but again any valid URL scheme can be used.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/request-analysis.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/request-analysis.html b/documentation/bundles/request-analysis.html index 3cc4789..28c498d 100644 --- a/documentation/bundles/request-analysis.html +++ b/documentation/bundles/request-analysis.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Request Processing Analyzer (reqanalyzer) - </h1><div class="tags"><a href="/tags/requests.html" class="label">requests</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> + </h1><div class="tags"><a href="/tags/requests.html" class="label">requests</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h2><a href="#introduction" name="introduction">Introduction</a></h2> <p>Sling provides a helpful functionality to track progress of requests being processed: The <a href="http://sling.apache.org/apidocs/sling6/org/apache/sling/api/request/RequestProgressTracker.html">RequestProgressTracker</a> which is available through the <a href="http://sling.apache.org/apidocs/sling6/org/apache/sling/api/SlingHttpServletRequest.html#getRequestProgressTracker%28%29">SlingHttpServletRequest</a>.</p> @@ -109,7 +111,9 @@ <p><img src="requesttracker.png" alt="Recorded Requests" /></p> <p>Clicking on any row opens a second window displaying the detail request progress information as recorded before with the <code>RequestProgressTracker</code>.</p> <p><img src="requesttracker-details.png" alt="Details of a recorded Request" /></p> -<p>The size, location, and the widths of the table columns are persisted with the Java Preferences API and thus when starting the application again, these settings are preserved.</p></section></div></div> +<p>The size, location, and the widths of the table columns are persisted with the Java Preferences API and thus when starting the application again, these settings are preserved.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/resource-access-security.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/resource-access-security.html b/documentation/bundles/resource-access-security.html index 43fd892..5b6983c 100644 --- a/documentation/bundles/resource-access-security.html +++ b/documentation/bundles/resource-access-security.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Resource Access Security - </h1><div class="tags"><a href="/tags/security.html" class="label">security</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writin g, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</p> + </h1><div class="tags"><a href="/tags/security.html" class="label">security</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</p> <h2><a href="#summary" name="summary">Summary</a></h2> <p>The ResourceAccessSecurity service allows it to restrict access to resources. The access can be granted or denied for read, create, update and delete actions.</p> <p>The ResourceAccessSecurity defines a service API which is used in two different context: for securing resource providers which have no own access control and on the application level to further restrict the access to resources in general. </p> @@ -141,7 +143,9 @@ public GateResult canRead(final Resource resource) { </ul> <p>The first two of them are self-explanatory. CANT_DECIDE means that the actual gate neither can grant nor deny the access. If no other gate does return GRANTED or DENIED the access to the resource will be denied for security reasons. CANT-DECIDE comes handy if you declare finaloperations (where no other gate will be called after this gate). If such a gate returns CANT_DECIDE, further gates will be called regardless of the setted finaloperations property.</p> <h2><a href="#actual-state-of-resourceaccesssecurity" name="actual-state-of-resourceaccesssecurity">Actual state of ResourceAccessSecurity</a></h2> -<p>By now the implementation is complete for securing access on resource level for CRUD operations. It is not yet ready to allow fine granular access rights on values of a resource. So at the moment the <code>canReadValue, canUpdateValue, canDeleteValue</code> and <code>canCreateValue</code> on <code>ResourceAccessGate</code> methods are ignored.</p></section></div></div> +<p>By now the implementation is complete for securing access on resource level for CRUD operations. It is not yet ready to allow fine granular access rights on values of a resource. So at the moment the <code>canReadValue, canUpdateValue, canDeleteValue</code> and <code>canCreateValue</code> on <code>ResourceAccessGate</code> methods are ignored.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/resource-editor.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/resource-editor.html b/documentation/bundles/resource-editor.html index 793c60d..8f6732f 100644 --- a/documentation/bundles/resource-editor.html +++ b/documentation/bundles/resource-editor.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> The Apache Sling Resource Editor - </h1><div class="tags"><a href="/tags/editors.html" class="label">editors</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</p> + </h1><div class="tags"><a href="/tags/editors.html" class="label">editors</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at . http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</p> <p><img src="http://sling.apache.org/documentation/bundles/resource-editor-screenshot.png" alt="alt text" /></p> <h1><a href="#features" name="features">Features</a></h1> <p>Currently it allows to display the node properties and edit nodes.</p> @@ -91,7 +93,9 @@ <li>The <code>contrib/explorers/resourceeditor/README</code> file in SVN tells you how to install the Resource Editor.</li> <li>Open <code>http://localhost:8080/reseditor/.html</code> in your browser.</li> <li>Enjoy!</li> -</ol></section></div></div> +</ol></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
