directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r379008 [4/11] - in /directory/trunks/shared: ./ asn1/ asn1/src/main/java/org/apache/directory/shared/asn1/ asn1/src/main/java/org/apache/directory/shared/asn1/ber/ asn1/src/main/java/org/apache/directory/shared/asn1/ber/grammar/ asn1/src/m...
Date Mon, 20 Feb 2006 03:36:53 GMT
Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/AssertionNode.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/AssertionNode.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/AssertionNode.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/AssertionNode.java Sun Feb 19 19:35:07 2006
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: AssertionNode.java,v 1.4 2003/10/15 01:59:57 akarasulu Exp $
+ * $Id$
  *
  * -- (c) LDAPd Group
  * -- Please refer to the LICENSE.txt file in the root directory of      --

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/AssertionNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/AssertionNode.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/BranchNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/BranchNode.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/BranchNormalizedVisitor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/BranchNormalizedVisitor.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExprNode.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExprNode.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExprNode.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExprNode.java Sun Feb 19 19:35:07 2006
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: ExprNode.java,v 1.5 2003/10/14 02:22:56 akarasulu Exp $
+ * $Id$
  *
  * -- (c) LDAPd Group                                                    --
  * -- Please refer to the LICENSE.txt file in the root directory of      --

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExprNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExprNode.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExtensibleNode.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExtensibleNode.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExtensibleNode.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExtensibleNode.java Sun Feb 19 19:35:07 2006
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: ExtensibleNode.java,v 1.4 2003/10/14 04:59:23 akarasulu Exp $
+ * $Id$
  *
  * -- (c) LDAPd Group                                                    --
  * -- Please refer to the LICENSE.txt file in the root directory of      --

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExtensibleNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ExtensibleNode.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParser.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParser.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserMonitor.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserMonitor.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserMonitor.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserMonitor.java Sun Feb 19 19:35:07 2006
@@ -1,35 +1,35 @@
-/*
- *   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.filter;
-
-
-/**
- * A monitor for FilterParsers.
- * 
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- * @version $Rev$
- */
-public interface FilterParserMonitor
-{
-    /**
-     * Monitors FilterParser events where it matches a production.
-     * 
-     * @param production
-     *            the name of the production matched
-     */
-    void matchedProduction( String production );
-}
+/*
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.filter;
+
+
+/**
+ * A monitor for FilterParsers.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface FilterParserMonitor
+{
+    /**
+     * Monitors FilterParser events where it matches a production.
+     * 
+     * @param production
+     *            the name of the production matched
+     */
+    void matchedProduction( String production );
+}

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserMonitor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserMonitor.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserMonitorAdapter.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserMonitorAdapter.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserMonitorAdapter.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserMonitorAdapter.java Sun Feb 19 19:35:07 2006
@@ -1,37 +1,37 @@
-/*
- *   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.filter;
-
-
-/**
- * Adapter for the FilterParser monitor.
- * 
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- * @version $Rev$
- */
-public class FilterParserMonitorAdapter implements FilterParserMonitor
-{
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.ldap.common.filter.FilterParserMonitor#
-     *      matchedProduction(java.lang.String)
-     */
-    public void matchedProduction( String production )
-    {
-    }
-}
+/*
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.filter;
+
+
+/**
+ * Adapter for the FilterParser monitor.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ * @version $Rev$
+ */
+public class FilterParserMonitorAdapter implements FilterParserMonitor
+{
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.ldap.common.filter.FilterParserMonitor#
+     *      matchedProduction(java.lang.String)
+     */
+    public void matchedProduction( String production )
+    {
+    }
+}

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserMonitorAdapter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterParserMonitorAdapter.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterVisitor.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterVisitor.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterVisitor.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterVisitor.java Sun Feb 19 19:35:07 2006
@@ -1,95 +1,95 @@
-/*
- *   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- *
- */
-
-/*
- * $Id: FilterVisitor.java,v 1.3 2003/10/14 04:59:23 akarasulu Exp $
- *
- * -- (c) LDAPd Group                                                    --
- * -- Please refer to the LICENSE.txt file in the root directory of      --
- * -- any LDAPd project for copyright and distribution information.      --
- *
- * Created on Oct 13, 2003
- */
-package org.apache.directory.shared.ldap.filter;
-
-
-import java.util.ArrayList;
-
-
-/**
- * Filter expression tree node visitor interface. Note that this is a variation
- * of the extrinsic visitor variation. It has the following advantages over the
- * standard visitor pattern:
- * <ul>
- * <li>Visitor takes responsibility that a visitor can visit a node</li>
- * <li>Each visitor knows which types of concrete classes it can visit</li>
- * <li>New visitors can be created without changing the node class</li>
- * <li>New node classes can be added without having to change old visitors</li>
- * <li>Visitation order can be controled in every respect:</li>
- * <ul>
- * <li>Visitation rejection with canVisit() and/or getOrder()</li>
- * <li>Recursive visitation ordering with isPrefix()</li>
- * <li>Child visitation ordering with getOrder()</li>
- * </ul>
- * </ul>
- * 
- * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
- * @author $Author: akarasulu $
- * @version $Revision$
- */
-public interface FilterVisitor
-{
-    /**
-     * Visits a filter expression AST using a specific visitation order.
-     * 
-     * @param a_node
-     *            the node to visit
-     */
-    void visit( ExprNode a_node );
-
-
-    /**
-     * Checks to see if a node can be visited.
-     * 
-     * @param a_node
-     *            the node to be visited
-     * @return whether or node the node should be visited
-     */
-    boolean canVisit( ExprNode a_node );
-
-
-    /**
-     * Determines whether the visitation order is prefix or postfix.
-     * 
-     * @return true if the visitation is in prefix order, false otherwise.
-     */
-    boolean isPrefix();
-
-
-    /**
-     * Get the array of children to visit sequentially to determine the order of
-     * child visitations. Some children may not be returned at all if canVisit()
-     * returns false on them.
-     * 
-     * @param node
-     *            the parent branch node
-     * @param a_children
-     *            the child node array
-     * @return the new reordered array of children
-     */
-    ArrayList getOrder( BranchNode node, ArrayList a_children );
-}
+/*
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+
+/*
+ * $Id$
+ *
+ * -- (c) LDAPd Group                                                    --
+ * -- Please refer to the LICENSE.txt file in the root directory of      --
+ * -- any LDAPd project for copyright and distribution information.      --
+ *
+ * Created on Oct 13, 2003
+ */
+package org.apache.directory.shared.ldap.filter;
+
+
+import java.util.ArrayList;
+
+
+/**
+ * Filter expression tree node visitor interface. Note that this is a variation
+ * of the extrinsic visitor variation. It has the following advantages over the
+ * standard visitor pattern:
+ * <ul>
+ * <li>Visitor takes responsibility that a visitor can visit a node</li>
+ * <li>Each visitor knows which types of concrete classes it can visit</li>
+ * <li>New visitors can be created without changing the node class</li>
+ * <li>New node classes can be added without having to change old visitors</li>
+ * <li>Visitation order can be controled in every respect:</li>
+ * <ul>
+ * <li>Visitation rejection with canVisit() and/or getOrder()</li>
+ * <li>Recursive visitation ordering with isPrefix()</li>
+ * <li>Child visitation ordering with getOrder()</li>
+ * </ul>
+ * </ul>
+ * 
+ * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
+ * @author $Author: akarasulu $
+ * @version $Revision$
+ */
+public interface FilterVisitor
+{
+    /**
+     * Visits a filter expression AST using a specific visitation order.
+     * 
+     * @param a_node
+     *            the node to visit
+     */
+    void visit( ExprNode a_node );
+
+
+    /**
+     * Checks to see if a node can be visited.
+     * 
+     * @param a_node
+     *            the node to be visited
+     * @return whether or node the node should be visited
+     */
+    boolean canVisit( ExprNode a_node );
+
+
+    /**
+     * Determines whether the visitation order is prefix or postfix.
+     * 
+     * @return true if the visitation is in prefix order, false otherwise.
+     */
+    boolean isPrefix();
+
+
+    /**
+     * Get the array of children to visit sequentially to determine the order of
+     * child visitations. Some children may not be returned at all if canVisit()
+     * returns false on them.
+     * 
+     * @param node
+     *            the parent branch node
+     * @param a_children
+     *            the child node array
+     * @return the new reordered array of children
+     */
+    ArrayList getOrder( BranchNode node, ArrayList a_children );
+}

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterVisitor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/FilterVisitor.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/LeafNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/LeafNode.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/PresenceNode.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/PresenceNode.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/PresenceNode.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/PresenceNode.java Sun Feb 19 19:35:07 2006
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: PresenceNode.java,v 1.7 2003/10/14 04:59:23 akarasulu Exp $
+ * $Id$
  *
  * -- (c) LDAPd Group
  * -- Please refer to the LICENSE.txt file in the root directory of      --

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/PresenceNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/PresenceNode.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ScopeNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ScopeNode.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SimpleNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SimpleNode.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SubstringNode.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SubstringNode.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SubstringNode.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SubstringNode.java Sun Feb 19 19:35:07 2006
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: SubstringNode.java,v 1.10 2003/10/17 00:10:42 akarasulu Exp $
+ * $Id$
  *
  * -- (c) LDAPd Group
  * -- Please refer to the LICENSE.txt file in the root directory of      --

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SubstringNode.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/filter/SubstringNode.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposer.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposer.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposer.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposer.java Sun Feb 19 19:35:07 2006
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: LdifComposer.java,v 1.4 2003/07/31 21:44:49 akarasulu Exp $
+ * $Id$
  * $Prologue$
  *
  * -- (c) LDAPd Group                                                    --

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposer.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposerImpl.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposerImpl.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposerImpl.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposerImpl.java Sun Feb 19 19:35:07 2006
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: LdifComposerImpl.java,v 1.4 2003/07/31 22:01:52 akarasulu Exp $
+ * $Id$
  * $Prologue$
  *
  * -- (c) LDAPd Group                                                    --

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposerImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifComposerImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifEntry.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifEntry.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifEntry.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifEntry.java Sun Feb 19 19:35:07 2006
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: LdifEntry.java,v 1.3 2003/07/31 21:44:49 akarasulu Exp $
+ * $Id$
  *
  * -- (c) LDAPd Group
  * -- Please refer to the LICENSE.txt file in the root directory of      --

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifEntry.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifEntry.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIterator.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIterator.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIteratorMonitor.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIteratorMonitor.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIteratorMonitor.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIteratorMonitor.java Sun Feb 19 19:35:07 2006
@@ -1,57 +1,57 @@
-/*
- *   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.ldif;
-
-
-/**
- * A monitor for an LDIF iterator.
- * 
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- * @version $Rev$
- */
-public interface LdifIteratorMonitor
-{
-    /**
-     * Monitors fatal Iterator failures.
-     * 
-     * @param msg
-     *            the message associated with the failure
-     * @param cause
-     *            the throwable that caused the failure
-     */
-    void fatalFailure( String msg, Throwable cause );
-
-
-    /**
-     * Monitors recoverable Iterator failures.
-     * 
-     * @param msg
-     *            the message associated with the failure
-     * @param cause
-     *            the throwable that caused the failure
-     */
-    void failure( String msg, Throwable cause );
-
-
-    /**
-     * Monitors the availablity of information.
-     * 
-     * @param msg
-     *            the information
-     */
-    void infoAvailable( String msg );
-}
+/*
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.ldif;
+
+
+/**
+ * A monitor for an LDIF iterator.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface LdifIteratorMonitor
+{
+    /**
+     * Monitors fatal Iterator failures.
+     * 
+     * @param msg
+     *            the message associated with the failure
+     * @param cause
+     *            the throwable that caused the failure
+     */
+    void fatalFailure( String msg, Throwable cause );
+
+
+    /**
+     * Monitors recoverable Iterator failures.
+     * 
+     * @param msg
+     *            the message associated with the failure
+     * @param cause
+     *            the throwable that caused the failure
+     */
+    void failure( String msg, Throwable cause );
+
+
+    /**
+     * Monitors the availablity of information.
+     * 
+     * @param msg
+     *            the information
+     */
+    void infoAvailable( String msg );
+}

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIteratorMonitor.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIteratorMonitor.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIteratorMonitorAdapter.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIteratorMonitorAdapter.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIteratorMonitorAdapter.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIteratorMonitorAdapter.java Sun Feb 19 19:35:07 2006
@@ -1,60 +1,60 @@
-/*
- *   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.ldif;
-
-
-/**
- * LDIF Iterator monitor adapter.
- * 
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- * @version $Rev$
- */
-public class LdifIteratorMonitorAdapter implements LdifIteratorMonitor
-{
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.ldap.common.ldif.LdifIteratorMonitor#fatalFailure(
-     *      java.lang.String, java.lang.Throwable)
-     */
-    public void fatalFailure( String msg, Throwable cause )
-    {
-    }
-
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.ldap.common.ldif.LdifIteratorMonitor#failure(
-     *      java.lang.String, java.lang.Throwable)
-     */
-    public void failure( String msg, Throwable cause )
-    {
-    }
-
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see org.apache.ldap.common.ldif.LdifIteratorMonitor#infoAvailable(
-     *      java.lang.String)
-     */
-    public void infoAvailable( String msg )
-    {
-    }
-}
+/*
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.ldif;
+
+
+/**
+ * LDIF Iterator monitor adapter.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ * @version $Rev$
+ */
+public class LdifIteratorMonitorAdapter implements LdifIteratorMonitor
+{
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.ldap.common.ldif.LdifIteratorMonitor#fatalFailure(
+     *      java.lang.String, java.lang.Throwable)
+     */
+    public void fatalFailure( String msg, Throwable cause )
+    {
+    }
+
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.ldap.common.ldif.LdifIteratorMonitor#failure(
+     *      java.lang.String, java.lang.Throwable)
+     */
+    public void failure( String msg, Throwable cause )
+    {
+    }
+
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see org.apache.ldap.common.ldif.LdifIteratorMonitor#infoAvailable(
+     *      java.lang.String)
+     */
+    public void infoAvailable( String msg )
+    {
+    }
+}

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIteratorMonitorAdapter.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifIteratorMonitorAdapter.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifParser.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifParser.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifParserImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifParserImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbandonListener.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbandonRequest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbandonRequest.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbandonRequest.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbandonRequest.java Sun Feb 19 19:35:07 2006
@@ -1,48 +1,48 @@
-/*
- *   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.message;
-
-
-/**
- * Abandon protocol operation request to terminate an operation already in
- * progress.
- * 
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public interface AbandonRequest extends Request
-{
-    /** Ldap abandon request type code */
-    MessageTypeEnum TYPE = MessageTypeEnum.ABANDONREQUEST;
-
-
-    /**
-     * Gets the id of the request operation to terminate.
-     * 
-     * @return the id of the request message to abandon
-     */
-    int getAbandoned();
-
-
-    /**
-     * Sets the id of the request operation to terminate.
-     * 
-     * @param requestId
-     *            the sequence id of the request message to abandon
-     */
-    void setAbandoned( int requestId );
-}
+/*
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.message;
+
+
+/**
+ * Abandon protocol operation request to terminate an operation already in
+ * progress.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface AbandonRequest extends Request
+{
+    /** Ldap abandon request type code */
+    MessageTypeEnum TYPE = MessageTypeEnum.ABANDONREQUEST;
+
+
+    /**
+     * Gets the id of the request operation to terminate.
+     * 
+     * @return the id of the request message to abandon
+     */
+    int getAbandoned();
+
+
+    /**
+     * Sets the id of the request operation to terminate.
+     * 
+     * @param requestId
+     *            the sequence id of the request message to abandon
+     */
+    void setAbandoned( int requestId );
+}

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbandonRequest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbandonRequest.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbandonRequestImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbandonRequestImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbandonableRequest.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractAbandonableRequest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractAbandonableRequest.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractAbandonableRequest.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractAbandonableRequest.java Sun Feb 19 19:35:07 2006
@@ -26,7 +26,7 @@
  * type.
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev: 359829 $
+ * @version $Rev$
  */
 public class AbstractAbandonableRequest extends AbstractRequest implements AbandonableRequest
 {
@@ -55,8 +55,15 @@
     public void abandon()
     {
         if ( abandoned )
+        {
             return;
+        }
+        
         abandoned = true;
+        if ( o == null )
+        {
+            o = new RequestObservable();
+        }
         o.setChanged();
         o.notifyObservers();
         o.deleteObservers();

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractAbandonableRequest.java
------------------------------------------------------------------------------
--- svn:keywords (added)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -0,0 +1,4 @@
+Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractMessage.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractMessage.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractRequest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractRequest.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractRequest.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractRequest.java Sun Feb 19 19:35:07 2006
@@ -1,62 +1,62 @@
-/*
- *   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.message;
-
-
-/**
- * The base request message class.
- * 
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public class AbstractRequest extends AbstractMessage implements Request
-{
-    static final long serialVersionUID = -4511116249089399040L;
-
-    /** Flag indicating whether or not this request returns a response. */
-    private final boolean hasResponse;
-
-
-    /**
-     * Subclasses must provide these parameters via a super constructor call.
-     * 
-     * @param id
-     *            the sequential message identifier
-     * @param type
-     *            the request type enum
-     * @param hasResponse
-     *            flag indicating if this request generates a response
-     */
-    protected AbstractRequest(final int id, final MessageTypeEnum type, boolean hasResponse)
-    {
-        super( id, type );
-
-        this.hasResponse = hasResponse;
-    }
-
-
-    /**
-     * Indicator flag used to determine whether or not this type of request
-     * produces a reply.
-     * 
-     * @return true if any reply is generated, false if no response is generated
-     */
-    public boolean hasResponse()
-    {
-        return hasResponse;
-    }
-}
+/*
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.message;
+
+
+/**
+ * The base request message class.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public class AbstractRequest extends AbstractMessage implements Request
+{
+    static final long serialVersionUID = -4511116249089399040L;
+
+    /** Flag indicating whether or not this request returns a response. */
+    private final boolean hasResponse;
+
+
+    /**
+     * Subclasses must provide these parameters via a super constructor call.
+     * 
+     * @param id
+     *            the sequential message identifier
+     * @param type
+     *            the request type enum
+     * @param hasResponse
+     *            flag indicating if this request generates a response
+     */
+    protected AbstractRequest(final int id, final MessageTypeEnum type, boolean hasResponse)
+    {
+        super( id, type );
+
+        this.hasResponse = hasResponse;
+    }
+
+
+    /**
+     * Indicator flag used to determine whether or not this type of request
+     * produces a reply.
+     * 
+     * @return true if any reply is generated, false if no response is generated
+     */
+    public boolean hasResponse()
+    {
+        return hasResponse;
+    }
+}

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractRequest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractRequest.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractResponse.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractResponse.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractResponse.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractResponse.java Sun Feb 19 19:35:07 2006
@@ -1,45 +1,45 @@
-/*
- *   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.message;
-
-
-/**
- * Abstract base for a Lockable Response message.
- * 
- * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
- * @version $Rev$
- */
-public abstract class AbstractResponse extends AbstractMessage implements Response
-{
-    // ------------------------------------------------------------------------
-    // Response Interface Method Implementations
-    // ------------------------------------------------------------------------
-
-    /**
-     * Allows subclasses based on the abstract type to create a response to a
-     * request.
-     * 
-     * @param id
-     *            the response eliciting this Request
-     * @param type
-     *            the message type of the response
-     */
-    protected AbstractResponse(final int id, final MessageTypeEnum type)
-    {
-        super( id, type );
-    }
-}
+/*
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.message;
+
+
+/**
+ * Abstract base for a Lockable Response message.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org"> Apache Directory Project</a>
+ * @version $Rev$
+ */
+public abstract class AbstractResponse extends AbstractMessage implements Response
+{
+    // ------------------------------------------------------------------------
+    // Response Interface Method Implementations
+    // ------------------------------------------------------------------------
+
+    /**
+     * Allows subclasses based on the abstract type to create a response to a
+     * request.
+     * 
+     * @param id
+     *            the response eliciting this Request
+     * @param type
+     *            the message type of the response
+     */
+    protected AbstractResponse(final int id, final MessageTypeEnum type)
+    {
+        super( id, type );
+    }
+}

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractResponse.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractResponse.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractResultResponse.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AbstractResultResponse.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddRequest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddRequest.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddRequest.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddRequest.java Sun Feb 19 19:35:07 2006
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: AddRequest.java,v 1.7 2003/07/31 21:44:48 akarasulu Exp $
+ * $Id$
  *
  * -- (c) LDAPd Group                                                    --
  * -- Please refer to the LICENSE.txt file in the root directory of      --

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddRequest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddRequest.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddRequestImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddRequestImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponse.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponse.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponse.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponse.java Sun Feb 19 19:35:07 2006
@@ -1,42 +1,42 @@
-/*
- *   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- *
- */
-
-/*
- * $Id: AddResponse.java,v 1.2 2003/05/02 00:49:06 akarasulu Exp $
- *
- * -- (c) LDAPd Group                                                    --
- * -- Please refer to the LICENSE.txt file in the root directory of      --
- * -- any LDAPd project for copyright and distribution information.      --
- *
- */
-
-package org.apache.directory.shared.ldap.message;
-
-
-/**
- * Add protocol response message used to confirm the results of a add request
- * message.
- * 
- * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
- * @author $Author: akarasulu $
- * @version $Revision$
- */
-public interface AddResponse extends ResultResponse
-{
-    /** Add response message type enumeration value */
-    MessageTypeEnum TYPE = MessageTypeEnum.ADDRESPONSE;
-}
+/*
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+
+/*
+ * $Id$
+ *
+ * -- (c) LDAPd Group                                                    --
+ * -- Please refer to the LICENSE.txt file in the root directory of      --
+ * -- any LDAPd project for copyright and distribution information.      --
+ *
+ */
+
+package org.apache.directory.shared.ldap.message;
+
+
+/**
+ * Add protocol response message used to confirm the results of a add request
+ * message.
+ * 
+ * @author <a href="mailto:aok123@bellsouth.net">Alex Karasulu</a>
+ * @author $Author: akarasulu $
+ * @version $Revision$
+ */
+public interface AddResponse extends ResultResponse
+{
+    /** Add response message type enumeration value */
+    MessageTypeEnum TYPE = MessageTypeEnum.ADDRESPONSE;
+}

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponse.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponse.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponseImpl.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponseImpl.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponseImpl.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponseImpl.java Sun Feb 19 19:35:07 2006
@@ -1,62 +1,62 @@
-/*
- *   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.message;
-
-
-/**
- * Lockable AddResponse implementation.
- * 
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public class AddResponseImpl extends AbstractResultResponse implements AddResponse
-{
-    // ------------------------------------------------------------------------
-    // Constructors
-    // ------------------------------------------------------------------------
-
-    static final long serialVersionUID = 4027132942339551383L;
-
-
-    /**
-     * Creates a Lockable AddResponse as a reply to an AddRequest.
-     * 
-     * @param id
-     *            the session unique message id
-     */
-    public AddResponseImpl(final int id)
-    {
-        super( id, TYPE );
-    }
-
-
-    /**
-     * Get a String representation of an AddResponse
-     * 
-     * @return An AddResponse String
-     */
-    public String toString()
-    {
-
-        StringBuffer sb = new StringBuffer();
-
-        sb.append( "    Add Response\n" );
-        sb.append( super.toString() );
-
-        return sb.toString();
-    }
-}
+/*
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.message;
+
+
+/**
+ * Lockable AddResponse implementation.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public class AddResponseImpl extends AbstractResultResponse implements AddResponse
+{
+    // ------------------------------------------------------------------------
+    // Constructors
+    // ------------------------------------------------------------------------
+
+    static final long serialVersionUID = 4027132942339551383L;
+
+
+    /**
+     * Creates a Lockable AddResponse as a reply to an AddRequest.
+     * 
+     * @param id
+     *            the session unique message id
+     */
+    public AddResponseImpl(final int id)
+    {
+        super( id, TYPE );
+    }
+
+
+    /**
+     * Get a String representation of an AddResponse
+     * 
+     * @return An AddResponse String
+     */
+    public String toString()
+    {
+
+        StringBuffer sb = new StringBuffer();
+
+        sb.append( "    Add Response\n" );
+        sb.append( super.toString() );
+
+        return sb.toString();
+    }
+}

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponseImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponseImpl.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ArrayNamingEnumeration.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/ArrayNamingEnumeration.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id

Modified: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindRequest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindRequest.java?rev=379008&r1=379007&r2=379008&view=diff
==============================================================================
--- directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindRequest.java (original)
+++ directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindRequest.java Sun Feb 19 19:35:07 2006
@@ -1,170 +1,170 @@
-/*
- *   Copyright 2004 The Apache Software Foundation
- *
- *   Licensed under the Apache License, Version 2.0 (the "License");
- *   you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
- *
- *       http://www.apache.org/licenses/LICENSE-2.0
- *
- *   Unless required by applicable law or agreed to in writing, software
- *   distributed under the License is distributed on an "AS IS" BASIS,
- *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *   See the License for the specific language governing permissions and
- *   limitations under the License.
- *
- */
-package org.apache.directory.shared.ldap.message;
-
-
-/**
- * Bind protocol operation request which authenticates and begins a client
- * session. Does not yet contain interfaces for SASL authentication mechanisms.
- * 
- * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
- * @version $Rev$
- */
-public interface BindRequest extends SingleReplyRequest
-{
-    /** Bind request message type enumeration value */
-    MessageTypeEnum TYPE = MessageTypeEnum.BINDREQUEST;
-
-    /** Bind response message type enumeration value */
-    MessageTypeEnum RESP_TYPE = BindResponse.TYPE;
-
-
-    /**
-     * Checks to see if the authentication mechanism is simple and not SASL
-     * based.
-     * 
-     * @return true if the mechanism is simple false if it is SASL based.
-     */
-    boolean isSimple();
-
-
-    /**
-     * Checks to see if the authentication mechanism is simple and not SASL
-     * based.
-     * 
-     * @return true if the mechanism is simple false if it is SASL based.
-     */
-    boolean getSimple();
-
-
-    /**
-     * Sets the authentication mechanism to simple or to SASL based
-     * authentication.
-     * 
-     * @param isSimple
-     *            true if authentication is simple, false otherwise.
-     */
-    void setSimple( boolean isSimple );
-
-
-    /**
-     * Gets the simple credentials associated with a simple authentication
-     * attempt or null if this request uses SASL authentication mechanisms.
-     * 
-     * @return null if the mechanism is SASL or the credentials if it is simple.
-     */
-    byte[] getCredentials();
-
-
-    /**
-     * Sets the simple credentials associated with a simple authentication
-     * attempt ignored if this request uses SASL authentication mechanisms.
-     * 
-     * @param credentials
-     *            the credentials if authentication is simple, null otherwise
-     */
-    void setCredentials( byte[] credentials );
-
-
-    /**
-     * Gets the distinguished name of the subject in this authentication
-     * request. This field may take on a null value (a zero length string) for
-     * the purposes of anonymous binds, when authentication has been performed
-     * at a lower layer, or when using SASL credentials with a mechanism that
-     * includes the LDAPDN in the credentials.
-     * 
-     * @return the DN of the authenticating user.
-     */
-    String getName();
-
-
-    /**
-     * Sets the distinguished name of the subject in this authentication
-     * request. This field may take on a null value (or a zero length string)
-     * for the purposes of anonymous binds, when authentication has been
-     * performed at a lower layer, or when using SASL credentials with a
-     * mechanism that includes the LDAPDN in the credentials.
-     * 
-     * @param name
-     *            the DN of the authenticating user - leave null for annonymous
-     *            user.
-     */
-    void setName( String name );
-
-
-    /**
-     * Checks to see if the Ldap v3 protocol is used. Normally this would
-     * extract a version number from the bind request sent by the client
-     * indicating the version of the protocol to be used in this protocol
-     * session. The integer is either a 2 or a 3 at the moment. We thought it
-     * was better to just check if the protocol used is 3 or not rather than use
-     * an type-safe enumeration type for a binary value. If an LDAPv4 comes out
-     * then we shall convert the return type to a type safe enumeration.
-     * 
-     * @return true if client using version 3 false if it is version 2.
-     */
-    boolean isVersion3();
-
-
-    /**
-     * Gets whether or not the Ldap v3 protocol is used. Normally this would
-     * extract a version number from the bind request sent by the client
-     * indicating the version of the protocol to be used in this protocol
-     * session. The integer is either a 2 or a 3 at the moment. We thought it
-     * was better to just check if the protocol used is 3 or not rather than use
-     * an type-safe enumeration type for a binary value. If an LDAPv4 comes out
-     * then we shall convert the return type to a type safe enumeration.
-     * 
-     * @return true if client using version 3 false if it is version 2.
-     */
-    boolean getVersion3();
-
-
-    /**
-     * Sets whether or not the LDAP v3 or v2 protocol is used. Normally this
-     * would extract a version number from the bind request sent by the client
-     * indicating the version of the protocol to be used in this protocol
-     * session. The integer is either a 2 or a 3 at the moment. We thought it
-     * was better to just check if the protocol used is 3 or not rather than use
-     * an type-safe enumeration type for a binary value. If an LDAPv4 comes out
-     * then we shall convert the return type to a type safe enumeration.
-     * 
-     * @param isVersion3
-     *            if true the client will be exhibiting version 3 bind behavoir,
-     *            if false is used version 2 behavoir will be exhibited.
-     */
-    void setVersion3( boolean isVersion3 );
-
-
-    /**
-     * Gets the SASL mechanism String associated with this BindRequest if the
-     * bind operation is using SASL.
-     * 
-     * @return the SASL mechanism or null if the bind op is simple
-     */
-    String getSaslMechanism();
-
-
-    /**
-     * Sets the SASL mechanism String associated with this BindRequest if the
-     * bind operation is using SASL.
-     * 
-     * @param saslMechanism
-     *            the SASL mechanism
-     */
-    void setSaslMechanism( String saslMechanism );
-}
+/*
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.directory.shared.ldap.message;
+
+
+/**
+ * Bind protocol operation request which authenticates and begins a client
+ * session. Does not yet contain interfaces for SASL authentication mechanisms.
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface BindRequest extends SingleReplyRequest
+{
+    /** Bind request message type enumeration value */
+    MessageTypeEnum TYPE = MessageTypeEnum.BINDREQUEST;
+
+    /** Bind response message type enumeration value */
+    MessageTypeEnum RESP_TYPE = BindResponse.TYPE;
+
+
+    /**
+     * Checks to see if the authentication mechanism is simple and not SASL
+     * based.
+     * 
+     * @return true if the mechanism is simple false if it is SASL based.
+     */
+    boolean isSimple();
+
+
+    /**
+     * Checks to see if the authentication mechanism is simple and not SASL
+     * based.
+     * 
+     * @return true if the mechanism is simple false if it is SASL based.
+     */
+    boolean getSimple();
+
+
+    /**
+     * Sets the authentication mechanism to simple or to SASL based
+     * authentication.
+     * 
+     * @param isSimple
+     *            true if authentication is simple, false otherwise.
+     */
+    void setSimple( boolean isSimple );
+
+
+    /**
+     * Gets the simple credentials associated with a simple authentication
+     * attempt or null if this request uses SASL authentication mechanisms.
+     * 
+     * @return null if the mechanism is SASL or the credentials if it is simple.
+     */
+    byte[] getCredentials();
+
+
+    /**
+     * Sets the simple credentials associated with a simple authentication
+     * attempt ignored if this request uses SASL authentication mechanisms.
+     * 
+     * @param credentials
+     *            the credentials if authentication is simple, null otherwise
+     */
+    void setCredentials( byte[] credentials );
+
+
+    /**
+     * Gets the distinguished name of the subject in this authentication
+     * request. This field may take on a null value (a zero length string) for
+     * the purposes of anonymous binds, when authentication has been performed
+     * at a lower layer, or when using SASL credentials with a mechanism that
+     * includes the LDAPDN in the credentials.
+     * 
+     * @return the DN of the authenticating user.
+     */
+    String getName();
+
+
+    /**
+     * Sets the distinguished name of the subject in this authentication
+     * request. This field may take on a null value (or a zero length string)
+     * for the purposes of anonymous binds, when authentication has been
+     * performed at a lower layer, or when using SASL credentials with a
+     * mechanism that includes the LDAPDN in the credentials.
+     * 
+     * @param name
+     *            the DN of the authenticating user - leave null for annonymous
+     *            user.
+     */
+    void setName( String name );
+
+
+    /**
+     * Checks to see if the Ldap v3 protocol is used. Normally this would
+     * extract a version number from the bind request sent by the client
+     * indicating the version of the protocol to be used in this protocol
+     * session. The integer is either a 2 or a 3 at the moment. We thought it
+     * was better to just check if the protocol used is 3 or not rather than use
+     * an type-safe enumeration type for a binary value. If an LDAPv4 comes out
+     * then we shall convert the return type to a type safe enumeration.
+     * 
+     * @return true if client using version 3 false if it is version 2.
+     */
+    boolean isVersion3();
+
+
+    /**
+     * Gets whether or not the Ldap v3 protocol is used. Normally this would
+     * extract a version number from the bind request sent by the client
+     * indicating the version of the protocol to be used in this protocol
+     * session. The integer is either a 2 or a 3 at the moment. We thought it
+     * was better to just check if the protocol used is 3 or not rather than use
+     * an type-safe enumeration type for a binary value. If an LDAPv4 comes out
+     * then we shall convert the return type to a type safe enumeration.
+     * 
+     * @return true if client using version 3 false if it is version 2.
+     */
+    boolean getVersion3();
+
+
+    /**
+     * Sets whether or not the LDAP v3 or v2 protocol is used. Normally this
+     * would extract a version number from the bind request sent by the client
+     * indicating the version of the protocol to be used in this protocol
+     * session. The integer is either a 2 or a 3 at the moment. We thought it
+     * was better to just check if the protocol used is 3 or not rather than use
+     * an type-safe enumeration type for a binary value. If an LDAPv4 comes out
+     * then we shall convert the return type to a type safe enumeration.
+     * 
+     * @param isVersion3
+     *            if true the client will be exhibiting version 3 bind behavoir,
+     *            if false is used version 2 behavoir will be exhibited.
+     */
+    void setVersion3( boolean isVersion3 );
+
+
+    /**
+     * Gets the SASL mechanism String associated with this BindRequest if the
+     * bind operation is using SASL.
+     * 
+     * @return the SASL mechanism or null if the bind op is simple
+     */
+    String getSaslMechanism();
+
+
+    /**
+     * Sets the SASL mechanism String associated with this BindRequest if the
+     * bind operation is using SASL.
+     * 
+     * @param saslMechanism
+     *            the SASL mechanism
+     */
+    void setSaslMechanism( String saslMechanism );
+}

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindRequest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: directory/trunks/shared/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindRequest.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Sun Feb 19 19:35:07 2006
@@ -1 +1,4 @@
 Rev
+Revision
+Date
+Id



Mime
View raw message