directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1041096 - /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:30:14 GMT
Author: kayyagari
Date: Wed Dec  1 17:30:14 2010
New Revision: 1041096

URL: http://svn.apache.org/viewvc?rev=1041096&view=rev
Log:
o fixed a bug by moving code adding protocol codec factory

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=1041096&r1=1041095&r2=1041096&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:30:14 2010
@@ -484,12 +484,12 @@ public class KdcServer extends Directory
                     
                     // Allow the port to be reused even if the socket is in TIME_WAIT state
                     ((NioSocketAcceptor)acceptor).setReuseAddress( true );
-
-                    // Inject the codec
-                    ((DefaultIoFilterChainBuilder)chainBuilder).addFirst( "codec", 
-                        new ProtocolCodecFilter( 
-                                KerberosUdpProtocolCodecFactory.getInstance() ) );
                 }
+                
+                // Inject the codec
+                ((DefaultIoFilterChainBuilder)chainBuilder).addFirst( "codec", 
+                    new ProtocolCodecFilter( 
+                        KerberosUdpProtocolCodecFactory.getInstance() ) );
 
                 acceptor.setFilterChainBuilder( chainBuilder );
                 



Mime
View raw message