From 4b46c259bc66195f4fc2aa78dce27f36899800c1 Mon Sep 17 00:00:00 2001
From: floblanc <floblanc@localhost>
Date: Wed, 29 Oct 2008 10:40:13 +0000
Subject: [PATCH] Implement a network group dedicated to the admin connector: - this network group is not configurable, and unbreakable - all connections handled by the admin connector are managed by this network group - all JMX connections are managed by this network group - this network group provides access to all private and public suffixes
---
opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java b/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
index 781e6fa..34d09f0 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java
@@ -45,6 +45,7 @@
import org.opends.server.api.ConnectionHandler;
import org.opends.server.api.ConnectionSecurityProvider;
import org.opends.server.core.*;
+import org.opends.server.core.networkgroups.NetworkGroup;
import org.opends.server.extensions.*;
import org.opends.server.loggers.debug.DebugTracer;
import org.opends.server.protocols.asn1.ASN1OctetString;
@@ -166,6 +167,8 @@
super();
+ this.setNetworkGroup(NetworkGroup.getInternalNetworkGroup());
+
// This connection will be authenticated as a root user so that no
// access control will be enforced.
String commonName = "Internal Client";
@@ -285,6 +288,8 @@
super();
+ this.setNetworkGroup(NetworkGroup.getInternalNetworkGroup());
+
this.authenticationInfo = authInfo;
super.setAuthenticationInfo(authInfo);
super.setSizeLimit(0);
--
Gitblit v1.10.0