directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r370194 - in /directory/trunks: apacheds/core/src/main/java/org/apache/ldap/server/partition/ apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/support/extended/ common/ldap/src/main/java/org/apache/ldap/common/message/e...
Date Wed, 18 Jan 2006 17:19:30 GMT
Author: akarasulu
Date: Wed Jan 18 09:19:16 2006
New Revision: 370194

URL: http://svn.apache.org/viewcvs?rev=370194&view=rev
Log:
updated supportedExtention attributes in the RootDS

Modified:
    directory/trunks/apacheds/core/src/main/java/org/apache/ldap/server/partition/DefaultDirectoryPartitionNexus.java
    directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/support/extended/LaunchDiagnosticUiHandler.java
    directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/message/extended/LaunchDiagnosticUiRequest.java
    directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/message/extended/LaunchDiagnosticUiResponse.java

Modified: directory/trunks/apacheds/core/src/main/java/org/apache/ldap/server/partition/DefaultDirectoryPartitionNexus.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/core/src/main/java/org/apache/ldap/server/partition/DefaultDirectoryPartitionNexus.java?rev=370194&r1=370193&r2=370194&view=diff
==============================================================================
--- directory/trunks/apacheds/core/src/main/java/org/apache/ldap/server/partition/DefaultDirectoryPartitionNexus.java
(original)
+++ directory/trunks/apacheds/core/src/main/java/org/apache/ldap/server/partition/DefaultDirectoryPartitionNexus.java
Wed Jan 18 09:19:16 2006
@@ -55,6 +55,9 @@
 import org.apache.ldap.common.message.LockableAttributesImpl;
 import org.apache.ldap.common.message.ManageDsaITControl;
 import org.apache.ldap.common.message.PersistentSearchControl;
+import org.apache.ldap.common.message.SubentriesControl;
+import org.apache.ldap.common.message.extended.LaunchDiagnosticUiRequest;
+import org.apache.ldap.common.message.extended.LaunchDiagnosticUiResponse;
 import org.apache.ldap.common.name.LdapName;
 import org.apache.ldap.common.util.DateUtils;
 import org.apache.ldap.common.util.NamespaceTools;
@@ -131,10 +134,16 @@
         rootDSE.put( attr );
         attr.add( "1.3.6.1.4.1.4203.1.5.1" );
 
+        attr = new LockableAttributeImpl( "supportedExtension" );
+        rootDSE.put( attr );
+        attr.add( LaunchDiagnosticUiRequest.EXTENSION_OID );
+        attr.add( LaunchDiagnosticUiResponse.EXTENSION_OID );
+
         attr = new LockableAttributeImpl( "supportedControl" );
         rootDSE.put( attr );
         attr.add( PersistentSearchControl.CONTROL_OID );
         attr.add( EntryChangeControl.CONTROL_OID );
+        attr.add( SubentriesControl.CONTROL_OID );
         attr.add( ManageDsaITControl.CONTROL_OID );
 
         attr = new LockableAttributeImpl( "objectClass" );

Modified: directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/support/extended/LaunchDiagnosticUiHandler.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/support/extended/LaunchDiagnosticUiHandler.java?rev=370194&r1=370193&r2=370194&view=diff
==============================================================================
--- directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/support/extended/LaunchDiagnosticUiHandler.java
(original)
+++ directory/trunks/apacheds/protocols/ldap/src/main/java/org/apache/ldap/server/protocol/support/extended/LaunchDiagnosticUiHandler.java
Wed Jan 18 09:19:16 2006
@@ -42,7 +42,7 @@
 {
     public String getOid()
     {
-        return LaunchDiagnosticUiRequest.OID;
+        return LaunchDiagnosticUiRequest.EXTENSION_OID;
     }
 
     

Modified: directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/message/extended/LaunchDiagnosticUiRequest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/message/extended/LaunchDiagnosticUiRequest.java?rev=370194&r1=370193&r2=370194&view=diff
==============================================================================
--- directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/message/extended/LaunchDiagnosticUiRequest.java
(original)
+++ directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/message/extended/LaunchDiagnosticUiRequest.java
Wed Jan 18 09:19:16 2006
@@ -34,14 +34,14 @@
 public class LaunchDiagnosticUiRequest extends ExtendedRequestImpl
 {
     private static final long serialVersionUID = -7481749915684864433L;
-    public static final String OID = "1.2.6.1.4.1.18060.1.1.1.100.1";
+    public static final String EXTENSION_OID = "1.2.6.1.4.1.18060.1.1.1.100.1";
     private static final byte[] EMPTY_PAYLOAD = new byte[0];
     
     
     public LaunchDiagnosticUiRequest( int messageId )
     {
         super( messageId );
-        setOid( OID );
+        setOid( EXTENSION_OID );
         setPayload( EMPTY_PAYLOAD );
     }
 

Modified: directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/message/extended/LaunchDiagnosticUiResponse.java
URL: http://svn.apache.org/viewcvs/directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/message/extended/LaunchDiagnosticUiResponse.java?rev=370194&r1=370193&r2=370194&view=diff
==============================================================================
--- directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/message/extended/LaunchDiagnosticUiResponse.java
(original)
+++ directory/trunks/common/ldap/src/main/java/org/apache/ldap/common/message/extended/LaunchDiagnosticUiResponse.java
Wed Jan 18 09:19:16 2006
@@ -31,7 +31,7 @@
 public class LaunchDiagnosticUiResponse extends ExtendedResponseImpl
 {
     private static final long serialVersionUID = -3824715470944544189L;
-    public static final String OID = "1.2.6.1.4.1.18060.1.1.1.100.2";
+    public static final String EXTENSION_OID = "1.2.6.1.4.1.18060.1.1.1.100.2";
     private static final byte[] EMPTY_RESPONSE = new byte[0];
     
     
@@ -101,7 +101,7 @@
      */
     public String getResponseName()
     {
-        return OID;
+        return EXTENSION_OID;
     }
 
 
@@ -113,7 +113,7 @@
      */
     public void setResponseName( String oid )
     {
-        throw new UnsupportedOperationException( "the OID is fixed: " + OID );
+        throw new UnsupportedOperationException( "the OID is fixed: " + EXTENSION_OID );
     }
 
 



Mime
View raw message