directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r796550 - /directory/apacheds/trunk/protocol-ldap/src/main/java/org/apache/directory/server/ldap/LdapServer.java
Date Tue, 21 Jul 2009 21:47:58 GMT
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.



Mime
View raw message