<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://corentin.azelart.fr/index.php?feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>MiddleWAR &amp; Co</title>
  <link>http://corentin.azelart.fr/index.php?</link>
  <atom:link href="http://corentin.azelart.fr/index.php?feed/rss2" rel="self" type="application/rss+xml"/>
  <description>Middleware, J2EE &amp; Compagnie...</description>
  <language>fr</language>
  <pubDate>Sat, 28 Jan 2012 12:16:50 +0000</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>GrandMA 2 DIY - Fabriquer son clavier programmable</title>
    <link>http://corentin.azelart.fr/index.php?post/2012/01/28/GrandMA-2-DIY-Fabriquer-son-clavier-programmable</link>
    <guid isPermaLink="false">urn:md5:3971254785670c00dd55f7315215f951</guid>
    <pubDate>Sat, 28 Jan 2012 11:58:00 +0000</pubDate>
    <dc:creator>Corentin Azelart</dc:creator>
        <category>GrandMA2 DIY</category>
            
    <description>&lt;p&gt;&lt;img src=&quot;http://corentin.azelart.fr/public/.IMG_1301_m.jpg&quot; alt=&quot;GrandMA 2 DIY Keyboard&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;GrandMA 2 DIY Keyboard, janv. 2012&quot; /&gt;
A la demande générale sur le groupe MA-Lighting je vais expliquer rapidement comment faire son propre clavier programmable (avec les ressources&amp;nbsp;: étiquettes, fichiers de mapping clavier, etc...).&lt;/p&gt;    &lt;p&gt;Au niveau des pré-requis vous avez besoin&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Une version &amp;gt;= 2.5.3.6 de onPC &lt;a href=&quot;http://www.malighting.com/support.html&quot; hreflang=&quot;en&quot; title=&quot;Cliquez-ici pour télécharger le dernière version de onPC&quot;&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Un clavier programmable&amp;nbsp;: le JR Prog 78T de JR Commercique au prix de 109.00€ (version USB) &lt;a href=&quot;http://www.jr-commercique.fr/catalog/product_info.php?pName=clavier-jr-prog-78t-usb&amp;amp;cName=encaissement-clavier-caisse&quot; hreflang=&quot;fr&quot; title=&quot;Acheter le clavier programmable&quot;&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Un fichier de mapping pour onPC&amp;nbsp;: &lt;a href=&quot;http://corentin.azelart.fr/public/grandma_shortcutmapping.xml&quot; hreflang=&quot;fr&quot; title=&quot;Fichier mapping shortcuts XML GrandMA 2&quot;&gt;GrandMA 2 Shortcuts XML&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Un fichier de mapping pour le JR Prog 78T&amp;nbsp;: &lt;a href=&quot;http://corentin.azelart.fr/public/gma.dat&quot; hreflang=&quot;fr&quot; title=&quot;Fichier mapping JR Prog 78T GrandMA 2&quot;&gt;gma.dat&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Des étiquettes&amp;nbsp;: https://docs.google.com/spreadsheet/ccc?key=0AlTa_pTDMWl2dHNEaG90WmI3QmFXc081RUUybjZxT0E&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ensuite étape par étapes&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Installer onPC et le clavier programmable (voir les liens ci-dessus pour retrouver les drivers et les logiciels)&lt;/li&gt;
&lt;li&gt;Configurer les raccourcis sur onPC&amp;nbsp;: Setup &amp;gt; Console &amp;gt; Edit Keyboard Shortcuts &amp;gt; Import, sélectionnez le fichier grandma_shortcutmapping.xml&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;http://corentin.azelart.fr/public/.ma1_m.jpg&quot; alt=&quot;Shortcuts GrandMA on PC&quot; title=&quot;Shortcuts GrandMA on PC, janv. 2012&quot; /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Même opération avec le logiciel du JR Prog 78T&amp;nbsp;: Ouvrir &amp;gt; Sélectionnez le fichier gma.dat puis cliquez sur l'icone avec la flèche verte pour charger la configuration physiquement sur le clavier.&lt;/li&gt;
&lt;li&gt;Pour finir n'hésitez pas à décorer un peu&amp;nbsp;: https://docs.google.com/spreadsheet/ccc?key=0AlTa_pTDMWl2dHNEaG90WmI3QmFXc081RUUybjZxT0E&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;http://corentin.azelart.fr/public/.IMG_1327_m.jpg&quot; alt=&quot;GrandMA 2 DIY Keyboard&quot; title=&quot;GrandMA 2 DIY Keyboard, janv. 2012&quot; /&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://corentin.azelart.fr/index.php?post/2012/01/28/GrandMA-2-DIY-Fabriquer-son-clavier-programmable#comment-form</comments>
      <wfw:comment>http://corentin.azelart.fr/index.php?post/2012/01/28/GrandMA-2-DIY-Fabriquer-son-clavier-programmable#comment-form</wfw:comment>
      <wfw:commentRss>http://corentin.azelart.fr/index.php?feed/atom/comments/7</wfw:commentRss>
      </item>
    
  <item>
    <title>VisualVM - Configurer avec Tomcat démarré en service Windows</title>
    <link>http://corentin.azelart.fr/index.php?post/2012/01/17/VisualVM-Configurer-avec-Tomcat-d%C3%A9marr%C3%A9-en-service-Windows</link>
    <guid isPermaLink="false">urn:md5:64d0d73d3fec9a63a5d621d534a22996</guid>
    <pubDate>Tue, 17 Jan 2012 13:33:00 +0000</pubDate>
    <dc:creator>Corentin Azelart</dc:creator>
        <category>Tomcat</category>
            
    <description>&lt;p&gt;&lt;img src=&quot;http://corentin.azelart.fr/public/.javavisualvm_m.jpg&quot; alt=&quot;Visual VM&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Visual VM, janv. 2012&quot; /&gt;
Un petit tutoriel pour expliquer rapidement la mise en oeuvre de VisualVM avec un serveur Tomcat (ici version 7) en tant que service sous Windows Serveur.&lt;/p&gt;    &lt;p&gt;Avant de commencer vous devez avoir Tomcat installé en service, ce tuto ne traite pas ce sujet. Le site de Tomcat présente particulièrement bien cette partie dans la documentation.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ouvrir l'utilitaire fournit avec l'installation de Tomcat (tomcat7w) présent dans le répertoire /bin. Cet utilitaire permet de gérer le service Windows (si il est installé).&lt;/li&gt;
&lt;li&gt;Allez dans l'onglet&amp;nbsp;: JAVA et ajoutez les paramètres suivants dans le bloc 'Java Options'&amp;nbsp;:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Dcom.sun.management.jmxremote
Dcom.sun.management.jmxremote.port=5555
Dcom.sun.management.jmxremote.ssl=false
Dcom.sun.management.jmxremote.authenticate=false&lt;/p&gt;


&lt;p&gt;&lt;img src=&quot;http://corentin.azelart.fr/public/tomcat_7_service.png&quot; alt=&quot;Tomcat 7 service windows&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Tomcat 7 service windows, janv. 2012&quot; /&gt;&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Attention&amp;nbsp;: ne pas appliquer sur un serveur exposé directement sur Internet, pensez à sécuriser dans le cas contraire&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Lancez Visual VM sur votre poste puis File &amp;gt; Add JMX Connection...&lt;/li&gt;
&lt;li&gt;Entrez l'adresse et le port dans le champ Connection&amp;nbsp;: exemple 127.0.0.1:5555 (n'oubliez pas il s'agit du port indiqué dans le paramètre&amp;nbsp;: -Dcom.sun.management.jmxremote.port (ici 5555).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;img src=&quot;http://corentin.azelart.fr/public/.2012-01-17_1449_m.jpg&quot; alt=&quot;Visual VM&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Visual VM, janv. 2012&quot; /&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://corentin.azelart.fr/index.php?post/2012/01/17/VisualVM-Configurer-avec-Tomcat-d%C3%A9marr%C3%A9-en-service-Windows#comment-form</comments>
      <wfw:comment>http://corentin.azelart.fr/index.php?post/2012/01/17/VisualVM-Configurer-avec-Tomcat-d%C3%A9marr%C3%A9-en-service-Windows#comment-form</wfw:comment>
      <wfw:commentRss>http://corentin.azelart.fr/index.php?feed/atom/comments/6</wfw:commentRss>
      </item>
    
  <item>
    <title>Installer Tomcat 7 en service</title>
    <link>http://corentin.azelart.fr/index.php?post/2012/01/05/Installer-Tomcat-7-en-service</link>
    <guid isPermaLink="false">urn:md5:b71374b51027346127830c9bbcade13e</guid>
    <pubDate>Thu, 05 Jan 2012 14:48:00 +0000</pubDate>
    <dc:creator>Corentin Azelart</dc:creator>
        <category>Tomcat</category>
        <category>tomcat 7 service windows server serveur</category>    
    <description>&lt;p&gt;&lt;img src=&quot;http://corentin.azelart.fr/public/Logo-Apache-Tomcat.png&quot; alt=&quot;Logo Apache Tomcat&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Logo Apache Tomcat, janv. 2012&quot; /&gt;
Ce billet n'est pas un tuto mais plus un guide rapide pour démarrer Apache Tomcat 7 en service sous Windows Server. Nous utilisons ici Windows Serveur 2008 R2, la procédure est la même pour les versions plus récentes de Windows.&lt;/p&gt;    &lt;p&gt;On commence point par point&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Positionner les variables d'environnements pour&amp;nbsp;: CATALINA_HOME, JAVA_HOME et JRE_HOME&amp;nbsp;:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;http://corentin.azelart.fr/public/catalina_vars.png&quot; alt=&quot;JAVA_HOME&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;JAVA_HOME, janv. 2012&quot; /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Au niveau du répertoire de votre serveur Tomcat exécutez la commande suivante dans un shell Windows&amp;nbsp;: bin\service.bat&quot; install (vous pouvez personnaliser le nom de votre service avec un descriptif à la fin de la commande)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Si votre serveur est en 64 bits il est impératif d’avoir un JRE 64 bits sinon le service ne va pas se lancera pas même le serveur démarre normalement manuellement. Constaté sur la version 7.0.23&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Ouvrez la console des services Windows et cliquez sur Démarrer (vous pouvez éventuellement indiquer le démarrage automatique au lancement du système)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&quot;http://corentin.azelart.fr/public/.catalina_service_2_m.jpg&quot; alt=&quot;Serice Tomcat 7&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Serice Tomcat 7, janv. 2012&quot; /&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://corentin.azelart.fr/index.php?post/2012/01/05/Installer-Tomcat-7-en-service#comment-form</comments>
      <wfw:comment>http://corentin.azelart.fr/index.php?post/2012/01/05/Installer-Tomcat-7-en-service#comment-form</wfw:comment>
      <wfw:commentRss>http://corentin.azelart.fr/index.php?feed/atom/comments/4</wfw:commentRss>
      </item>
    
  <item>
    <title>Spring-Ldap : Démarrage rapide avec les annotations</title>
    <link>http://corentin.azelart.fr/index.php?post/2011/12/14/Spring-Ldap-%3A-D%C3%A9marrage-rapide-avec-les-annotations2</link>
    <guid isPermaLink="false">urn:md5:9c9392a61c782fd4175cd878d8dd43de</guid>
    <pubDate>Wed, 14 Dec 2011 19:11:00 +0000</pubDate>
    <dc:creator>Corentin Azelart</dc:creator>
        <category>Spring-LDAP</category>
            
    <description>&lt;p&gt;&lt;img src=&quot;http://corentin.azelart.fr/public/Feature_DataAccess.png&quot; alt=&quot;Feature_DataAccess.png&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;Feature_DataAccess.png, déc. 2011&quot; /&gt;
Il arrive que pour des questions d'identification et d'authentification qu'il soit nécessaire de se connecter à un Ldap.
Mais il arrive aussi d'avoir le besoin uniquement de récupérer des informations (à la demande) comme un numéro de téléphone, une adresse mail, etc...
Ce billet à pour but d'expliquer plus en détails le second point moins souvent illustré, notamment avec une couche d’accès aux données (DAO).&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;Définition du modèle&lt;/strong&gt;
Comme dans une structure classique nous avons nos Bussiness Objects (Hibernate, JPA,...) mappés avec notre base de données via des annotations.
Dans le cadre du Ldap nous pouvons imaginer que nos Bussiness Objects soient des objets au sens Ldap du terme.
Un exemple avec un objet Person.java&lt;/p&gt;

&lt;pre class=&quot;java java&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;javax.naming.Name&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;org.springframework.ldap.odm.annotations.Attribute&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;org.springframework.ldap.odm.annotations.Entry&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;org.springframework.ldap.odm.annotations.Id&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
 * Personne au sens LDAP.
 * @author Corentin Azelart.
 *
 */&lt;/span&gt;
@Entry&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;objectClasses &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;top&amp;quot;&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;person&amp;quot;&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;organizationalPerson&amp;quot;&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;user&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;final&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;class&lt;/span&gt; Person &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
	&lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
	 * Identifiant.
	 */&lt;/span&gt;
	@Id
	&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;Name&lt;/span&gt; cn&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
	 * Nom d'affichage.
	 */&lt;/span&gt;
	@&lt;span style=&quot;color: #003399;&quot;&gt;Attribute&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; name &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;displayName&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; displayName&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
	 * Departement.
	 */&lt;/span&gt;
	@&lt;span style=&quot;color: #003399;&quot;&gt;Attribute&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; name &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;department&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; departement&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
	 * Numero de tel.
	 */&lt;/span&gt;
	@&lt;span style=&quot;color: #003399;&quot;&gt;Attribute&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; name &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;telephoneNumber&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; telephone&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
	 * Code postal.
	 */&lt;/span&gt;
	@&lt;span style=&quot;color: #003399;&quot;&gt;Attribute&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; name &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;postalCode&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; codePostal&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
	 * Adresse.
	 */&lt;/span&gt;
	@&lt;span style=&quot;color: #003399;&quot;&gt;Attribute&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; name &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;streetAddress&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; adresse&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
	 * Ville.
	 */&lt;/span&gt;
	@&lt;span style=&quot;color: #003399;&quot;&gt;Attribute&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; name &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;l&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;
	&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; ville&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
        ...&lt;span style=&quot;color: #006633;&quot;&gt;getters&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;/&lt;/span&gt;setters...&lt;/pre&gt;


&lt;p&gt;On retrouve donc plusieurs attributs&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;@Entry(objectClasses = { &quot;top&quot;, &quot;person&quot;, &quot;organizationalPerson&quot;, &quot;user&quot; })&amp;nbsp;: il s'agit de la définition de l'objet Ldap&lt;/li&gt;
&lt;li&gt;@Id&amp;nbsp;: un identifiant de votre objet Ldap&lt;/li&gt;
&lt;li&gt;@Attribute( name = &quot;streetAddress&quot; )&amp;nbsp;: un attribut de votre objet (le name étant le nom côté Ldap)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;strong&gt;Définition de notre OdmManager&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;L'ODM Manager est un peu la DAO d'un ORM, c'est à travers l'ODM que nous allons écrire nos &quot;requêtes Ldap&quot;.
La configuration est réalisable intégralement au niveau du fichier de configuration de Spring&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;xml xml&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;&amp;lt;!-- LDAP --&amp;gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;bean&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;ldapContextSource&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;org.springframework.ldap.core.support.LdapContextSource&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;property&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;url&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;ldap://ldap.votreEntreprise.com:389&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;property&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;userDn&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;DC=corp,DC=votreEntreprise,DC=com&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/bean&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;bean&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;odmManager&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;org.springframework.ldap.odm.core.impl.OdmManagerImplFactoryBean&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;property&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;converterManager&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;ref&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;converterManager&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;property&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;contextSource&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;ref&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;ldapContextSource&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;property&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;managedClasses&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
		&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;set&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
			&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;fr.azelart.ldapsample.bo.ldap.Person&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
		&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/set&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/property&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/bean&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;


&lt;p&gt;Dans le fichier de configuration on retrouve deux points importants&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;La source (LdapContextSource) qui symbolise la connexion, à adapter en fonction de la configuration du serveur Ldap&lt;/li&gt;
&lt;li&gt;L'ODM Manager&amp;nbsp;: qui va permettre la configuration et l'injection de l'ODM dans notre couche service, nous précisons les classes à mapper&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Création de notre service&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;Pour taper dans notre ODM Manager et donc dans notre Ldap, nous allons réaliser un service pour &quot;interfacer&quot; l'ensemble.
Un exemple de service simple&amp;nbsp;:&lt;/p&gt;
&lt;pre class=&quot;java java&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.util.ArrayList&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;java.util.List&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;javax.naming.directory.SearchControls&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;org.apache.log4j.Logger&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;org.springframework.beans.factory.annotation.Autowired&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;org.springframework.ldap.core.DistinguishedName&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;org.springframework.ldap.odm.core.OdmManager&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;org.springframework.stereotype.Service&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;com.capgemini.psp.bo.ldap.Person&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;com.capgemini.psp.bo.psp.Utilisateur&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;com.capgemini.psp.exceptions.TechnicalException&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;com.capgemini.psp.repository.psp.RepositoryUtilisateur&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;import&lt;/span&gt; &lt;span style=&quot;color: #006699;&quot;&gt;com.capgemini.psp.utils.Constantes&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
&lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
 * Service Ldap.
 * @author Corentin Azelart
 */&lt;/span&gt;
@Service
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;class&lt;/span&gt; ServiceLdap &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
&amp;nbsp;
	@Autowired
	&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;private&lt;/span&gt; OdmManager odmManager&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
	 * Logger.
	 */&lt;/span&gt;
	&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;static&lt;/span&gt; Logger sLogger &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; Logger.&lt;span style=&quot;color: #006633;&quot;&gt;getLogger&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; ServiceLdap.&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&amp;nbsp;
	&lt;span style=&quot;color: #008000; font-style: italic; font-weight: bold;&quot;&gt;/**
	 * Permet de remonter une liste de Person en fonction d'un mail.
	 * @param pMail est le mail de l'utilisateur ou des utilisateurs.
	 * @return la Person
	 */&lt;/span&gt;
	&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;public&lt;/span&gt; List&lt;span style=&quot;color: #339933;&quot;&gt;&amp;lt;&lt;/span&gt;Person&lt;span style=&quot;color: #339933;&quot;&gt;&amp;gt;&lt;/span&gt; rechercherPerson&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;String&lt;/span&gt; pMail &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;
		&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;final&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;SearchControls&lt;/span&gt; vSearchControls &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;SearchControls&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #003399;&quot;&gt;SearchControls&lt;/span&gt;.&lt;span style=&quot;color: #006633;&quot;&gt;SUBTREE_SCOPE&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;1&lt;/span&gt;, &lt;span style=&quot;color: #cc66cc;&quot;&gt;4000&lt;/span&gt;, &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;null&lt;/span&gt;, &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;true&lt;/span&gt;, &lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;false&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
		&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;final&lt;/span&gt; &lt;span style=&quot;color: #003399;&quot;&gt;List&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;&amp;lt;&lt;/span&gt;Person&lt;span style=&quot;color: #339933;&quot;&gt;&amp;gt;&lt;/span&gt; vPersons &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; odmManager.&lt;span style=&quot;color: #006633;&quot;&gt;search&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt; Person.&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;class&lt;/span&gt;, &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;new&lt;/span&gt; DistinguishedName&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;OU=Employees,DC=corp,DC=votreEntreprise,DC=com&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;mail=&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;+&lt;/span&gt;pMail, vSearchControls &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
		&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;return&lt;/span&gt; vPersons &lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;


&lt;p&gt;Dans la méthode rechercherPerson on retrouve plusieurs instructions&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SearchControls(SearchControls.SUBTREE_SCOPE, 1, 4000, null, true, false)&amp;nbsp;: symbolise la profondeur de recherche, ici le 4000 est le temps max de recherche, après ce délai nous renvoyons les utilisateurs trouvés même si la recherche est encore en cours.&lt;/li&gt;
&lt;li&gt;La seconde instruction permet de lancer la recherche avec la requête.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Complément de configuration&lt;/strong&gt;
Il est important d'ajouter dans le fichier de configuration Spring le langage pour effectuer le mapping entre votre classe Person locale et votre objet Person distant (Ldap)&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;xml xml&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;bean&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;fromStringConverter&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;org.springframework.ldap.odm.typeconversion.impl.converters.FromStringConverter&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;bean&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;toStringConverter&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;org.springframework.ldap.odm.typeconversion.impl.converters.ToStringConverter&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;bean&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;converterManager&amp;quot;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;		&lt;span style=&quot;color: #000066;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;org.springframework.ldap.odm.typeconversion.impl.ConverterManagerFactoryBean&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
		&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;property&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;converterConfig&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
			&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;set&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
				&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;bean&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;					&lt;span style=&quot;color: #000066;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;org.springframework.ldap.odm.typeconversion.impl.ConverterManagerFactoryBean$ConverterConfig&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
					&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;property&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;fromClasses&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
						&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;set&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.String&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
						&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/set&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
					&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/property&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
					&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;property&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;toClasses&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
						&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;set&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Byte&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Short&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Integer&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Long&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Float&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Double&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Boolean&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
						&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/set&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
					&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/property&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
					&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;property&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;converter&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;ref&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;fromStringConverter&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
				&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/bean&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
				&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;bean&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;					&lt;span style=&quot;color: #000066;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;org.springframework.ldap.odm.typeconversion.impl.ConverterManagerFactoryBean$ConverterConfig&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
					&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;property&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;fromClasses&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
						&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;set&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Byte&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Short&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Integer&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Long&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Float&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Double&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.Boolean&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
						&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/set&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
					&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/property&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
					&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;property&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;toClasses&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;
						&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;set&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
							&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;java.lang.String&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/value&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
						&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/set&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
					&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/property&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
					&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;property&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;converter&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;ref&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;toStringConverter&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
				&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/bean&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
			&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/set&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
		&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/property&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/bean&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;


&lt;p&gt;&lt;strong&gt;Le fichier pom.xml&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;Pour les fans de Maven, n'oubliez pas d'inclure les dépendances de Spring Core et celle de Spring-Ldap&lt;/p&gt;
&lt;pre class=&quot;xml xml&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;dependency&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;groupId&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;org.springframework.ldap&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/groupId&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;artifactId&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;spring-ldap-core&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/artifactId&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;version&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;1.3.1.RELEASE&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/version&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/dependency&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;dependency&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;groupId&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;org.springframework.ldap&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/groupId&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;artifactId&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;spring-ldap-odm&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/artifactId&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
	&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;version&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;1.3.1.RELEASE&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/version&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/dependency&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;</description>
    
    
    
          <comments>http://corentin.azelart.fr/index.php?post/2011/12/14/Spring-Ldap-%3A-D%C3%A9marrage-rapide-avec-les-annotations2#comment-form</comments>
      <wfw:comment>http://corentin.azelart.fr/index.php?post/2011/12/14/Spring-Ldap-%3A-D%C3%A9marrage-rapide-avec-les-annotations2#comment-form</wfw:comment>
      <wfw:commentRss>http://corentin.azelart.fr/index.php?feed/atom/comments/3</wfw:commentRss>
      </item>
    
  <item>
    <title>Psi-Probe : Open Source management and monitoring tool</title>
    <link>http://corentin.azelart.fr/index.php?post/2011/12/14/Psi-Probe-%3A-Open-Source-management-and-monitoring-tool</link>
    <guid isPermaLink="false">urn:md5:eb965a67ede93088b72db22c33f59c8d</guid>
    <pubDate>Wed, 14 Dec 2011 18:30:00 +0000</pubDate>
    <dc:creator>Corentin Azelart</dc:creator>
        <category>Tomcat</category>
            
    <description>&lt;p&gt;Un premier post pour présenter Psi-Probe (fork de Lambda Prode) et sa configuration.
Psi-Probe est une application web (WAR) qui permet de surveiller l'ensemble des applications déployées sur un serveur Tomcat ou JBoss.&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://corentin.azelart.fr/public/082911_1819_EnhancedTom1.png&quot; title=&quot;082911_1819_EnhancedTom1.png&quot;&gt;&lt;img src=&quot;http://corentin.azelart.fr/public/.082911_1819_EnhancedTom1_s.jpg&quot; alt=&quot;082911_1819_EnhancedTom1.png&quot; style=&quot;display:block; margin:0 auto;&quot; title=&quot;082911_1819_EnhancedTom1.png, déc. 2011&quot; /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p&gt;&lt;strong&gt;Présentation&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;Psi-Probe est une application web (WAR) qui permet de surveiller l'ensemble des applications déployées sur un serveur Tomcat ou JBoss.
L'application présente bien et propose plusieurs écrans&amp;nbsp;:&lt;/p&gt;


&lt;p&gt;&lt;ins&gt;Par application :&lt;/ins&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Informations générales&amp;nbsp;: nombre de requêtes, temps de réponse&lt;/li&gt;
&lt;li&gt;Liste des sessions&amp;nbsp;: supprimer à chaud, âge, adresse ip de l'occupant, etc...&lt;/li&gt;
&lt;li&gt;Attributs de l'application (classpath, répertoire temporaire, etc...)&lt;/li&gt;
&lt;li&gt;Mapping des pages JSP (il est possible de les forcer une recompilation à chaud, voir l'état)&lt;/li&gt;
&lt;li&gt;Lecture des fichiers de configuration (descripteur de déploiement&amp;nbsp;: web.xml)&lt;/li&gt;
&lt;li&gt;Listing de l'ensemble des servlets et de leur charge (nombre de requêtes, temps CPU, erreurs, etc...)&lt;/li&gt;
&lt;li&gt;Filters actifs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;ins&gt;Par serveur :&lt;/ins&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;L'ensemble des threads en cours&lt;/li&gt;
&lt;li&gt;L'occupation des pools&lt;/li&gt;
&lt;li&gt;Consultation des logs&lt;/li&gt;
&lt;li&gt;Surveillance des connecteurs&lt;/li&gt;
&lt;li&gt;Informations générales&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;L'installation reste simple (un WAR à déployer via le manager de votre serveur ou en copie dans le webapps), aucun fichier de configuration est nécessaire. C'est d'ailleurs la force et la faiblesse à mon sens de Psi-Probe, déploiement rapide mais configuration très sommaire. C'est un très bon outil complémentaire au manager de Tomcat. Mais l'historisation est possible que le temps de vie de l'applicatif, après vous perdez l'ensemble des informations.&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Installation&lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;L'installation nécessite la modification du fichier &lt;em&gt;tomcat-users.xml&lt;/em&gt; afin d'ajouter les rôles suivants&amp;nbsp;:&lt;/p&gt;

&lt;pre class=&quot;xml xml&quot; style=&quot;font-family:inherit&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;role&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;rolename&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;probeuser&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;role&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;rolename&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;poweruser&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;role&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;rolename&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;poweruserplus&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;role&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;rolename&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;manager&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;user&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;username&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;admin&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;password&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;votremotdepasse&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000066;&quot;&gt;roles&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;manager&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;


&lt;p&gt;Les différents rôles et les droits sont présents sur cette page&amp;nbsp;: &lt;a href=&quot;http://code.google.com/p/psi-probe/wiki/Features&quot; hreflang=&quot;en&quot; title=&quot;Psi-probe droits&quot;&gt;http://code.google.com/p/psi-probe/wiki/Features&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Apres cette modification il ne reste plus qu'à redémarrer votre serveur Tomcat et déployer l'application.&lt;/p&gt;


&lt;p&gt;Plus d'informations sur le Google Code officiel&amp;nbsp;: &lt;a href=&quot;http://code.google.com/p/psi-probe/&quot; hreflang=&quot;en&quot; title=&quot;Psi-probe&quot;&gt;http://code.google.com/p/psi-probe/&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://corentin.azelart.fr/index.php?post/2011/12/14/Psi-Probe-%3A-Open-Source-management-and-monitoring-tool#comment-form</comments>
      <wfw:comment>http://corentin.azelart.fr/index.php?post/2011/12/14/Psi-Probe-%3A-Open-Source-management-and-monitoring-tool#comment-form</wfw:comment>
      <wfw:commentRss>http://corentin.azelart.fr/index.php?feed/atom/comments/1</wfw:commentRss>
      </item>
    
</channel>
</rss>
