You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by bu...@apache.org on 2018/08/19 09:32:20 UTC

svn commit: r1034163 - in /websites/staging/directory/trunk/content: ./ apacheds/ apacheds/advanced-ug/ apacheds/advanced-ug/images/ apacheds/internal-design-guide/ images/

Author: buildbot
Date: Sun Aug 19 09:32:19 2018
New Revision: 1034163

Log:
Staging update by buildbot for directory

Added:
    websites/staging/directory/trunk/content/apacheds/advanced-ug/5.5-cache.html
    websites/staging/directory/trunk/content/apacheds/advanced-ug/9-apacheds-internals.html
    websites/staging/directory/trunk/content/apacheds/advanced-ug/images/configBeanVert.graphml   (with props)
    websites/staging/directory/trunk/content/apacheds/advanced-ug/images/configBeanVert.png   (with props)
    websites/staging/directory/trunk/content/apacheds/internal-design-guide/
    websites/staging/directory/trunk/content/apacheds/internal-design-guide/internal-design-guide.html
    websites/staging/directory/trunk/content/images/OID-state-automaton.graphml   (with props)
Modified:
    websites/staging/directory/trunk/content/   (props changed)
    websites/staging/directory/trunk/content/apacheds/advanced-ug/5-administration.html
    websites/staging/directory/trunk/content/apacheds/advanced-ug/5.4-replication.html
    websites/staging/directory/trunk/content/apacheds/advanced-user-guide.html

Propchange: websites/staging/directory/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Aug 19 09:32:19 2018
@@ -1 +1 @@
-1838369
+1838370

Modified: websites/staging/directory/trunk/content/apacheds/advanced-ug/5-administration.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/advanced-ug/5-administration.html (original)
+++ websites/staging/directory/trunk/content/apacheds/advanced-ug/5-administration.html Sun Aug 19 09:32:19 2018
@@ -187,6 +187,8 @@ h2:hover > .headerlink, h3:hover > .head
 <li><a href="5.1-layout.html">5.1 - Layout</a></li>
 <li><a href="5.2-start-stop.html">5.2 - Starting and stopping the server</a></li>
 <li><a href="5.3-logs.html">5.3 - Logs</a></li>
+<li><a href="5.4-replication.html">5.4 - Replication</a></li>
+<li><a href="5.5-cache.html">5.5 - Cache</a></li>
 </ul>
 
 

Modified: websites/staging/directory/trunk/content/apacheds/advanced-ug/5.4-replication.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/advanced-ug/5.4-replication.html (original)
+++ websites/staging/directory/trunk/content/apacheds/advanced-ug/5.4-replication.html Sun Aug 19 09:32:19 2018
@@ -162,7 +162,7 @@
         </div>
         <div class="nav_next">
         
-            <a href="6-implementing-interceptor.html">6 - Implementing a simple custom Interceptor for ApacheDS</a>
+            <a href="5.5-cache.html">5.5 - Cache</a>
 		
         </div>
         <div class="clearfix"></div>
@@ -237,7 +237,7 @@ replicate the data from partition dc=apa
         </div>
         <div class="nav_next">
         
-            <a href="6-implementing-interceptor.html">6 - Implementing a simple custom Interceptor for ApacheDS</a>
+            <a href="5.5-cache.html">5.5 - Cache</a>
 		
         </div>
         <div class="clearfix"></div>

Added: websites/staging/directory/trunk/content/apacheds/advanced-ug/5.5-cache.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/advanced-ug/5.5-cache.html (added)
+++ websites/staging/directory/trunk/content/apacheds/advanced-ug/5.5-cache.html Sun Aug 19 09:32:19 2018
@@ -0,0 +1,230 @@
+<!DOCTYPE html>
+<!--
+    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.
+-->
+<html>
+	<head>
+		<title>5.5 - Cache &mdash; Apache Directory</title>
+		
+        <link href="./../../css/common.css" rel="stylesheet" type="text/css">
+    	<link href="./../../css/green.css" rel="stylesheet" type="text/css">
+    
+        
+        <link rel="shortcut icon" href="./../../images/server-icon_16x16.png">
+    
+        <!-- Google Analytics -->
+        <!--script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+        <script type="text/javascript">
+            _uacct = "UA-1358462-1";
+            urchinTracker();
+        </script-->
+	</head>
+	<body>
+	    <div id="container">
+            <div id="header">
+                <div id="subProjectsNavBar">
+                    <a href="./../../">
+                        
+                        Main
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../apacheds">
+                        
+                        <STRONG>ApacheDS</STRONG>
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../studio">
+                        
+                        Studio
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../api">
+                        
+                        LDAP API
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../mavibot">
+                        
+                        Mavibot
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../scimple">
+                        
+                        SCIMple
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../fortress">
+                        
+                        Fortress
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../kerby">
+                        
+                        Kerby
+                        
+                    </a>
+                </div><!-- subProjectsNavBar -->
+            </div><!-- header -->
+            <div id="content">
+                <div id="leftColumn">
+                    
+<div id="navigation">
+    
+    <!--ul>
+      <li>
+        <a href="http://bit.ly/1n9YlQT" target="_blank">
+          <img src="./../../images/ApacheConBudapest.png" width="125" height="125" alt="I'm Speaking at ApacheCon Europe 2014! Join me!" title="I'm Speaking at ApacheCon Europe 2014! Join me!" border="0" style="margin-bottom:-3px;"/>
+        </a>
+      </li>
+    </ul-->
+    <h5>ApacheDS 2.0</h5>
+    <ul>
+        <li><a href="./../../apacheds/">Home</a></li>
+        <li><a href="./../../apacheds/news.html">News</a></li>
+        <li><a href="./../../apacheds/features.html">Features</a></li>
+    </ul>
+    <h5>Downloads</h5>
+    <ul>
+        <li><a href="./../../apacheds/downloads.html">ApacheDS 2.0.0.AM25</a>&nbsp;&nbsp;<img src="./../../images/new_badge.gif" alt="" style="margin-bottom:-3px;" border="0"></li>
+        <li><a href="./../../apacheds/download-old-versions.html">Older versions</a></li>
+    </ul>
+    <h5>Documentation</h5>
+    <ul>
+        <li><a href="./../../apacheds/basic-user-guide.html">Basic User Guide </a></li>
+        <li><a href="./../../apacheds/advanced-user-guide.html">Advanced User Guide</a></li>
+        <li><a href="./../../apacheds/developer-guide.html">Developer Guide</a></li>
+        <li><a href="./../../apacheds/kerberos-user-guide.html">Kerberos User Guide</a></li>
+        <li><a href="./../../apacheds/configuration/ads-2.0-configuration.html">Configuration</a></li>
+        <li><a href="./../../apacheds/gen-docs/latest/apidocs">JavaDocs</a></li>
+        <li><a href="./../../apacheds/gen-docs/latest/xref">Cross-Reference</a></li>
+    </ul>
+    
+    
+    <h5>Support</h5>
+    <ul>
+        <li><a href="./../../mailing-lists-and-irc.html">Mailing Lists &amp; IRC</a></li>
+        <li><a href="./../../sources.html">Sources</a></li>
+        <li><a href="./../../issue-tracking.html">Issue Tracking</a></li>
+        <li><a href="./../../commercial-support.html">Commercial Support</a></li>
+    </ul>
+    <h5>Community</h5>
+    <ul>
+        <li><a href="./../../contribute.html">How to Contribute</a></li>
+        <li><a href="./../../team.html">Team</a></li>
+        <li><a href="./../../original-project-proposal.html">Original Project Proposal</a></li>
+        <li><a href="./../../special-thanks.html" class="external-link" rel="nofollow">Special Thanks</a></li>
+    </ul>
+    <h5>About Apache</h5>
+    <ul>
+        <li><a href="http://www.apache.org/">Apache</a></li>
+        <li><a href="http://www.apache.org/licenses/">License</a></li>
+        <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
+        <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+        <li><a href="http://www.apache.org/security/">Security</a></li>
+    </ul>
+    
+</div><!-- navigation -->
+
+                </div><!-- leftColumn -->
+                <div id="rightColumn">
+
+
+    <div class="nav">
+        <div class="nav_prev">
+        
+            <a href="5.4-replication.html">5.4 - Replication</a>
+		
+        </div>
+        <div class="nav_up">
+        
+            <a href="5-administration.html">5 - Administration</a>
+		
+        </div>
+        <div class="nav_next">
+        
+            <a href="6-implementing-interceptor.html">6 - Implementing a simple custom Interceptor for ApacheDS</a>
+		
+        </div>
+        <div class="clearfix"></div>
+    </div>
+
+
+<style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<h1 id="55-cache">5.5 - Cache<a class="headerlink" href="#55-cache" title="Permanent link">&para;</a></h1>
+<p>We use many caches in <em>ApacheDS</em>. Here is a list of all the existing caches :</p>
+<ul>
+<li>aliasCache<String, DN> : It caches aliases, using the <em>entryUUID</em> as a key (AbstractBTreePartition)</li>
+<li>piarCache<String, ParentIdAndRdn>  : It caches RDN and their parent, using the <em>entryUUID</em> as a key (AbstractBTreePartition)</li>
+<li>EntryDN cache : Cache Entry's DN using the <em>entryUUID</em> as a key (AbstractBTreePartition)</li>
+<li>entryCache (JDBMPartition, MavibotPartition) : Caches the full entries, using their <em>entryUUID</em> as keys.</li>
+<li>masterTableCache (MavibotPartition) : </li>
+<li>kdcReplayCache (KdcServer) : </li>
+<li>changePwdReplayCache (ChangePasswordServer) :</li>
+<li>groupCache (GroupCache) :</li>
+<li>dnCache (DefaultDnFactory) : </li>
+<li>Subentry (SubentryCache) use a ConcurrentHashMap </li>
+<li>As many caches as we have indexes</li>
+</ul>
+<p>To be continued...</p>
+
+
+    <div class="nav">
+        <div class="nav_prev">
+        
+            <a href="5.4-replication.html">5.4 - Replication</a>
+		
+        </div>
+        <div class="nav_up">
+        
+            <a href="5-administration.html">5 - Administration</a>
+		
+        </div>
+        <div class="nav_next">
+        
+            <a href="6-implementing-interceptor.html">6 - Implementing a simple custom Interceptor for ApacheDS</a>
+		
+        </div>
+        <div class="clearfix"></div>
+    </div>
+
+
+                </div><!-- rightColumn -->
+                <div id="endContent"></div>
+            </div><!-- content -->
+            <div id="footer">&copy; 2003-2018, <a href="http://www.apache.org">The Apache Software Foundation</a> - <a href="./../../privacy-policy.html">Privacy Policy</a><br />
+                Apache Directory, ApacheDS, Apache Directory Server, Apache Directory Studio, Apache LDAP API, Apache Triplesec, Triplesec, Apache Mavibot, Mavibot, Apache eSCIMo, eSCIMo, Apache SCIMple, SCIMple,Fortress, Apache Fortress, EnMasse, Apache EnMasse, 
+                Apache Kerby, Kerby, Apache, the Apache feather logo, and the Apache Directory project logos are trademarks of The Apache Software Foundation.
+            </div>
+        </div><!-- container -->
+    </body>
+</html>
\ No newline at end of file

Added: websites/staging/directory/trunk/content/apacheds/advanced-ug/9-apacheds-internals.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/advanced-ug/9-apacheds-internals.html (added)
+++ websites/staging/directory/trunk/content/apacheds/advanced-ug/9-apacheds-internals.html Sun Aug 19 09:32:19 2018
@@ -0,0 +1,301 @@
+<!DOCTYPE html>
+<!--
+    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.
+-->
+<html>
+	<head>
+		<title>9 - ApacheDS internals &mdash; Apache Directory</title>
+		
+        <link href="./../../css/common.css" rel="stylesheet" type="text/css">
+    	<link href="./../../css/green.css" rel="stylesheet" type="text/css">
+    
+        
+        <link rel="shortcut icon" href="./../../images/server-icon_16x16.png">
+    
+        <!-- Google Analytics -->
+        <!--script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+        <script type="text/javascript">
+            _uacct = "UA-1358462-1";
+            urchinTracker();
+        </script-->
+	</head>
+	<body>
+	    <div id="container">
+            <div id="header">
+                <div id="subProjectsNavBar">
+                    <a href="./../../">
+                        
+                        Main
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../apacheds">
+                        
+                        <STRONG>ApacheDS</STRONG>
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../studio">
+                        
+                        Studio
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../api">
+                        
+                        LDAP API
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../mavibot">
+                        
+                        Mavibot
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../scimple">
+                        
+                        SCIMple
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../fortress">
+                        
+                        Fortress
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../kerby">
+                        
+                        Kerby
+                        
+                    </a>
+                </div><!-- subProjectsNavBar -->
+            </div><!-- header -->
+            <div id="content">
+                <div id="leftColumn">
+                    
+<div id="navigation">
+    
+    <!--ul>
+      <li>
+        <a href="http://bit.ly/1n9YlQT" target="_blank">
+          <img src="./../../images/ApacheConBudapest.png" width="125" height="125" alt="I'm Speaking at ApacheCon Europe 2014! Join me!" title="I'm Speaking at ApacheCon Europe 2014! Join me!" border="0" style="margin-bottom:-3px;"/>
+        </a>
+      </li>
+    </ul-->
+    <h5>ApacheDS 2.0</h5>
+    <ul>
+        <li><a href="./../../apacheds/">Home</a></li>
+        <li><a href="./../../apacheds/news.html">News</a></li>
+        <li><a href="./../../apacheds/features.html">Features</a></li>
+    </ul>
+    <h5>Downloads</h5>
+    <ul>
+        <li><a href="./../../apacheds/downloads.html">ApacheDS 2.0.0.AM25</a>&nbsp;&nbsp;<img src="./../../images/new_badge.gif" alt="" style="margin-bottom:-3px;" border="0"></li>
+        <li><a href="./../../apacheds/download-old-versions.html">Older versions</a></li>
+    </ul>
+    <h5>Documentation</h5>
+    <ul>
+        <li><a href="./../../apacheds/basic-user-guide.html">Basic User Guide </a></li>
+        <li><a href="./../../apacheds/advanced-user-guide.html">Advanced User Guide</a></li>
+        <li><a href="./../../apacheds/developer-guide.html">Developer Guide</a></li>
+        <li><a href="./../../apacheds/kerberos-user-guide.html">Kerberos User Guide</a></li>
+        <li><a href="./../../apacheds/configuration/ads-2.0-configuration.html">Configuration</a></li>
+        <li><a href="./../../apacheds/gen-docs/latest/apidocs">JavaDocs</a></li>
+        <li><a href="./../../apacheds/gen-docs/latest/xref">Cross-Reference</a></li>
+    </ul>
+    
+    
+    <h5>Support</h5>
+    <ul>
+        <li><a href="./../../mailing-lists-and-irc.html">Mailing Lists &amp; IRC</a></li>
+        <li><a href="./../../sources.html">Sources</a></li>
+        <li><a href="./../../issue-tracking.html">Issue Tracking</a></li>
+        <li><a href="./../../commercial-support.html">Commercial Support</a></li>
+    </ul>
+    <h5>Community</h5>
+    <ul>
+        <li><a href="./../../contribute.html">How to Contribute</a></li>
+        <li><a href="./../../team.html">Team</a></li>
+        <li><a href="./../../original-project-proposal.html">Original Project Proposal</a></li>
+        <li><a href="./../../special-thanks.html" class="external-link" rel="nofollow">Special Thanks</a></li>
+    </ul>
+    <h5>About Apache</h5>
+    <ul>
+        <li><a href="http://www.apache.org/">Apache</a></li>
+        <li><a href="http://www.apache.org/licenses/">License</a></li>
+        <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
+        <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+        <li><a href="http://www.apache.org/security/">Security</a></li>
+    </ul>
+    
+</div><!-- navigation -->
+
+                </div><!-- leftColumn -->
+                <div id="rightColumn">
+
+
+    <div class="nav">
+        <div class="nav_prev">
+        
+			&nbsp;
+        
+        </div>
+        <div class="nav_up">
+        
+            <a href="../advanced-user-guide.html">Advanced User Guide</a>
+		
+        </div>
+        <div class="nav_next">
+        
+			&nbsp;
+        
+        </div>
+        <div class="clearfix"></div>
+    </div>
+
+
+<style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<h1 id="9-apacheds-internals">9 - ApacheDS internals<a class="headerlink" href="#9-apacheds-internals" title="Permanent link">&para;</a></h1>
+<h2 id="startup">Startup<a class="headerlink" href="#startup" title="Permanent link">&para;</a></h2>
+<p>The server is started by calling the <em>UberJarMain</em> class, with the directory containing the server's layout. The layout is the list of directory where we will store various server's files :</p>
+<ul>
+<li>The instance directory, ie the base directory for the server : $BASE</li>
+<li>The configuration directory : <em>${BASE}/conf/</em></li>
+<li>The log directory : <em>${BASE}/log/</em></li>
+<li>The partition directory, which will contain the data :  <em>${BASE}/partitions/</em></li>
+<li>The run directory, which will contain the server PID : <em>${BASE}/run/</em></li>
+<li>The cache directory, containing the cache files : <em>${BASE}/cache/</em></li>
+</ul>
+<p>All those directories will be created if they do not exist already. It's also possible to provide specific directories by setting some environment variables : <em>apacheds.log.dir</em> for the logs directory, and <em>apacheds.run.dir</em> for the run directory.</p>
+<p>The server will also loog for some configuration files :</p>
+<ul>
+<li>The wrapper configuration : <em>${BASE}/conf/wrapper.conf</em></li>
+<li>The log configuration file : <em>${BASE}/conf/log4j.properties</em></li>
+</ul>
+<p>Once those elements configured, we start an instance of <em>ApacheDsService</em>, which is responsible for initializing the service, and the various configured servers :</p>
+<div class="codehilite"><pre><span class="p">...</span>
+<span class="o">//</span> <span class="n">Creating</span> <span class="n">ApacheDS</span> <span class="n">service</span>
+<span class="n">service</span> <span class="p">=</span> <span class="n">new</span> <span class="n">ApacheDsService</span><span class="p">();</span>
+
+<span class="n">service</span><span class="p">.</span><span class="n">start</span><span class="p">(</span> <span class="n">layout</span> <span class="p">);</span>
+<span class="p">...</span>
+</pre></div>
+
+
+<p>We first create the cache service, which will be used all over the server. This cache can be configured by creating and tuning the <em>${BASE}/conf/directory-cacheservice.xml</em> file, otherwise we use a default configuration.</p>
+<p>The next step is to initialize the <em>SchemaManager</em> which, again, will be used by the whole service. This will read the existing schema, or extract the default schema, and load it in an instance of the <em>SchemaManager</em> class. The schema is extracted on disk as LDIF files, into the <em>${BASE}/partitions/schema</em> directory.</p>
+<p>We also initialize the <em>DnFactory</em> class, which is used to cache created DNs. This factory has a cache. Every <em>Dn</em> created using this factory will be schema aware, as we passed a <em>SchemaManager</em> instance to the factory.</p>
+<p>Then we create the schema partition, that will manage access and updates done on the schema.</p>
+<p>The configuration is now initialized. If it wasn't existing, we extract a default one. We create a configuration partition, which will be stored on <em>${BASE}/conf/ou=config</em>.
+The configuration is in LDIF format, it is read from disk, and a in-memory representation is created.</p>
+<p>The <em>DirectoryService</em> can now be created and initialized.</p>
+<h3 id="directoryservice-initialization">DirectoryService initialization<a class="headerlink" href="#directoryservice-initialization" title="Permanent link">&para;</a></h3>
+<p>The <em>DirectoryService</em> is the core of the system. It manages the access to the data though the interceptors chain, offer the needed services to all the servers that need it, and manage the sessions.</p>
+<h2 id="ldapapiservice">LdapApiService<a class="headerlink" href="#ldapapiservice" title="Permanent link">&para;</a></h2>
+<p>Load the default controls
+Load the default extended operations
+Create the LDAP decoder and encoder (should be done when we start the LDAP server)
+Create the OperationManager
+Create the changeLog
+Create the Journal
+Create the default interceptors (ordered) :</p>
+<div class="codehilite"><pre>    <span class="n">NormalizationInterceptor</span>
+    <span class="n">AuthenticationInterceptor</span>
+        <span class="n">create</span> <span class="n">the</span> <span class="n">authenticators</span>
+        <span class="n">initialize</span> <span class="n">the</span> <span class="n">passwordPolicies</span>
+    <span class="n">ReferralInterceptor</span>
+    <span class="n">AciAuthorizationInterceptor</span>
+    <span class="n">DefaultAuthorizationInterceptor</span>
+    <span class="n">AdministrativePointInterceptor</span>
+    <span class="n">ExceptionInterceptor</span>
+    <span class="n">SchemaInterceptor</span>
+    <span class="n">OperationalAttributeInterceptor</span>
+    <span class="n">CollectiveAttributeInterceptor</span>
+    <span class="n">SubentryInterceptor</span>
+    <span class="n">EventInterceptor</span>
+    <span class="n">TriggerInterceptor</span>
+    <span class="n">ChangeLogInterceptor</span>
+    <span class="n">JournalInterceptor</span>
+</pre></div>
+
+
+<p>Create the partitions :</p>
+<div class="codehilite"><pre><span class="n">system</span>
+<span class="n">example</span> <span class="p">(</span><span class="n">or</span> <span class="n">whatever</span> <span class="n">user</span> <span class="n">partition</span> <span class="n">is</span> <span class="n">defined</span><span class="p">)</span>
+</pre></div>
+
+
+<p>Create the changeLog
+Create the Journal
+Add the Schema partition
+Add the config partition</p>
+<p>and startup the directoryService, which will create a shutdown hook, and initialize the various compnents (cachService, schemaPartition, partitionNexus which loads the rootDSE, the system partition, interceptors, changeLog, journal and the vatious user's partitions)</p>
+<h3 id="servers-initialization">Servers initialization<a class="headerlink" href="#servers-initialization" title="Permanent link">&para;</a></h3>
+<p>It's time to initialize the servers : LDAP (if requested), NTP (if requested), Kerberos (if requested), HTTP (if requested). The DNS and DHCP server are not supported at the moment. As we can see, we can start many different servers, which will rely - or not - on the DirectoryService.</p>
+<h4 id="ldap-server">LDAP server<a class="headerlink" href="#ldap-server" title="Permanent link">&para;</a></h4>
+<p>We first load a KeyStore taht will be used to manage certificates, then create the LDAP protocol handles - the handlers are responsible for processing each LDAP operation, like BIND, ADD, etc... -. We also register the extended operations, the SASL mechanisms, start the replication producer if needed, and starts the needed transports - we may have two : the default transport and the encrypted transport -. At the end, we initialize the replication consumer if needed.</p>
+<h4 id="ntp-server">NTP server<a class="headerlink" href="#ntp-server" title="Permanent link">&para;</a></h4>
+<p>The NTP server registers the protocol handler, and start the associated transport (UDP, port 123)</p>
+<h4 id="kerberos-server">Kerberos server<a class="headerlink" href="#kerberos-server" title="Permanent link">&para;</a></h4>
+<p>To be completed</p>
+<h4 id="http-server">Http server<a class="headerlink" href="#http-server" title="Permanent link">&para;</a></h4>
+<p>This is mainly use as a mean to manage the LDAP server through a HTTP layer. </p>
+<h3 id="last-steps">Last steps<a class="headerlink" href="#last-steps" title="Permanent link">&para;</a></h3>
+<p>We register an event listener to manage dynamic configuration updates, start the shutdown hook, and we are done !</p>
+
+
+    <div class="nav">
+        <div class="nav_prev">
+        
+			&nbsp;
+        
+        </div>
+        <div class="nav_up">
+        
+            <a href="../advanced-user-guide.html">Advanced User Guide</a>
+		
+        </div>
+        <div class="nav_next">
+        
+			&nbsp;
+        
+        </div>
+        <div class="clearfix"></div>
+    </div>
+
+
+                </div><!-- rightColumn -->
+                <div id="endContent"></div>
+            </div><!-- content -->
+            <div id="footer">&copy; 2003-2018, <a href="http://www.apache.org">The Apache Software Foundation</a> - <a href="./../../privacy-policy.html">Privacy Policy</a><br />
+                Apache Directory, ApacheDS, Apache Directory Server, Apache Directory Studio, Apache LDAP API, Apache Triplesec, Triplesec, Apache Mavibot, Mavibot, Apache eSCIMo, eSCIMo, Apache SCIMple, SCIMple,Fortress, Apache Fortress, EnMasse, Apache EnMasse, 
+                Apache Kerby, Kerby, Apache, the Apache feather logo, and the Apache Directory project logos are trademarks of The Apache Software Foundation.
+            </div>
+        </div><!-- container -->
+    </body>
+</html>
\ No newline at end of file

Added: websites/staging/directory/trunk/content/apacheds/advanced-ug/images/configBeanVert.graphml
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/directory/trunk/content/apacheds/advanced-ug/images/configBeanVert.graphml
------------------------------------------------------------------------------
    svn:mime-type = application/xml

Added: websites/staging/directory/trunk/content/apacheds/advanced-ug/images/configBeanVert.png
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/directory/trunk/content/apacheds/advanced-ug/images/configBeanVert.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Modified: websites/staging/directory/trunk/content/apacheds/advanced-user-guide.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/advanced-user-guide.html (original)
+++ websites/staging/directory/trunk/content/apacheds/advanced-user-guide.html Sun Aug 19 09:32:19 2018
@@ -259,6 +259,7 @@ h2:hover > .headerlink, h3:hover > .head
 <li><a href="advanced-ug/5.2-start-stop.html">5.2 - Starting and stopping</a></li>
 <li><a href="advanced-ug/5.3-logs.html">5.3 - Logs</a></li>
 <li><a href="advanced-ug/5.4-replication.html">5.4 - Replication</a></li>
+<li><a href="5.5-cache.html">5.5 - Cache</a></li>
 </ul>
 </li>
 <li><a href="advanced-ug/6-implementing-interceptor.html">6 - Implementing a simple custom Interceptor for ApacheDS</a></li>

Added: websites/staging/directory/trunk/content/apacheds/internal-design-guide/internal-design-guide.html
==============================================================================
--- websites/staging/directory/trunk/content/apacheds/internal-design-guide/internal-design-guide.html (added)
+++ websites/staging/directory/trunk/content/apacheds/internal-design-guide/internal-design-guide.html Sun Aug 19 09:32:19 2018
@@ -0,0 +1,177 @@
+<!DOCTYPE html>
+<!--
+    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.
+-->
+<html>
+	<head>
+		<title>Apache DS - Internal Design Guide &mdash; Apache Directory</title>
+		
+        <link href="./../../css/common.css" rel="stylesheet" type="text/css">
+    	<link href="./../../css/green.css" rel="stylesheet" type="text/css">
+    
+        
+        <link rel="shortcut icon" href="./../../images/server-icon_16x16.png">
+    
+        <!-- Google Analytics -->
+        <!--script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
+        <script type="text/javascript">
+            _uacct = "UA-1358462-1";
+            urchinTracker();
+        </script-->
+	</head>
+	<body>
+	    <div id="container">
+            <div id="header">
+                <div id="subProjectsNavBar">
+                    <a href="./../../">
+                        
+                        Main
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../apacheds">
+                        
+                        <STRONG>ApacheDS</STRONG>
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../studio">
+                        
+                        Studio
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../api">
+                        
+                        LDAP API
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../mavibot">
+                        
+                        Mavibot
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../scimple">
+                        
+                        SCIMple
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../fortress">
+                        
+                        Fortress
+                        
+                    </a>
+                    &nbsp;|&nbsp;
+                    <a href="./../../kerby">
+                        
+                        Kerby
+                        
+                    </a>
+                </div><!-- subProjectsNavBar -->
+            </div><!-- header -->
+            <div id="content">
+                <div id="leftColumn">
+                    
+<div id="navigation">
+    
+    <!--ul>
+      <li>
+        <a href="http://bit.ly/1n9YlQT" target="_blank">
+          <img src="./../../images/ApacheConBudapest.png" width="125" height="125" alt="I'm Speaking at ApacheCon Europe 2014! Join me!" title="I'm Speaking at ApacheCon Europe 2014! Join me!" border="0" style="margin-bottom:-3px;"/>
+        </a>
+      </li>
+    </ul-->
+    <h5>ApacheDS 2.0</h5>
+    <ul>
+        <li><a href="./../../apacheds/">Home</a></li>
+        <li><a href="./../../apacheds/news.html">News</a></li>
+        <li><a href="./../../apacheds/features.html">Features</a></li>
+    </ul>
+    <h5>Downloads</h5>
+    <ul>
+        <li><a href="./../../apacheds/downloads.html">ApacheDS 2.0.0.AM25</a>&nbsp;&nbsp;<img src="./../../images/new_badge.gif" alt="" style="margin-bottom:-3px;" border="0"></li>
+        <li><a href="./../../apacheds/download-old-versions.html">Older versions</a></li>
+    </ul>
+    <h5>Documentation</h5>
+    <ul>
+        <li><a href="./../../apacheds/basic-user-guide.html">Basic User Guide </a></li>
+        <li><a href="./../../apacheds/advanced-user-guide.html">Advanced User Guide</a></li>
+        <li><a href="./../../apacheds/developer-guide.html">Developer Guide</a></li>
+        <li><a href="./../../apacheds/kerberos-user-guide.html">Kerberos User Guide</a></li>
+        <li><a href="./../../apacheds/configuration/ads-2.0-configuration.html">Configuration</a></li>
+        <li><a href="./../../apacheds/gen-docs/latest/apidocs">JavaDocs</a></li>
+        <li><a href="./../../apacheds/gen-docs/latest/xref">Cross-Reference</a></li>
+    </ul>
+    
+    
+    <h5>Support</h5>
+    <ul>
+        <li><a href="./../../mailing-lists-and-irc.html">Mailing Lists &amp; IRC</a></li>
+        <li><a href="./../../sources.html">Sources</a></li>
+        <li><a href="./../../issue-tracking.html">Issue Tracking</a></li>
+        <li><a href="./../../commercial-support.html">Commercial Support</a></li>
+    </ul>
+    <h5>Community</h5>
+    <ul>
+        <li><a href="./../../contribute.html">How to Contribute</a></li>
+        <li><a href="./../../team.html">Team</a></li>
+        <li><a href="./../../original-project-proposal.html">Original Project Proposal</a></li>
+        <li><a href="./../../special-thanks.html" class="external-link" rel="nofollow">Special Thanks</a></li>
+    </ul>
+    <h5>About Apache</h5>
+    <ul>
+        <li><a href="http://www.apache.org/">Apache</a></li>
+        <li><a href="http://www.apache.org/licenses/">License</a></li>
+        <li><a href="http://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
+        <li><a href="http://www.apache.org/foundation/thanks.html">Thanks</a></li>
+        <li><a href="http://www.apache.org/security/">Security</a></li>
+    </ul>
+    
+</div><!-- navigation -->
+
+                </div><!-- leftColumn -->
+                <div id="rightColumn">
+
+
+
+<style type="text/css">
+/* The following code is added by mdx_elementid.py
+   It was originally lifted from http://subversion.apache.org/style/site.css */
+/*
+ * Hide class="elementid-permalink", except when an enclosing heading
+ * has the :hover property.
+ */
+.headerlink, .elementid-permalink {
+  visibility: hidden;
+}
+h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
+<h1 id="internal-design-guide">Internal Design Guide<a class="headerlink" href="#internal-design-guide" title="Permanent link">&para;</a></h1>
+
+
+
+                </div><!-- rightColumn -->
+                <div id="endContent"></div>
+            </div><!-- content -->
+            <div id="footer">&copy; 2003-2018, <a href="http://www.apache.org">The Apache Software Foundation</a> - <a href="./../../privacy-policy.html">Privacy Policy</a><br />
+                Apache Directory, ApacheDS, Apache Directory Server, Apache Directory Studio, Apache LDAP API, Apache Triplesec, Triplesec, Apache Mavibot, Mavibot, Apache eSCIMo, eSCIMo, Apache SCIMple, SCIMple,Fortress, Apache Fortress, EnMasse, Apache EnMasse, 
+                Apache Kerby, Kerby, Apache, the Apache feather logo, and the Apache Directory project logos are trademarks of The Apache Software Foundation.
+            </div>
+        </div><!-- container -->
+    </body>
+</html>
\ No newline at end of file

Added: websites/staging/directory/trunk/content/images/OID-state-automaton.graphml
==============================================================================
Binary file - no diff available.

Propchange: websites/staging/directory/trunk/content/images/OID-state-automaton.graphml
------------------------------------------------------------------------------
    svn:mime-type = application/xml