You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2006/08/14 02:21:25 UTC
svn commit: r431273 - in /directory/sandbox/akarasulu/apacheds-2.0: ./
schema/ schema/descriptions/
schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/
schema/registries/ schema/registries/oid/ schema/registries/oid/impl...
Author: akarasulu
Date: Sun Aug 13 17:21:24 2006
New Revision: 431273
URL: http://svn.apache.org/viewvc?rev=431273&view=rev
Log:
ignoring idea files
Added:
directory/sandbox/akarasulu/apacheds-2.0/notes.txt
Modified:
directory/sandbox/akarasulu/apacheds-2.0/ (props changed)
directory/sandbox/akarasulu/apacheds-2.0/schema/ (props changed)
directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/ (props changed)
directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/DITContentRule.java
directory/sandbox/akarasulu/apacheds-2.0/schema/registries/ (props changed)
directory/sandbox/akarasulu/apacheds-2.0/schema/registries/oid/ (props changed)
directory/sandbox/akarasulu/apacheds-2.0/schema/registries/oid/impl/ (props changed)
directory/sandbox/akarasulu/apacheds-2.0/schema/registries/oid/service/ (props changed)
Propchange: directory/sandbox/akarasulu/apacheds-2.0/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Aug 13 17:21:24 2006
@@ -0,0 +1,3 @@
+*.iml
+*.iws
+*.ipr
Added: directory/sandbox/akarasulu/apacheds-2.0/notes.txt
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/notes.txt?rev=431273&view=auto
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/notes.txt (added)
+++ directory/sandbox/akarasulu/apacheds-2.0/notes.txt Sun Aug 13 17:21:24 2006
@@ -0,0 +1,14 @@
+Some personal notes while starting out on this journey:
+
+ o To minimize the amount of overhead for managing excessive numbers of modules
+ we can stuff default implementations of small components into the bundle with
+ a service.
+
+ o Need a nice little archetye for creating test projects that create bundles to
+ test other component bundles. This will save a lot of time.
+
+ o Start playing with profiling for performance while writing this new server.
+ It will be interesting to see what kind of overhead we'll incur for using
+ OSGi. I'm thinking and hoping none.
+
+ o
Propchange: directory/sandbox/akarasulu/apacheds-2.0/schema/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Aug 13 17:21:24 2006
@@ -0,0 +1 @@
+*.iml
Propchange: directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sun Aug 13 17:21:24 2006
@@ -3,3 +3,4 @@
.classpath
.project
*.log
+*.iml
Modified: directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/DITContentRule.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/DITContentRule.java?rev=431273&r1=431272&r2=431273&view=diff
==============================================================================
--- directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/DITContentRule.java (original)
+++ directory/sandbox/akarasulu/apacheds-2.0/schema/descriptions/src/main/java/org/apache/directory/server2/schema/descriptions/DITContentRule.java Sun Aug 13 17:21:24 2006
@@ -33,7 +33,74 @@
*
* <pre>
* 4.1.6. DIT Content Rules
- *
+ *
+ * A DIT content rule is a "rule governing the content of entries of a
+ particular structural object class" [X.501].
+
+ For DIT entries of a particular structural object class, a DIT
+ content rule specifies which auxiliary object classes the entries are
+ allowed to belong to and which additional attributes (by type) are
+ required, allowed, or not allowed to appear in the entries.
+
+ The list of precluded attributes cannot include any attribute listed
+ as mandatory in the rule, the structural object class, or any of the
+ allowed auxiliary object classes.
+
+ Each content rule is identified by the object identifier, as well as
+ any short names (descriptors), of the structural object class it
+ applies to.
+
+ An entry may only belong to auxiliary object classes listed in the
+ governing content rule.
+
+ An entry must contain all attributes required by the object classes
+ the entry belongs to as well as all attributes required by the
+ governing content rule.
+
+ An entry may contain any non-precluded attributes allowed by the
+ object classes the entry belongs to as well as all attributes allowed
+ by the governing content rule.
+
+ An entry cannot include any attribute precluded by the governing
+ content rule.
+
+ An entry is governed by (if present and active in the subschema) the
+ DIT content rule that applies to the structural object class of the
+ entry (see Section 2.4.2). If no active rule is present for the
+ entry's structural object class, the entry's content is governed by
+ the structural object class (and possibly other aspects of user and
+ system schema). DIT content rules for superclasses of the structural
+ object class of an entry are not applicable to that entry.
+
+ DIT content rule descriptions are written according to the ABNF:
+
+ DITContentRuleDescription = LPAREN WSP
+ numericoid ; object identifier
+ [ SP "NAME" SP qdescrs ] ; short names (descriptors)
+ [ SP "DESC" SP qdstring ] ; description
+ [ SP "OBSOLETE" ] ; not active
+ [ SP "AUX" SP oids ] ; auxiliary object classes
+ [ SP "MUST" SP oids ] ; attribute types
+ [ SP "MAY" SP oids ] ; attribute types
+ [ SP "NOT" SP oids ] ; attribute types
+ extensions WSP RPAREN ; extensions
+
+ where:
+ <numericoid> is the object identifier of the structural object
+ class associated with this DIT content rule;
+ NAME <qdescrs> are short names (descriptors) identifying this DIT
+ content rule;
+ DESC <qdstring> is a short descriptive string;
+ OBSOLETE indicates this DIT content rule use is not active;
+ AUX specifies a list of auxiliary object classes that entries
+ subject to this DIT content rule may belong to;
+
+ MUST, MAY, and NOT specify lists of attribute types that are
+ required, allowed, or precluded, respectively, from appearing
+ in entries subject to this DIT content rule; and
+ <extensions> describe extensions.
+
+
* </pre>
*
* @see <a href="http://www.faqs.org/rfcs/rfc4512.html">RFC 4512</a>
Propchange: directory/sandbox/akarasulu/apacheds-2.0/schema/registries/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Aug 13 17:21:24 2006
@@ -0,0 +1 @@
+*.iml
Propchange: directory/sandbox/akarasulu/apacheds-2.0/schema/registries/oid/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sun Aug 13 17:21:24 2006
@@ -1,3 +1,5 @@
.classpath
.project
target
+*.iml
+.settings
Propchange: directory/sandbox/akarasulu/apacheds-2.0/schema/registries/oid/impl/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sun Aug 13 17:21:24 2006
@@ -2,3 +2,4 @@
.settings
.project
target
+*.iml
Propchange: directory/sandbox/akarasulu/apacheds-2.0/schema/registries/oid/service/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sun Aug 13 17:21:24 2006
@@ -2,4 +2,4 @@
.settings
.project
target
-
+*.iml