From f4a5896f6a012775fb3fb23f6cf4cc4660a28de9 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 04 Apr 2013 07:48:30 +0000
Subject: [PATCH] SchemaConstants.java: Added NO_ATTRIBUTES for OID "1.1".
---
opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java b/opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java
index ca0b89c..ff836a1 100644
--- a/opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java
+++ b/opends/src/dsml/org/opends/dsml/protocol/DSMLServlet.java
@@ -23,7 +23,7 @@
*
*
* Copyright 2006-2010 Sun Microsystems, Inc.
- * Portions Copyright 2011-2012 ForgeRock AS
+ * Portions Copyright 2011-2013 ForgeRock AS
*/
package org.opends.dsml.protocol;
@@ -76,6 +76,7 @@
import org.opends.server.protocols.ldap.LDAPMessage;
import org.opends.server.protocols.ldap.LDAPResultCode;
import org.opends.server.protocols.ldap.SearchRequestProtocolOp;
+import org.opends.server.schema.SchemaConstants;
import org.opends.server.tools.LDAPConnection;
import org.opends.server.tools.LDAPConnectionException;
import org.opends.server.tools.LDAPConnectionOptions;
@@ -260,7 +261,7 @@
throws LDAPConnectionException
{
LinkedHashSet<String>attributes = new LinkedHashSet<String>(1);
- attributes.add("1.1");
+ attributes.add(SchemaConstants.NO_ATTRIBUTES);
ArrayList<org.opends.server.types.Control> controls =
new ArrayList<org.opends.server.types.Control>(1);
org.opends.server.types.Control proxyAuthzControl =
--
Gitblit v1.10.0