directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 56899 - in incubator/directory/kerberos/trunk/eve-kerberos: . etc src/java/org/apache/kerberos/kdc/server/udp
Date Mon, 08 Nov 2004 03:35:57 GMT
Author: akarasulu
Date: Sun Nov  7 19:35:57 2004
New Revision: 56899

Modified:
   incubator/directory/kerberos/trunk/eve-kerberos/   (props changed)
   incubator/directory/kerberos/trunk/eve-kerberos/etc/kerberos.properties
   incubator/directory/kerberos/trunk/eve-kerberos/src/java/org/apache/kerberos/kdc/server/udp/EveKerberosMain.java
Log:
fixed null pointer

Modified: incubator/directory/kerberos/trunk/eve-kerberos/etc/kerberos.properties
==============================================================================
--- incubator/directory/kerberos/trunk/eve-kerberos/etc/kerberos.properties	(original)
+++ incubator/directory/kerberos/trunk/eve-kerberos/etc/kerberos.properties	Sun Nov  7 19:35:57
2004
@@ -1,3 +1,5 @@
+kdc.default.port         = 1088
+
 # -----------------------------------------------------------------------------
 # Kerberos Specific Properties
 # -----------------------------------------------------------------------------

Modified: incubator/directory/kerberos/trunk/eve-kerberos/src/java/org/apache/kerberos/kdc/server/udp/EveKerberosMain.java
==============================================================================
--- incubator/directory/kerberos/trunk/eve-kerberos/src/java/org/apache/kerberos/kdc/server/udp/EveKerberosMain.java
(original)
+++ incubator/directory/kerberos/trunk/eve-kerberos/src/java/org/apache/kerberos/kdc/server/udp/EveKerberosMain.java
Sun Nov  7 19:35:57 2004
@@ -36,10 +36,10 @@
 
 public class EveKerberosMain
 {
-    private static final KdcConfiguration config = new KdcConfiguration();
-    private static final BootstrapStore bootstrap = new BootstrapStore( config );
-    private static PrincipalStore ldap;
-    private static final KdcDispatcher kdc = new KdcDispatcher( config, bootstrap, ldap );
+    private final KdcConfiguration config = new KdcConfiguration();
+    private final BootstrapStore bootstrap = new BootstrapStore( config );
+    private PrincipalStore ldap;
+    private KdcDispatcher kdc;
 
 
     public static void main( String[] args )
@@ -75,8 +75,8 @@
         env.put( EmbeddedEveStore.KDC_ENTRY_BASEDN_KEY, "ou=Users,dc=example,dc=com" );
 
         ldap = new EmbeddedEveStore( env );
-
         init();
+        kdc = new KdcDispatcher( config, bootstrap, ldap );
 
         DatagramSocket socket = null;
         try

Mime
View raw message