directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject [directory-studio] 01/04: Remove all explicit listed controls and extended operations, they are loaded by default by CodecFactoryUtil anyway
Date Sun, 18 Mar 2018 21:46:49 GMT
This is an automated email from the ASF dual-hosted git repository.

seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-studio.git

commit 1e142b3d5400d71592538b8d1a529f30c906ecdc
Author: Stefan Seelmann <mail@stefan-seelmann.de>
AuthorDate: Sun Mar 18 22:43:41 2018 +0100

    Remove all explicit listed controls and extended operations, they are loaded by default
by CodecFactoryUtil anyway
---
 .../apacheds/ApacheDS200LdapServerAdapter.java     | 25 ++--------------------
 1 file changed, 2 insertions(+), 23 deletions(-)

diff --git a/plugins/ldapservers.apacheds/src/main/java/org/apache/directory/studio/ldapservers/apacheds/ApacheDS200LdapServerAdapter.java
b/plugins/ldapservers.apacheds/src/main/java/org/apache/directory/studio/ldapservers/apacheds/ApacheDS200LdapServerAdapter.java
index ffc2d2b..c0cefe6 100644
--- a/plugins/ldapservers.apacheds/src/main/java/org/apache/directory/studio/ldapservers/apacheds/ApacheDS200LdapServerAdapter.java
+++ b/plugins/ldapservers.apacheds/src/main/java/org/apache/directory/studio/ldapservers/apacheds/ApacheDS200LdapServerAdapter.java
@@ -305,30 +305,9 @@ public class ApacheDS200LdapServerAdapter implements LdapServerAdapter
         vmArguments.append( " " ); //$NON-NLS-1$
         vmArguments.append( "-Dapacheds.instance=\"" + server.getName() + "\"" ); //$NON-NLS-1$
//$NON-NLS-2$
         vmArguments.append( " " ); //$NON-NLS-1$
-        vmArguments
-            .append( "-Dapacheds.controls=org.apache.directory.api.ldap.codec.controls.cascade.CascadeFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.codec.controls.manageDsaIT.ManageDsaITFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.codec.controls.proxiedauthz.ProxiedAuthzFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.codec.controls.search.entryChange.EntryChangeFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.codec.controls.search.pagedSearch.PagedResultsFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.codec.controls.search.persistentSearch.PersistentSearchFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.codec.controls.search.subentries.SubentriesFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.extras.controls.ppolicy_impl.PasswordPolicyFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncDoneValueFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncInfoValueFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncRequestValueFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.extras.controls.syncrepl_impl.SyncStateValueFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.extras.controls.ad_impl.AdDirSyncFactory"
); //$NON-NLS-1$
+        vmArguments.append( "-Dapacheds.controls=" ); //$NON-NLS-1$
         vmArguments.append( " " ); //$NON-NLS-1$
-        vmArguments
-            .append( "-Dapacheds.extendedOperations=org.apache.directory.api.ldap.extras.extended.ads_impl.cancel.CancelFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.certGeneration.CertGenerationFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.gracefulShutdown.GracefulShutdownFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.storedProcedure.StoredProcedureFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.pwdModify.PasswordModifyFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.gracefulDisconnect.GracefulDisconnectFactory,"
+ //$NON-NLS-1$
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.whoAmI.WhoAmIFactory,"
+ // $NON-NLS-1$
-                "org.apache.directory.api.ldap.extras.extended.ads_impl.startTls.StartTlsFactory"
); // $NON-NLS-1$
+        vmArguments.append( "-Dapacheds.extendedOperations=" ); // $NON-NLS-1$
 
         // Setting the VM arguments attribute
         workingCopy.setAttribute( IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS, vmArguments.toString()
);

-- 
To stop receiving notification emails like this one, please contact
seelmann@apache.org.

Mime
View raw message