directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1821721 - in /directory/site/trunk/content/api/internal-design-guide: 2-general-structure.mdtext 5-network.mdtext images/ldapconnection.graphml images/ldapconnection.png
Date Fri, 19 Jan 2018 22:44:42 GMT
Author: elecharny
Date: Fri Jan 19 22:44:42 2018
New Revision: 1821721

URL: http://svn.apache.org/viewvc?rev=1821721&view=rev
Log:
Added the network page

Added:
    directory/site/trunk/content/api/internal-design-guide/images/ldapconnection.graphml
    directory/site/trunk/content/api/internal-design-guide/images/ldapconnection.png   (with
props)
Modified:
    directory/site/trunk/content/api/internal-design-guide/2-general-structure.mdtext
    directory/site/trunk/content/api/internal-design-guide/5-network.mdtext

Modified: directory/site/trunk/content/api/internal-design-guide/2-general-structure.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/internal-design-guide/2-general-structure.mdtext?rev=1821721&r1=1821720&r2=1821721&view=diff
==============================================================================
--- directory/site/trunk/content/api/internal-design-guide/2-general-structure.mdtext (original)
+++ directory/site/trunk/content/api/internal-design-guide/2-general-structure.mdtext Fri
Jan 19 22:44:42 2018
@@ -27,73 +27,6 @@ Notice: Licensed to the Apache Software
 The **Apache LDAP API** is split into many modules. Here is their hierarchy :
 
 ![Modules](images/ldap-api-modules.png)
-<pre>
-LDAP API root
-  |
-  +-- all
-  |
-  +-- asn1
-  |    |
-  |    +-- api
-  |    |
-  |    +-- ber
-  |
-  +-- distribution
-  |
-  +-- dsml
-  |    |
-  |    +-- engine
-  |    |
-  |    +-- parser
-  |
-  +-- i18n
-  |
-  +-- integ
-  |
-  +-- integ-osgi
-  |
-  +-- ldap
-  |    |
-  |    +-- client
-  |    |    |
-  |    |    +-- all
-  |    |    |
-  |    |    +-- api
-  |    |
-  |    +-- codec
-  |    |    |
-  |    |    +-- core
-  |    |    |
-  |    |    +-- standalone
-  |    |
-  |    +-- extras
-  |    |    |
-  |    |    +-- aci
-  |    |    |
-  |    |    +-- codec
-  |    |    |
-  |    |    +-- codec-api
-  |    |    |
-  |    |    +--sp
-  |    |    |
-  |    |    +-- trigger
-  |    |    |
-  |    |    +-- util
-  |    |
-  |    +-- model
-  |    |
-  |    +-- net
-  |    |    |
-  |    |    +-- mina
-  |    |
-  |    +-- schema
-  |         |
-  |         +-- converter
-  |         |
-  |         +-- data
-  |
-  +-- util
-</pre>
 
 * The **all** module is just a packaging module, gathering all the other modules in one single
jar to simplify the work for those who want to use the API. One can import each module speparately,
or the **all** module only. Note that it does not include the tests and integration modules
(**integ**, **integ-osgi** and **distribution**)
 

Modified: directory/site/trunk/content/api/internal-design-guide/5-network.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/internal-design-guide/5-network.mdtext?rev=1821721&r1=1821720&r2=1821721&view=diff
==============================================================================
--- directory/site/trunk/content/api/internal-design-guide/5-network.mdtext (original)
+++ directory/site/trunk/content/api/internal-design-guide/5-network.mdtext Fri Jan 19 22:44:42
2018
@@ -25,4 +25,166 @@ Notice: Licensed to the Apache Software
 # 5 - Network
 
 
-TODO...
\ No newline at end of file
+The **Apache LDAP AP** is built on top of [**Apache MINA](http://mina.apache.org) which is
a **NIO** framework. 
+
+As **MINA** is fully asynchronous, it has some impact on the design of the **LDAP API**.
Basically, we send requests, and we don't wait for responses, we get informed when the response
is there. Most of the time, the **API** users will want to wait for a response, instead of
leveraging the asyncrhonous aspect of the **API**: this is the reason we have a blocking **API**,
based on the non-blocking implementation. We will explain the whole thing here.
+
+NOTE : **LDAP** protocol is based on **TCP**, we are not dealing with **UDP** at all.
+
+## Class hierarchy
+
+![LdapConnection hierarchy](images/ldapconnection.png)
+
+
+## MINA usage
+
+There are two aspects we need to consider when it comes to use **MINA** :
+
+* events processing
+* sending a message
+* receiving a message
+* encoding/decoding
+
+### Events processing
+
+**MINA** is an asynchronous framework, which means it's event based : you will receive events
when something 'happens' (like, a message is received, etc). The events have to be processed
by the **LDAP API**, and the **IoHandler** interface is listing all the events we have to
process. Here they are :
+
+* _messageReceived_ : When a message has been fully received from the remote peer
+* _messageSent_ : When a message has been fully sent to the remote peer
+* _exceptionCaught_ : If we git an exception from the network layer
+* _inputClosed_ : When the _Input_ part of a TCP connection has been closed
+* _sessionClosed_ : When a Session is closed
+* _sessionCreated_ : When a Session is created
+* _sessionIdle_ : When a Session is idle
+* _sessionOpened_ : When a Session is opened
+
+The _session_ is created when you connect for the first time, it's atcive until it's closed.
We are talking about a **TCP** session, not a **LDAP** session.
+
+So the _LdapNetworkConnection_ class must implement those methods.
+
+Regarding the _messageReceived/messageSent_ methods, it's important to know that we are talking
about **FULL** **LDAP** messages, even if **TCP** does not guarantee that messages can't be
fragmented : **MINA** deal with fragmentation.
+
+Actually, we only implement the _messageReceived_, _exceptionCaught_, _inputClose_, _sessionCreated_
and _sessionClosed_ methods, the other are handled by the _IoHandlerAdpater_ methods (which
does nothing with it).
+
+### Sending a message
+
+There are two modes : **Synchronous** and **Asyncrhonous**. The methods are respectively
described in the _LdapConnection_ interface and _LdapAsyncConnection_ interface. Actually,
_synchronous_ methods are calling _asynchronous_ methods, which returns a _Future_ :
+
+    :::Java
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    public AddResponse add( AddRequest addRequest ) throws LdapException
+    {
+        ...
+
+        AddFuture addFuture = addAsync( addRequest );
+
+        // Get the result from the future
+        try
+        {
+            // Read the response, waiting for it if not available immediately
+            // Get the response, blocking
+            AddResponse addResponse = addFuture.get( timeout, TimeUnit.MILLISECONDS );
+
+            if ( addResponse == null )
+            {
+                // We didn't received anything : this is an error
+                LOG.error( "Add failed : timeout occurred" );
+                throw new LdapException( TIME_OUT_ERROR );
+            }
+
+            if ( addResponse.getLdapResult().getResultCode() == ResultCodeEnum.SUCCESS )
+            {
+                // Everything is fine, return the response
+                LOG.debug( "Add successful : {}", addResponse );
+            }
+            else
+            {
+                // We have had an error
+                LOG.debug( "Add failed : {}", addResponse );
+            }
+
+            return addResponse;
+        }
+        catch ( Exception ie )
+        {
+            // Catch all other exceptions
+            // Send an abandon request
+            if ( !addFuture.isCancelled() )
+            {
+                abandon( addRequest.getMessageId() );
+            }
+
+            throw new LdapException( NO_RESPONSE_ERROR, ie );
+        }
+    }
+
+You can see we wait until the timeout expired, or until we got the response, calling the
_addAsync_ method, getting back a _Future_ and waiting on it.
+
+This method take a _AddRequest_ but we have other simpler flavors (see the **LDAP API** documentation).
+
+
+    :::Text
+    AddResponse ldapConnection.add( AddResquest )
+        |
+        +-- AddFuture addAsync( AddRequest )
+        |       |
+        |       +-- connect()
+        |       |       |
+        |       |       +-- createConnector()
+        |       |       |       |
+        |       |       |       +-- new NioSocketConnector()
+        |       |       |       |
+        |       |       |       +-- NioSocketConnector.getFilterChain().addLast( "ldapCodec",
ldapProtocolFilter );
+        |       |       |       |
+        |       |       |      [+-- addSslFilter()]
+        |       |       |       |
+        |       |       |       +-- NioSocketConnector.setHandler( this )
+        |       |       |
+        |       |       +-- IoConnector.connect( address )
+        |       |
+        |       +-- checkSession()
+        |       |
+        |       +-- new AddFuture( LdapConnection, ID )
+        |       |
+        |       +-- addToFutureMap( ID, AddFuture )
+        |       |
+        |       +-- writeRequest( AddRequest )
+        |               |
+        |               +-- WriteFuture IoSession.write( request )
+        |               |
+        |               +-- WriteFuture.awaitUninterruptibly( 100 )
+        |
+        +-- AddFuture.get()
+
+Here, we first create a connection if we don't have one yet, and then we try to write the
message to the remote server, and wait for the message to be sent. That means sending message
is synchronous, while receiving is aysnchronous by default. (NOTE : This may change in the
next version.)
+
+Once the request has been written, we do a _get_ on the returned _Future_. Either we get
an _AddResponse_, or an error/timeout.
+
+### Receiving a message
+
+Once the _IoSession.write()_ method is called, we can assume the message has been sent to
the remote server (sort of). The response will come as an event : _messageReceived()_, which
is implemented in _LdapNetworkConnection_.
+
+Each **LDAP** message has a unique **ID**, and every sent message is associated with a _Future_.
When the message is sent, we store a tuple <**ID**, **Future**> in a map, so when the
response arrives, we just have to pull the _Future_ from the map using teh message **ID**.
This is what we do in the _messageReceived()_ implementation. The response is enqueued in
the _Future_ (we may have more than one, typically for **Search** operations).
+
+
+### Encoding/decoding
+
+Messages are encoded and decoded when we send or receive them. This is done by **MINA**,
using a callback in the **LDAP API**. That means we configured **MINA** to process **LDAP**
messages. 
+
+The codec is inserted in **MINA** chain while connecting :
+
+    :::Java
+    /** The Ldap codec protocol filter */
+    private IoFilter ldapProtocolFilter = new ProtocolCodecFilter( codec.getProtocolCodecFactory()
);
+
+    private void createConnector() throws LdapException
+    {
+        ...
+
+        // Add the codec to the chain
+        connector.getFilterChain().addLast( "ldapCodec", ldapProtocolFilter );
+
+So the _ProtocolCodecFilter_ class is responsible for initializing the codec (it's a **MINA**
class), and here, we use a factory to inject the encoder and decoder instances. This factory
is _LdapProtocolCodecFactory_.
\ No newline at end of file

Added: directory/site/trunk/content/api/internal-design-guide/images/ldapconnection.graphml
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/internal-design-guide/images/ldapconnection.graphml?rev=1821721&view=auto
==============================================================================
--- directory/site/trunk/content/api/internal-design-guide/images/ldapconnection.graphml (added)
+++ directory/site/trunk/content/api/internal-design-guide/images/ldapconnection.graphml Fri
Jan 19 22:44:42 2018
@@ -0,0 +1,344 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:java="http://www.yworks.com/xml/yfiles-common/1.0/java"
xmlns:sys="http://www.yworks.com/xml/yfiles-common/markup/primitives/2.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml"
xmlns:yed="http://www.yworks.com/xml/yed/3" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd">
+  <!--Created by yEd 3.17-->
+  <key attr.name="Description" attr.type="string" for="graph" id="d0"/>
+  <key for="port" id="d1" yfiles.type="portgraphics"/>
+  <key for="port" id="d2" yfiles.type="portgeometry"/>
+  <key for="port" id="d3" yfiles.type="portuserdata"/>
+  <key attr.name="url" attr.type="string" for="node" id="d4"/>
+  <key attr.name="description" attr.type="string" for="node" id="d5"/>
+  <key for="node" id="d6" yfiles.type="nodegraphics"/>
+  <key for="graphml" id="d7" yfiles.type="resources"/>
+  <key attr.name="url" attr.type="string" for="edge" id="d8"/>
+  <key attr.name="description" attr.type="string" for="edge" id="d9"/>
+  <key for="edge" id="d10" yfiles.type="edgegraphics"/>
+  <graph edgedefault="directed" id="G">
+    <data key="d0"/>
+    <node id="n0">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="ShinyPlateNodeWithShadow">
+          <y:Geometry height="161.0" width="202.99999999999997" x="192.89393939393938"
y="354.81818181818176"/>
+          <y:Fill color="#C0C0C0" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog"
fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.1328125"
horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000"
verticalTextPosition="bottom" visible="true" width="34.9375" x="84.03125" y="4.0">MINA</y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n1">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="ShinyPlateNodeWithShadow">
+          <y:Geometry height="30.0" width="181.04207932514942" x="344.0" y="145.0"/>
+          <y:Fill color="#FFCC99" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog"
fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.1328125"
horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom"
visible="true" width="98.306640625" x="41.36771935007471" y="5.93359375">LdapConnection<y:LabelModel>
+              <y:SmartNodeLabelModel distance="4.0"/>
+            </y:LabelModel>
+            <y:ModelParameter>
+              <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0"
nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
+            </y:ModelParameter>
+          </y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n2">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="ShinyPlateNodeWithShadow">
+          <y:Geometry height="30.0" width="168.0" x="563.0" y="145.0"/>
+          <y:Fill color="#FFCC99" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog"
fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.1328125"
horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom"
visible="true" width="132.56640625" x="17.716796875" y="5.93359375">LdapAsyncConnection<y:LabelModel>
+              <y:SmartNodeLabelModel distance="4.0"/>
+            </y:LabelModel>
+            <y:ModelParameter>
+              <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0"
nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
+            </y:ModelParameter>
+          </y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n3">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="ShinyPlateNodeWithShadow">
+          <y:Geometry height="30.0" width="181.04207932514942" x="344.0" y="555.0"/>
+          <y:Fill color="#FFFF99" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog"
fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.1328125"
horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom"
visible="true" width="146.916015625" x="17.063031850074708" y="5.93359375">AbstractLdapConnection<y:LabelModel>
+              <y:SmartNodeLabelModel distance="4.0"/>
+            </y:LabelModel>
+            <y:ModelParameter>
+              <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0"
nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
+            </y:ModelParameter>
+          </y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n4">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="ShinyPlateNodeWithShadow">
+          <y:Geometry height="30.0" width="167.99999999999977" x="563.0" y="555.0"/>
+          <y:Fill color="#CCFFCC" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog"
fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.1328125"
horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom"
visible="true" width="146.88671875" x="10.556640624999886" y="5.93359375">LdapNetworkConnection<y:LabelModel>
+              <y:SmartNodeLabelModel distance="4.0"/>
+            </y:LabelModel>
+            <y:ModelParameter>
+              <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0"
nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
+            </y:ModelParameter>
+          </y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n5">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="ShinyPlateNodeWithShadow">
+          <y:Geometry height="30.0" width="181.04207932514942" x="344.0" y="57.5"/>
+          <y:Fill color="#C0C0C0" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog"
fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.1328125"
horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom"
visible="true" width="60.279296875" x="60.38139122507471" y="5.93359375">Closeable<y:LabelModel>
+              <y:SmartNodeLabelModel distance="4.0"/>
+            </y:LabelModel>
+            <y:ModelParameter>
+              <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0"
nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
+            </y:ModelParameter>
+          </y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n6">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="ShinyPlateNodeWithShadow">
+          <y:Geometry height="30.0" width="167.99999999999977" x="138.04207932514964"
y="145.0"/>
+          <y:Fill color="#CCFFCC" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog"
fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.1328125"
horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom"
visible="true" width="146.810546875" x="10.594726562499886" y="5.93359375">LdapConnectionWrapper<y:LabelModel>
+              <y:SmartNodeLabelModel distance="4.0"/>
+            </y:LabelModel>
+            <y:ModelParameter>
+              <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0"
nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
+            </y:ModelParameter>
+          </y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n7">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="ShinyPlateNodeWithShadow">
+          <y:Geometry height="30.0" width="181.04207932514942" x="344.0" y="642.5"/>
+          <y:Fill color="#CCFFCC" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog"
fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.1328125"
horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom"
visible="true" width="169.24609375" x="5.897992787574708" y="5.93359375">LdapCoreSessionConnection<y:LabelModel>
+              <y:SmartNodeLabelModel distance="4.0"/>
+            </y:LabelModel>
+            <y:ModelParameter>
+              <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0"
nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
+            </y:ModelParameter>
+          </y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n8">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="ShinyPlateNodeWithShadow">
+          <y:Geometry height="30.0" width="167.99999999999977" x="4.000000000000227" y="232.5"/>
+          <y:Fill color="#CCFFCC" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog"
fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.1328125"
horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom"
visible="true" width="162.09765625" x="2.9511718749998863" y="5.93359375">MonitoringLdapConnection<y:LabelModel>
+              <y:SmartNodeLabelModel distance="4.0"/>
+            </y:LabelModel>
+            <y:ModelParameter>
+              <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0"
nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
+            </y:ModelParameter>
+          </y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n9">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="ShinyPlateNodeWithShadow">
+          <y:Geometry height="30.0" width="211.99999999999977" x="-39.99999999999977"
y="320.0"/>
+          <y:Fill color="#CCFFCC" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog"
fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.1328125"
horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom"
visible="true" width="206.62890625" x="2.6855468749998863" y="5.93359375">InternalMonitoringLdapConnection<y:LabelModel>
+              <y:SmartNodeLabelModel distance="4.0"/>
+            </y:LabelModel>
+            <y:ModelParameter>
+              <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0"
nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
+            </y:ModelParameter>
+          </y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n10">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="ShinyPlateNodeWithShadow">
+          <y:Geometry height="30.0" width="181.04207932514942" x="203.0" y="467.5"/>
+          <y:Fill color="#FFFF99" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog"
fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.1328125"
horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom"
visible="true" width="106.43359375" x="37.30424278757471" y="5.93359375">IoHandlerAdapter<y:LabelModel>
+              <y:SmartNodeLabelModel distance="4.0"/>
+            </y:LabelModel>
+            <y:ModelParameter>
+              <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0"
nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
+            </y:ModelParameter>
+          </y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <node id="n11">
+      <data key="d5"/>
+      <data key="d6">
+        <y:GenericNode configuration="ShinyPlateNodeWithShadow">
+          <y:Geometry height="30.0" width="181.04207932514942" x="202.0" y="380.0"/>
+          <y:Fill color="#FFCC99" transparent="false"/>
+          <y:BorderStyle hasColor="false" type="line" width="1.0"/>
+          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog"
fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.1328125"
horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom"
visible="true" width="60.337890625" x="60.35209435007471" y="5.93359375">IoHandler<y:LabelModel>
+              <y:SmartNodeLabelModel distance="4.0"/>
+            </y:LabelModel>
+            <y:ModelParameter>
+              <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0"
nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
+            </y:ModelParameter>
+          </y:NodeLabel>
+        </y:GenericNode>
+      </data>
+    </node>
+    <edge id="e0" source="n2" target="n1">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e1" source="n3" target="n1">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="-2.7920569683787733"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="transparent_circle"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e2" source="n1" target="n5">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e3" source="n4" target="n2">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="transparent_circle"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e4" source="n4" target="n3">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e5" source="n7" target="n3">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e6" source="n6" target="n1">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="transparent_circle"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e7" source="n8" target="n6">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
+            <y:Point x="222.04207932514953" y="247.5"/>
+          </y:Path>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e8" source="n9" target="n6">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0">
+            <y:Point x="222.04207932514953" y="335.0"/>
+          </y:Path>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e9" source="n3" target="n10">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="white_delta"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+    <edge id="e10" source="n10" target="n11">
+      <data key="d9"/>
+      <data key="d10">
+        <y:PolyLineEdge>
+          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
+          <y:LineStyle color="#000000" type="line" width="1.0"/>
+          <y:Arrows source="none" target="transparent_circle"/>
+          <y:BendStyle smoothed="false"/>
+        </y:PolyLineEdge>
+      </data>
+    </edge>
+  </graph>
+  <data key="d7">
+    <y:Resources/>
+  </data>
+</graphml>

Added: directory/site/trunk/content/api/internal-design-guide/images/ldapconnection.png
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/internal-design-guide/images/ldapconnection.png?rev=1821721&view=auto
==============================================================================
Binary file - no diff available.

Propchange: directory/site/trunk/content/api/internal-design-guide/images/ldapconnection.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



Mime
View raw message