directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1041081 - /directory/apacheds/branches/apacheds-kerberos-codec-2.0/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcServer.java
Date Wed, 01 Dec 2010 17:14:03 GMT
Author: kayyagari
Date: Wed Dec  1 17:14:03 2010
New Revision: 1041081

URL: http://svn.apache.org/viewvc?rev=1041081&view=rev
Log:
o use only one protocol codec factory for both TCP and UDP transports (the term 'UDP' from
ProtocolCodecFactory and the encoder/decoders will be removed in next commits)

Modified:
    directory/apacheds/branches/apacheds-kerberos-codec-2.0/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcServer.java

Modified: directory/apacheds/branches/apacheds-kerberos-codec-2.0/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcServer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-kerberos-codec-2.0/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcServer.java?rev=1041081&r1=1041080&r2=1041081&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-kerberos-codec-2.0/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcServer.java
(original)
+++ directory/apacheds/branches/apacheds-kerberos-codec-2.0/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcServer.java
Wed Dec  1 17:14:03 2010
@@ -489,21 +489,9 @@ public class KdcServer extends Directory
                     // Inject the codec
                     ((DefaultIoFilterChainBuilder)chainBuilder).addFirst( "codec", 
                         new ProtocolCodecFilter( 
-                                KerberosTcpProtocolCodecFactory.getInstance() ) );
-                }
-                else
-                {
-                    // Inject the codec
-                    ((DefaultIoFilterChainBuilder)chainBuilder).addFirst( "codec", 
-                        new ProtocolCodecFilter( 
                                 KerberosUdpProtocolCodecFactory.getInstance() ) );
                 }
 
-//                // Inject the codec
-//                ((DefaultIoFilterChainBuilder)chainBuilder).addFirst( "codec", 
-//                    new ProtocolCodecFilter( 
-//                            KerberosTcpProtocolCodecFactory.getInstance() ) );
-
                 acceptor.setFilterChainBuilder( chainBuilder );
                 
                 // Inject the protocol handler



Mime
View raw message