directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r656158 - /directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java
Date Wed, 14 May 2008 08:46:20 GMT
Author: pamarcelot
Date: Wed May 14 01:46:19 2008
New Revision: 656158

URL: http://svn.apache.org/viewvc?rev=656158&view=rev
Log:
Fixed a bug in the hierarchy of the ldapServer tags.

Modified:
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java?rev=656158&r1=656157&r2=656158&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/model/ServerXmlV152IO.java
Wed May 14 01:46:19 2008
@@ -1347,7 +1347,7 @@
         ldapServerElement.addElement( "socketAcceptor" ).setText( "#socketAcceptor" );
 
         // Adding 'supportedMechanisms' element
-        Element supportedMechanismsElement = root.addElement( "supportedMechanisms" );
+        Element supportedMechanismsElement = ldapServerElement.addElement( "supportedMechanisms"
);
 
         // Adding each supported mechanism
         for ( String supportedMechanism : serverConfiguration.getSupportedMechanisms() )
@@ -1357,7 +1357,7 @@
         }
 
         // Adding 'SaslQop' element
-        Element saslQopElement = root.addElement( "saslQop" );
+        Element saslQopElement = ldapServerElement.addElement( "saslQop" );
 
         // Adding each SaslQop item
         for ( String saslQop : serverConfiguration.getSaslQops() )
@@ -1366,13 +1366,15 @@
         }
 
         // Adding 'SaslRealms' element
-        Element saslRealmsElement = root.addElement( "saslRealms" );
+        Element saslRealmsElement = ldapServerElement.addElement( "saslRealms" );
 
         // Adding each SaslRealm item
         for ( String saslRealm : serverConfiguration.getSaslRealms() )
         {
             saslRealmsElement.addElement( new QName( "value", NAMESPACE_SPRINGFRAMEWORK )
).setText( saslRealm );
         }
+        
+        // TODO Add Extended Operations
     }
 
 



Mime
View raw message