You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by fe...@apache.org on 2010/08/14 23:19:49 UTC

svn commit: r985583 [2/2] - in /directory/sandbox/felixk/apacheds-docs/src: advanced-user-guide/ advanced-user-guide/data/ advanced-user-guide/data/unit-tests/ advanced-user-guide/images/ basic-user-guide/ main/resources/css/

Added: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/EmbeddedADS.java
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/EmbeddedADS.java?rev=985583&view=auto
==============================================================================
--- directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/EmbeddedADS.java (added)
+++ directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/EmbeddedADS.java Sat Aug 14 21:19:48 2010
@@ -0,0 +1,188 @@
+/*
+ * 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.
+ */
+package org.apache.directory;
+
+import java.util.HashSet;
+
+import org.apache.directory.server.core.DefaultDirectoryService;
+import org.apache.directory.server.core.DirectoryService;
+import org.apache.directory.server.core.entry.ServerEntry;
+import org.apache.directory.server.core.partition.Partition;
+import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex;
+import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition;
+import org.apache.directory.server.xdbm.Index;
+import org.apache.directory.shared.ldap.entry.Entry;
+import org.apache.directory.shared.ldap.exception.LdapNameNotFoundException;
+import org.apache.directory.shared.ldap.name.LdapDN;
+
+/**
+ * A simple example exposing how to embed Apache Directory Server
+ * into an application.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
+public class EmbeddedADS
+{
+    /** The directory service */
+    private DirectoryService service;
+    
+    /**
+     * Add a new partition to the server
+     *
+     * @param partitionId The partition Id
+     * @param partitionDn The partition DN
+     * @return The newly added partition
+     * @throws Exception If the partition can't be added
+     */
+    private Partition addPartition( String partitionId, String partitionDn ) throws Exception
+    {
+        // Create a new partition named 'foo'.
+        Partition partition = new JdbmPartition();
+        partition.setId( partitionId );
+        partition.setSuffix( partitionDn );
+        service.addPartition( partition );
+        
+        return partition;
+    }
+    
+    
+    /**
+     * Add a new set of index on the given attributes
+     *
+     * @param partition The partition on which we want to add index
+     * @param attrs The list of attributes to index
+     */
+    private void addIndex( Partition partition, String... attrs )
+    {
+        // Index some attributes on the apache partition
+        HashSet<Index<?, ServerEntry>> indexedAttributes = new HashSet<Index<?, ServerEntry>>();
+        
+        for ( String attribute:attrs )
+        {
+            indexedAttributes.add( new JdbmIndex<String,ServerEntry>( attribute ) );
+        }
+        
+        ((JdbmPartition)partition).setIndexedAttributes( indexedAttributes );
+    }
+    
+    
+    /**
+     * Initialize the server. It creates the partition, adds the index, and
+     * injects the context entries for the created partitions.
+     *
+     * @throws Exception if there were some problems while initializing the system
+     */
+    private void init() throws Exception
+    {
+        // Initialize the LDAP service
+        service = new DefaultDirectoryService();
+        
+        // Disable the ChangeLog system
+        service.getChangeLog().setEnabled( false );
+        service.setDenormalizeOpAttrsEnabled( true );
+        
+        // Create some new partitions named 'foo', 'bar' and 'apache'.
+        Partition fooPartition = addPartition( "foo", "dc=foo,dc=com" );
+        Partition barPartition = addPartition( "bar", "dc=bar,dc=com" );
+        Partition apachePartition = addPartition( "apache", "dc=apache,dc=org" );
+        
+        // Index some attributes on the apache partition
+        addIndex( apachePartition, "objectClass", "ou", "uid" );
+        
+        // And start the service
+        service.startup();
+        
+        // Inject the foo root entry if it does not already exist
+        try
+        {
+            service.getAdminSession().lookup( fooPartition.getSuffixDn() );
+        }
+        catch ( LdapNameNotFoundException lnnfe )
+        {
+            LdapDN dnFoo = new LdapDN( "dc=foo,dc=com" );
+            ServerEntry entryFoo = service.newEntry( dnFoo );
+            entryFoo.add( "objectClass", "top", "domain", "extensibleObject" );
+            entryFoo.add( "dc", "foo" );
+            service.getAdminSession().add( entryFoo );
+        }
+
+        // Inject the bar root entry
+        try
+        {
+            service.getAdminSession().lookup( barPartition.getSuffixDn() );
+        }
+        catch ( LdapNameNotFoundException lnnfe )
+        {
+            LdapDN dnBar = new LdapDN( "dc=bar,dc=com" );
+            ServerEntry entryBar = service.newEntry( dnBar );
+            entryBar.add( "objectClass", "top", "domain", "extensibleObject" );
+            entryBar.add( "dc", "bar" );
+            service.getAdminSession().add( entryBar );
+        }
+
+        // Inject the apache root entry
+        if ( !service.getAdminSession().exists( apachePartition.getSuffixDn() ) )
+        {
+            LdapDN dnApache = new LdapDN( "dc=Apache,dc=Org" );
+            ServerEntry entryApache = service.newEntry( dnApache );
+            entryApache.add( "objectClass", "top", "domain", "extensibleObject" );
+            entryApache.add( "dc", "Apache" );
+            service.getAdminSession().add( entryApache );
+        }
+        
+        // We are all done !
+    }
+    
+    
+    /**
+     * Creates a new instance of EmbeddedADS. It initializes the directory service.
+     *
+     * @throws Exception If something went wrong
+     */
+    public EmbeddedADS() throws Exception
+    {
+        init();
+    }
+
+    /**
+     * Main class. We just do a lookup on the server to check that it's available.
+     *
+     * @param args Not used. 
+     */
+    public static void main( String[] args ) //throws Exception 
+    {
+        try
+        {
+            // Create the server
+            EmbeddedADS ads = new EmbeddedADS();
+            
+            // Read an entry
+            Entry result = ads.service.getAdminSession().lookup( new LdapDN( "dc=apache,dc=org" ) );
+            
+            // And print it if available
+            System.out.println( "Found entry : " + result );
+        }
+        catch ( Exception e )
+        {
+            // Ok, we have something wrong going on ...
+            e.printStackTrace();
+        }
+    }
+}

Propchange: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/EmbeddedADS.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/pom.xml?rev=985583&view=auto
==============================================================================
--- directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/pom.xml (added)
+++ directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/pom.xml Sat Aug 14 21:19:48 2010
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  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.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.directory.server</groupId>
+  <artifactId>apacheds-embedded-sample</artifactId>
+  <version>1.5.5-SNAPSHOT</version>
+  <name>ApacheDS embedded sample</name>
+  <description>ApacheDS embedded sample</description>
+  <packaging>jar</packaging>  
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.directory.server</groupId>
+      <artifactId>apacheds-all</artifactId>
+      <version>1.5.5</version>
+      <exclusions>
+        <exclusion>
+          <groupId>org.apache.directory.shared</groupId>
+          <artifactId>shared-ldap</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-log4j12</artifactId>
+      <version>1.5.6</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <configuration>
+            <source>1.5</source>
+            <target>1.5</target>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+</project>

Propchange: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/unit-tests/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/unit-tests/pom.xml?rev=985583&view=auto
==============================================================================
--- directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/unit-tests/pom.xml (added)
+++ directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/unit-tests/pom.xml Sat Aug 14 21:19:48 2010
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  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.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.directory.server</groupId>
+  <artifactId>apacheds-unit-test</artifactId>
+  <version>1.5.5-SNAPSHOT</version>
+  <name>ApacheDS Server Unit</name>
+  <packaging>jar</packaging>  
+
+  <description>
+    Unit test for ApacheDS Server JNDI Provider
+  </description>
+
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.4</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <version>1.2.14</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-log4j12</artifactId>
+      <version>1.5.2</version>
+      <scope>provided</scope>
+    </dependency>
+
+    <dependency>
+      <groupId>org.apache.directory.server</groupId>
+      <artifactId>apacheds-core-integ</artifactId>
+      <version>1.5.5-SNAPSHOT</version>
+    </dependency>  
+
+    <dependency>
+      <groupId>org.apache.directory.server</groupId>
+      <artifactId>apacheds-server-integ</artifactId>
+      <version>1.5.5-SNAPSHOT</version>
+    </dependency>  
+
+    <dependency>
+      <groupId>org.apache.directory.server</groupId>
+      <artifactId>apacheds-all</artifactId>
+      <version>1.5.5-SNAPSHOT</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>2.0.2</version>
+          <configuration>
+            <source>1.5</source>
+            <target>1.5</target>
+            <optimize>true</optimize>
+            <showDeprecations>true</showDeprecations>
+            <encoding>ISO-8859-1</encoding>
+          </configuration>
+        </plugin>
+        <plugin>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <configuration>
+            <argLine>-Xmx1024m</argLine>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+</project>

Propchange: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/unit-tests/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/data/unit-tests/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/ApacheDS_WebApp_UML.png
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/ApacheDS_WebApp_UML.png?rev=985583&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/ApacheDS_WebApp_UML.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/DirectoryStudio1.png
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/DirectoryStudio1.png?rev=985583&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/DirectoryStudio1.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/DirectoryStudio2.png
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/DirectoryStudio2.png?rev=985583&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/DirectoryStudio2.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/DirectoryStudio3.png
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/DirectoryStudio3.png?rev=985583&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/DirectoryStudio3.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/RootDseServletInBrowser.png
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/RootDseServletInBrowser.png?rev=985583&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/RootDseServletInBrowser.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/TomcatManagerAppInBrowser.png
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/TomcatManagerAppInBrowser.png?rev=985583&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/TomcatManagerAppInBrowser.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/WebSphereAdminConsoleInBrowser.png
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/WebSphereAdminConsoleInBrowser.png?rev=985583&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/WebSphereAdminConsoleInBrowser.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/smile.gif
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/smile.gif?rev=985583&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/felixk/apacheds-docs/src/advanced-user-guide/images/smile.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: directory/sandbox/felixk/apacheds-docs/src/basic-user-guide/chapter-basic-security.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/basic-user-guide/chapter-basic-security.xml?rev=985583&r1=985582&r2=985583&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-docs/src/basic-user-guide/chapter-basic-security.xml (original)
+++ directory/sandbox/felixk/apacheds-docs/src/basic-user-guide/chapter-basic-security.xml Sat Aug 14 21:19:48 2010
@@ -331,7 +331,7 @@ ldap_simple_bind: additional info: Bind 
       ]]></screen>
         <para>This is intended. If someone was able to catch this value (from an LDIF export for instance), s/he must
           still provide the password itself in order to get authenticated.</para>
-        <note>
+        <important>
           <para>
             <emphasis
               role="bold">Be Warned: Limited security added</emphasis>
@@ -345,7 +345,7 @@ ldap_simple_bind: additional info: Bind 
             fast, and the attacker can attempt millions of values with ease, without you getting notice of it.
             Therefore
             protect your data, even if one-way encryption is applied to the passwords!</para>
-        </note>
+        </important>
       </section>
     </section>
     <section
@@ -416,7 +416,7 @@ objectclass: top
             </imageobject>
           </mediaobject>
         </figure>
-        <note>
+        <important>
           <para>
             <emphasis
               role="bold">Use this feature wisely</emphasis>
@@ -431,7 +431,7 @@ objectclass: top
               linkend="Basic authorization" />
             section
           </para>
-        </note>
+        </important>
       </section>
     </section>
     <section
@@ -1515,16 +1515,16 @@ $
       <title>Server configuration</title>
       <para>ApacheDS 1.5.5 supports both options and requires a JDK 1.5 or above. The feature is enabled by default, but
         you may need to configure it. There are some steps to follow in order to obtain a SSL enabled server.</para>
-      <note>
+      <important>
         <para>In order to keep it simple for beginners, you don't need any certificate to get LDAPS working. The latest
           version generates its own self signed certificate. From the user point of view, it's just a matter of enabling
           the ldaps service to get it working.</para>
         <para>However, if one wants to use a signed certificate, another configuration is needed, where you tell the
           server about the keystore to use, and the certificate password to use.</para>
-      </note>
+      </important>
       <section
         id="In case you want ADS to generate the certificate">
-        <note>In case you want ADS to generate the certificate</note>
+        <important>In case you want ADS to generate the certificate</important>
         <para>
           There is nothing to do but enabling SSL and specifying the port to use in the
           <emphasis>server.xml</emphasis>
@@ -1543,13 +1543,13 @@ $
   ...
         ]]></programlisting>
         <para>That's it, the server is LDAPS capable !</para>
-        <note>
+        <important>
           <para>
             The default
             <emphasis>server.xml</emphasis>
             configuration file contains an typo, by default the port is set to 10686.
           </para>
-        </note>
+        </important>
       </section>
       <section
         id="In case you want to use an external keystore">

Modified: directory/sandbox/felixk/apacheds-docs/src/basic-user-guide/chapter-basic-user-guide.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/basic-user-guide/chapter-basic-user-guide.xml?rev=985583&r1=985582&r2=985583&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-docs/src/basic-user-guide/chapter-basic-user-guide.xml (original)
+++ directory/sandbox/felixk/apacheds-docs/src/basic-user-guide/chapter-basic-user-guide.xml Sat Aug 14 21:19:48 2010
@@ -27,7 +27,7 @@ under the License.
   xmlns:ns3="http://www.w3.org/1999/xhtml"
   xml:lang="en">
   <title>Basic User's Guide</title>
-  <note>
+  <important>
     Work in progress
     Unfortunately the Basic User's Guide for ApacheDS 1.5 is not finished yet. We have started to move
     and revise the content, things
@@ -37,7 +37,7 @@ under the License.
     <link
       xlink:href="http://directory.apache.org/apacheds/1.0/apacheds-v10-basic-users-guide.html">ApacheDS 1.0 Basic User's Guide</link>
     , which is currently more complete.
-  </note>
+  </important>
   <section>
     <title>About this guide</title>
     <para>Getting started. Learn how to download and install ApacheDS 1.5 on different platforms, connect to it with

Modified: directory/sandbox/felixk/apacheds-docs/src/basic-user-guide/chapter-how-to-begin.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/basic-user-guide/chapter-how-to-begin.xml?rev=985583&r1=985582&r2=985583&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-docs/src/basic-user-guide/chapter-how-to-begin.xml (original)
+++ directory/sandbox/felixk/apacheds-docs/src/basic-user-guide/chapter-how-to-begin.xml Sat Aug 14 21:19:48 2010
@@ -768,11 +768,11 @@ HotSpot(TM) Client VM (build 1.5.0_06-b0
           and change the values of port to your needs. You have to restart the server afterwards in order to take this
           change effect.
         </para>
-        <note>
+        <important>
           Due to traditional Unix security restrictions, ports less than 1024 were "trusted". Thus on a
           Unix-System, a
           non-root process must listen on a port greater than 1023.
-        </note>
+        </important>
       </section>
       <section
         id="Resources_1">

Modified: directory/sandbox/felixk/apacheds-docs/src/main/resources/css/common_20091029.css
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/apacheds-docs/src/main/resources/css/common_20091029.css?rev=985583&r1=985582&r2=985583&view=diff
==============================================================================
--- directory/sandbox/felixk/apacheds-docs/src/main/resources/css/common_20091029.css (original)
+++ directory/sandbox/felixk/apacheds-docs/src/main/resources/css/common_20091029.css Sat Aug 14 21:19:48 2010
@@ -393,12 +393,12 @@ th 
 	text-align: center;
 }
 
-.note 
+.important 
 {
-	border: 1px solid #f0c000;
-	background-color: #ffffce;
-	margin-top: 5px;
-	margin-bottom: 5px
+    border: 1px solid #f0c000;
+    background-color: #ffffce;
+    margin-top: 5px;
+    margin-bottom: 5px
 }
 
 .warning 
@@ -410,7 +410,7 @@ th 
 	margin-bottom: 5px
 }
 
-.info 
+.note 
 {
 	border: 1px solid #3c78b5;
 	background-color: #D8E4F1;