From commits-return-35032-apmail-directory-commits-archive=directory.apache.org@directory.apache.org Tue Dec 4 11:14:46 2012 Return-Path: X-Original-To: apmail-directory-commits-archive@www.apache.org Delivered-To: apmail-directory-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0FBC3D7EB for ; Tue, 4 Dec 2012 11:14:46 +0000 (UTC) Received: (qmail 16751 invoked by uid 500); 4 Dec 2012 11:14:45 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 16676 invoked by uid 500); 4 Dec 2012 11:14:44 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 16653 invoked by uid 99); 4 Dec 2012 11:14:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2012 11:14:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Dec 2012 11:14:40 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 8A37D2388980; Tue, 4 Dec 2012 11:14:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1416887 - in /directory/site/trunk/content: api/user-guide/ images/ Date: Tue, 04 Dec 2012 11:14:18 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121204111419.8A37D2388980@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: elecharny Date: Tue Dec 4 11:14:16 2012 New Revision: 1416887 URL: http://svn.apache.org/viewvc?rev=1416887&view=rev Log: Added a new page, an image, and fixed some pages Added: directory/site/trunk/content/api/user-guide/4.1-schema-manager.mdtext directory/site/trunk/content/images/SchemaObjects.png (with props) Modified: directory/site/trunk/content/api/user-guide/2-basic-ldap-api-usage.mdtext directory/site/trunk/content/api/user-guide/3-advanced-ldap-api-usage.mdtext directory/site/trunk/content/api/user-guide/4-schema-management.mdtext directory/site/trunk/content/api/user-guide/5-ldap-security.mdtext directory/site/trunk/content/api/user-guide/6-ldap-data-structures.mdtext directory/site/trunk/content/api/user-guide/7-ldap-rfcs.mdtext Modified: directory/site/trunk/content/api/user-guide/2-basic-ldap-api-usage.mdtext URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/user-guide/2-basic-ldap-api-usage.mdtext?rev=1416887&r1=1416886&r2=1416887&view=diff ============================================================================== --- directory/site/trunk/content/api/user-guide/2-basic-ldap-api-usage.mdtext (original) +++ directory/site/trunk/content/api/user-guide/2-basic-ldap-api-usage.mdtext Tue Dec 4 11:14:16 2012 @@ -29,7 +29,7 @@ We provide three different set of method * A second set, for advanced users, giving full control to the user * A third set allowing the user to send asynchronous requests. -## Content +## Contents * [Connection and disconnection](2.1-connection-disconnection.html) * [Binding and unbinding (...)](2.2-binding-unbinding.html) Modified: directory/site/trunk/content/api/user-guide/3-advanced-ldap-api-usage.mdtext URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/user-guide/3-advanced-ldap-api-usage.mdtext?rev=1416887&r1=1416886&r2=1416887&view=diff ============================================================================== --- directory/site/trunk/content/api/user-guide/3-advanced-ldap-api-usage.mdtext (original) +++ directory/site/trunk/content/api/user-guide/3-advanced-ldap-api-usage.mdtext Tue Dec 4 11:14:16 2012 @@ -24,7 +24,7 @@ Notice: Licensed to the Apache Software # 3 - Advanced LDAP API Usage (...) -## Content +## Contents * [Controls (...)](3.1-controls.html) * [Extended operations (e)](3.2-extended-operations.html) Modified: directory/site/trunk/content/api/user-guide/4-schema-management.mdtext URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/user-guide/4-schema-management.mdtext?rev=1416887&r1=1416886&r2=1416887&view=diff ============================================================================== --- directory/site/trunk/content/api/user-guide/4-schema-management.mdtext (original) +++ directory/site/trunk/content/api/user-guide/4-schema-management.mdtext Tue Dec 4 11:14:16 2012 @@ -24,9 +24,9 @@ Notice: Licensed to the Apache Software # 4 - Schema Management (...) -## Content +## Contents -* [SchemaManager (e)](4.1-schema-manager.html) +* [SchemaManager (...)](4.1-schema-manager.html) * [AttributeTypes (e)](4.2-attribute-types.html) * [DITContentRules (e)(4.3-dit-content-rules.html) * [DITStructureRules (e)(4.4-dit-structure-rules.html) Added: directory/site/trunk/content/api/user-guide/4.1-schema-manager.mdtext URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/user-guide/4.1-schema-manager.mdtext?rev=1416887&view=auto ============================================================================== --- directory/site/trunk/content/api/user-guide/4.1-schema-manager.mdtext (added) +++ directory/site/trunk/content/api/user-guide/4.1-schema-manager.mdtext Tue Dec 4 11:14:16 2012 @@ -0,0 +1,66 @@ +Title: 4.1 - Schema Manager +NavPrev: 4-schema-management.html +NavPrevText: 4 - Schema Management +NavUp: 4-schema-management.html +NavUpText: 4 - Schema Management +NavNext: 4.2-attrbute-types.html +NavNextText: 4.2 - AttributeTypes +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. + +# 4.1 - Schema Manager (...) + +Apache DS has to keep the schema elements available from all the parts of the server. This is done through what we call the **SchemaManager**. It hides all the internal structure from the users. + +## Description + +The **SchemaManager** stores all the Schema elements (**[AttributeTypes (e)]()**, **[ObjectClasses (e)]()**, ... Internally, we store those elements into the **Registries**, which are hives where each Schema Objects are stored. + +From the user point of view, the **SchemaManager** is seen as a representation of the available schemas. It can of course be extended, or modified, by adding or removing some schema elements. + +The server has one instance of a **SchemaManager**, which is used internally, and a user won't control it, in any case. On the client side, we can load a **SchemaManager** either from the server (and then we have a duplicated instance), or from existing schema files. We can even create a brand new **SchemaManager** and fill it with all what we need. + +## Contents + +The **SchemaManager** stores all the 11 kind of schema elements : + +| Name | +|---| +| **[ObjectClasses (e)](4.8-object-classes.html)** | +| **[AttributeTypes (...)](4.2-attribute-types.html)** | +| **[Syntaxes (e)](4.9-syntaxes.html)** | +| **[MatchingRules (e)](4.5-matching-rules.html)** | +| **[DITContentRules (e)](4.3-dit-content-rules.html)** | +| **[DITStructureRules (e)](4.4-dit-structure-rules.html)** | +| **[NameForms (e)](4.7-name-forms.html)** | +| **[MatchingRuleUses (e)](4.6-matching-rule-uses.html)** | +| _**[SyntaxChecker (e)]()**_ | +| _**[Normalizer (e)]()**_ | +| _**[LdapComparator (e)]()**_ | + +The last three elements are ApacheDS specific. + +All those elements have some tight relationships. The following schema expose all the relations between all those elements : + +![](../../images/SchemaObjects.png) + + +## Using a SchemaManager + +... + + Modified: directory/site/trunk/content/api/user-guide/5-ldap-security.mdtext URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/user-guide/5-ldap-security.mdtext?rev=1416887&r1=1416886&r2=1416887&view=diff ============================================================================== --- directory/site/trunk/content/api/user-guide/5-ldap-security.mdtext (original) +++ directory/site/trunk/content/api/user-guide/5-ldap-security.mdtext Tue Dec 4 11:14:16 2012 @@ -24,7 +24,7 @@ Notice: Licensed to the Apache Software # 5 - LDAP Security (...) -## Content +## Contents * [5.1 - ACI and ACLs (e)](5.1-aci-acls.html) * [5.2 - SSL (e)](5.2-ssl.html) Modified: directory/site/trunk/content/api/user-guide/6-ldap-data-structures.mdtext URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/user-guide/6-ldap-data-structures.mdtext?rev=1416887&r1=1416886&r2=1416887&view=diff ============================================================================== --- directory/site/trunk/content/api/user-guide/6-ldap-data-structures.mdtext (original) +++ directory/site/trunk/content/api/user-guide/6-ldap-data-structures.mdtext Tue Dec 4 11:14:16 2012 @@ -24,7 +24,7 @@ Notice: Licensed to the Apache Software # 6 - LDAP Data Structures (...) -## Content +## Contents * [6.1 - AdministrativePoint (e)](6.1-administrative-point.html) * [6.2 - AdministrativeRole (e)](6.2-administrative-role.html) Modified: directory/site/trunk/content/api/user-guide/7-ldap-rfcs.mdtext URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/user-guide/7-ldap-rfcs.mdtext?rev=1416887&r1=1416886&r2=1416887&view=diff ============================================================================== --- directory/site/trunk/content/api/user-guide/7-ldap-rfcs.mdtext (original) +++ directory/site/trunk/content/api/user-guide/7-ldap-rfcs.mdtext Tue Dec 4 11:14:16 2012 @@ -28,8 +28,6 @@ Notice: Licensed to the Apache Software This page list all the existing **RFCs**, obsolete or not. -![](../../images/icons/error.gif) : Informational - ![](../../images/icons/information.gif) : Informational ![](../../images/icons/lightbulb.gif) : Historic Added: directory/site/trunk/content/images/SchemaObjects.png URL: http://svn.apache.org/viewvc/directory/site/trunk/content/images/SchemaObjects.png?rev=1416887&view=auto ============================================================================== Binary file - no diff available. Propchange: directory/site/trunk/content/images/SchemaObjects.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream