| | |
| | | enabledSSLProtocols = protocols.toArray(new String[0]); |
| | | } |
| | | |
| | | if (config.isAllowLDAPV2()) |
| | | { |
| | | DirectoryServer.registerSupportedLDAPVersion(2, this); |
| | | } |
| | | else |
| | | { |
| | | DirectoryServer.deregisterSupportedLDAPVersion(2, this); |
| | | } |
| | | |
| | | return new ConfigChangeResult(resultCode, adminActionRequired, |
| | | messages); |
| | | } |
| | |
| | | shutdownRequested = true; |
| | | currentConfig.removeLDAPChangeListener(this); |
| | | |
| | | DirectoryServer.deregisterSupportedLDAPVersion(2, this); |
| | | DirectoryServer.deregisterSupportedLDAPVersion(3, this); |
| | | |
| | | try { |
| | | selector.wakeup(); |
| | | } catch (Exception e) { |
| | |
| | | } |
| | | |
| | | |
| | | // Register the set of supported LDAP versions. |
| | | DirectoryServer.registerSupportedLDAPVersion(3, this); |
| | | if (config.isAllowLDAPV2()) |
| | | { |
| | | DirectoryServer.registerSupportedLDAPVersion(2, this); |
| | | } |
| | | |
| | | |
| | | // Register this as a change listener. |
| | | config.addLDAPChangeListener(this); |
| | | } |