You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2009/07/21 23:47:58 UTC

svn commit: r796550 - /directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java

Author: elecharny
Date: Tue Jul 21 21:47:57 2009
New Revision: 796550

URL: http://svn.apache.org/viewvc?rev=796550&view=rev
Log:
Removed the SaslQop setter in LdapServer, as it's statically defined.

Modified:
    directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java

Modified: directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java?rev=796550&r1=796549&r2=796550&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java (original)
+++ directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java Tue Jul 21 21:47:57 2009
@@ -824,39 +824,6 @@
 
 
     /**
-     * Sets the desired quality-of-protection, used by DIGEST-MD5 and GSSAPI.
-     * 
-     * We build a string from this list, where QoP are comma delimited 
-     *
-     * @org.apache.xbean.Property nestedType="java.lang.String"
-     *
-     * @param saslQop The desired quality-of-protection, used by DIGEST-MD5 and GSSAPI.
-     */
-    public void setSaslQop( Set<String> saslQop )
-    {
-        StringBuilder qopList = new StringBuilder();
-        boolean isFirst = true;
-
-        for ( String qop:saslQop )
-        {
-            if ( isFirst )
-            {
-                isFirst = false;
-            }
-            else
-            {
-                qopList.append( ',' );
-            }
-            
-            qopList.append( qop );
-        }
-
-        this.saslQopString = qopList.toString();
-        this.saslQop = saslQop;
-    }
-
-
-    /**
      * Returns the realms serviced by this SASL host, used by DIGEST-MD5 and GSSAPI.
      *
      * @return The realms serviced by this SASL host, used by DIGEST-MD5 and GSSAPI.