From 45690fbc42773415ef034419ed3f27d2974b78e1 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 21 Nov 2012 23:24:40 +0000
Subject: [PATCH] Fix OPENDJ-649: Add supportedTLSCiphers and supportedTLSProtocols to RootDSE and system monitor
---
opends/src/server/org/opends/server/api/ConnectionHandler.java | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/api/ConnectionHandler.java b/opends/src/server/org/opends/server/api/ConnectionHandler.java
index 920963e..375a53b 100644
--- a/opends/src/server/org/opends/server/api/ConnectionHandler.java
+++ b/opends/src/server/org/opends/server/api/ConnectionHandler.java
@@ -23,6 +23,7 @@
*
*
* Copyright 2006-2009 Sun Microsystems, Inc.
+ * Portions copyright 2012 ForgeRock AS.
*/
package org.opends.server.api;
import org.opends.messages.Message;
@@ -30,6 +31,7 @@
import java.util.Collection;
+import java.util.Collections;
import java.util.List;
import org.opends.server.admin.std.server.*;
@@ -108,6 +110,37 @@
public abstract String getConnectionHandlerName();
+
+ /**
+ * Retrieves an unmodifiable set of enabled SSL cipher suites configured for
+ * this connection handler, if applicable. Implementations must return an
+ * empty set if use of SSL/TLS is not possible.
+ *
+ * @return The set of enabled SSL cipher suites configured for this connection
+ * handler.
+ */
+ public Collection<String> getEnabledSSLCipherSuites()
+ {
+ return Collections.emptyList();
+ }
+
+
+
+ /**
+ * Retrieves the set of enabled SSL protocols configured for this connection
+ * handler. Implementations must return an empty set if use of SSL/TLS is not
+ * possible.
+ *
+ * @return The set of enabled SSL protocols configured for this connection
+ * handler.
+ */
+ public Collection<String> getEnabledSSLProtocols()
+ {
+ return Collections.emptyList();
+ }
+
+
+
/**
* Retrieves the DN of the configuration entry with which this alert
* generator is associated.
--
Gitblit v1.10.0