[Fedora-directory-commits] admservconsole/src/com/netscape/management/admserv/panel TurnOnSSL.java, 1.1.1.1, 1.2
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/admservconsole/src/com/netscape/management/admserv/panel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17391/admservconsole/src/com/netscape/management/admserv/panel
Modified Files:
TurnOnSSL.java
Log Message:
bump version to 1.1.2 - disable sslv2 in the ui
Index: TurnOnSSL.java
===================================================================
RCS file: /cvs/dirsec/admservconsole/src/com/netscape/management/admserv/panel/TurnOnSSL.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- TurnOnSSL.java 22 May 2006 18:14:42 -0000 1.1.1.1
+++ TurnOnSSL.java 15 Jul 2008 17:34:39 -0000 1.2
@@ -171,7 +171,7 @@
_domestic = domestic;
Object ssl2Setting = securitySettings.get("ssl2");
- Object ssl3Setting = securitySettings.get("ssl2");
+ Object ssl3Setting = securitySettings.get("ssl3");
Object tlsSetting = securitySettings.get("tls");
//construct a default cipher preference dialog, and get the default settings
15 years, 9 months
[Fedora-directory-commits] admservconsole build.properties,1.6,1.7
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/admservconsole
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17391/admservconsole
Modified Files:
build.properties
Log Message:
bump version to 1.1.2 - disable sslv2 in the ui
Index: build.properties
===================================================================
RCS file: /cvs/dirsec/admservconsole/build.properties,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- build.properties 14 Jan 2008 19:42:48 -0000 1.6
+++ build.properties 15 Jul 2008 17:34:39 -0000 1.7
@@ -21,7 +21,7 @@
lang=en
admservconsole.root=..
-admservconsole.version=1.1.1
+admservconsole.version=1.1.2
admservconsole.gen.version=1.1
brand=fedora
admservconsole.name=${brand}-admin-${admservconsole.version}
15 years, 9 months
[Fedora-directory-commits] console/src/com/netscape/management/client/util ClassLoaderUtil.java, 1.2, 1.3 Debug.java, 1.1.1.1, 1.2
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/console/src/com/netscape/management/client/util
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15441/console/src/com/netscape/management/client/util
Modified Files:
ClassLoaderUtil.java Debug.java
Log Message:
Bump version to 1.1.2
Disable SSLv2 ciphers by default - they are disabled on the server side anyway, so you can't enable them, but this just makes it clear what's going on
Do not use thread.stop - this causes threading issues with modern JVMs
Added support for debugging in Eclipse
Added more debugging log information
Index: ClassLoaderUtil.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/util/ClassLoaderUtil.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ClassLoaderUtil.java 29 Nov 2005 18:37:17 -0000 1.2
+++ ClassLoaderUtil.java 15 Jul 2008 17:26:59 -0000 1.3
@@ -106,6 +106,15 @@
if (iAtSign < 0) {
return Class.forName(sFullClassName); // use default system class loader
}
+
+ if (Debug.noJarsEnabled()) {
+ if (iAtSign >= 0) {
+ sFullClassName = sFullClassName.substring(0, iAtSign);
+ }
+ // for debuggers - do not download and install and use a jar file
+ // assume the local class loader has all of the classes
+ return Class.forName(sFullClassName); // use default system class loader
+ }
if (Debug.isEnabled()) {
Debug.println(1, "ClassLoaderUtil.getClass("+sFullClassName+")");
Index: Debug.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/util/Debug.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- Debug.java 18 Jul 2005 00:34:26 -0000 1.1.1.1
+++ Debug.java 15 Jul 2008 17:26:59 -0000 1.2
@@ -43,6 +43,7 @@
public static final String TYPE_JSS = "jss"; // jss calls
public static final String TYPE_HTTP = "http"; // http calls
public static final String TYPE_RSPTIME = "rsptime"; // response time
+ public static final String TYPE_NOJARS = "nojars"; // no jars - for debuggers
//Predefined keywords used for gc trace type
public static final String KW_CREATE = "Create ";
@@ -54,7 +55,8 @@
// Flags "enabled" for predefined trace types. Fast way to check if a
// predefined type is enabled, rather than searching _traceTypes list
- private static boolean _fTraceGC, _fTraceLdap, _fTraceJSS, _fTraceHttp, _fTraceTime;
+ private static boolean _fTraceGC, _fTraceLdap, _fTraceJSS, _fTraceHttp, _fTraceTime,
+ _fNoJars;
// Flags for show entry options
public static final int SHOW_INDEX = 1;
@@ -113,6 +115,9 @@
public static boolean timeTraceEnabled() {
return _fTraceTime;
}
+ public static boolean noJarsEnabled() {
+ return _fNoJars;
+ }
public static int getShowFlags() {
return _showFlags;
}
@@ -216,6 +221,9 @@
new Date(_appStartTimeStamp)) + " JVM Loaded");
_lastTimeStamp = _appStartTimeStamp;
}
+ } else if (traceType.equals(TYPE_NOJARS)) {
+ _fNoJars = true;
+ _traceTypes.addElement(traceType);
} else {
// Bad trace type
System.err.println("Bad trace type: " + traceType);
@@ -288,6 +296,7 @@
usage += "\n"+TYPE_HTTP + "\t\tHTTP Calls";
usage += "\n"+TYPE_GC + "\t\tGarbage Collection";
usage += "\n"+TYPE_RSPTIME + "\t\tResponse Time";
+ usage += "\n"+TYPE_NOJARS + "\t\tno jar files - for debuggers";
usage += "\nDebug Flags:";
usage += "\nidx\t\tEnumerate debug entries";
usage += "\nlvl\t\tShow debug level for debug entries";
15 years, 9 months
[Fedora-directory-commits] console/src/com/netscape/management/client/topology TopologyModel.java, 1.1.1.1, 1.2
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/console/src/com/netscape/management/client/topology
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15441/console/src/com/netscape/management/client/topology
Modified Files:
TopologyModel.java
Log Message:
Bump version to 1.1.2
Disable SSLv2 ciphers by default - they are disabled on the server side anyway, so you can't enable them, but this just makes it clear what's going on
Do not use thread.stop - this causes threading issues with modern JVMs
Added support for debugging in Eclipse
Added more debugging log information
Index: TopologyModel.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/topology/TopologyModel.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- TopologyModel.java 18 Jul 2005 00:34:20 -0000 1.1.1.1
+++ TopologyModel.java 15 Jul 2008 17:26:58 -0000 1.2
@@ -245,7 +245,7 @@
*/
private void expandFirstNode(IPage viewInstance) {
ResourceObject root = (ResourceObject) getRoot();
- if (!root.isLeaf()) {
+ if (!root.isLeaf() && (root.getChildCount() > 0)) {
ResourceObject firstChild = (ResourceObject) getChild(root, 0);
if (firstChild instanceof DomainNode)
fireExpandTreeNode(viewInstance,
15 years, 9 months
[Fedora-directory-commits] console/src/com/netscape/management/client/security CipherPreferenceDialog.java, 1.1.1.1, 1.2
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/console/src/com/netscape/management/client/security
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15441/console/src/com/netscape/management/client/security
Modified Files:
CipherPreferenceDialog.java
Log Message:
Bump version to 1.1.2
Disable SSLv2 ciphers by default - they are disabled on the server side anyway, so you can't enable them, but this just makes it clear what's going on
Do not use thread.stop - this causes threading issues with modern JVMs
Added support for debugging in Eclipse
Added more debugging log information
Index: CipherPreferenceDialog.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/security/CipherPreferenceDialog.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- CipherPreferenceDialog.java 18 Jul 2005 00:34:16 -0000 1.1.1.1
+++ CipherPreferenceDialog.java 15 Jul 2008 17:26:58 -0000 1.2
@@ -103,6 +103,8 @@
public final static String RSA_RC4_128_MD5 = "rsa_rc4_128_md5";
/**SSL3 Domestic - Triple DES with 168 bit encryption and SHA message authentication*/
public final static String RSA_3DES_SHA = "rsa_3des_sha";
+ /**SSL3 Domestic - RC4 with 128 bit encryption and SHA message authentication*/
+ public final static String RSA_RC4_128_SHA = "rsa_rc4_128_sha";
// fortezza ciphers
/**SSL3 Domestic - Fortezza with 80 bit encryption and SHA message authentication */
@@ -117,14 +119,14 @@
public final static String RSA_FIPS_3DES_SHA = "fips_3des_sha";
/* default SSL V2 export ciphers */
- final static String V2EXPORT = "+"+RC4EXPORT+
- ",+"+RC2EXPORT;
+ final static String V2EXPORT = "-"+RC4EXPORT+
+ ",-"+RC2EXPORT;
/* default SSL V2 domestic ciphers */
- final static String V2DOMESTIC = "+"+RC4+
- ",+"+RC2+
- ",+"+DES+
- ",+"+DES3;
+ final static String V2DOMESTIC = "-"+RC4+
+ ",-"+RC2+
+ ",-"+DES+
+ ",-"+DES3;
/* default SSL V3 domestic ciphers */
final static String V3EXPORT = "+"+RSA_RC4_40_MD5+
@@ -523,6 +525,9 @@
cipherEntry = new CipherEntry(cipher, true, des, 56, md5, SSL_V2);
} else if (cipher.equals(DES3)) {
cipherEntry = new CipherEntry(cipher, true, des, 168, md5, SSL_V2);
+ } else {
+ Debug.println("CipherPreferenceDialog.createCipherEntry(): " +
+ "Unknown SSLv2 cipher: " + cipher);
}
//V3/TLS Cipher
@@ -551,6 +556,9 @@
cipherEntry = new CipherEntry(cipher, true, rc4+" "+fortezza, 128, sha, SSL_V3);
} else if (cipher.equals(FORTEZZA_NULL)) {
cipherEntry = new CipherEntry(cipher, false, none+" "+fortezza, 0, sha, SSL_V3);
+ } else {
+ Debug.println("CipherPreferenceDialog.createCipherEntry(): " +
+ "Unknown SSLv3 cipher: " + cipher);
}
//TLS ciphers
@@ -559,7 +567,10 @@
cipherEntry = new CipherEntry(cipher, true, des, 56, sha, SSL_V3, true);
} else if (cipher.equals(TLS_RSA_RC4_SHA)) {
cipherEntry = new CipherEntry(cipher, true, rc4, 56, sha, SSL_V3, true);
- }
+ } else {
+ Debug.println("CipherPreferenceDialog.createCipherEntry(): " +
+ "Unknown TLSv1 cipher: " + cipher);
+ }
}
}
15 years, 9 months
[Fedora-directory-commits] console/src/com/netscape/management/client/console Console.java, 1.13, 1.14
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/console/src/com/netscape/management/client/console
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15441/console/src/com/netscape/management/client/console
Modified Files:
Console.java
Log Message:
Bump version to 1.1.2
Disable SSLv2 ciphers by default - they are disabled on the server side anyway, so you can't enable them, but this just makes it clear what's going on
Do not use thread.stop - this causes threading issues with modern JVMs
Added support for debugging in Eclipse
Added more debugging log information
Index: Console.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/console/Console.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Console.java 23 Jun 2008 23:03:05 -0000 1.13
+++ Console.java 15 Jul 2008 17:26:58 -0000 1.14
@@ -1320,11 +1320,20 @@
return LDAP_INIT_FAILED;
} else {
msg = _resource.getString("info","restartDS");
+ Debug.println("Console.LDAPinitialization(): " +
+ "before displaying message dialog with message " +
+ msg);
+ _splashScreen.toBack();
+ Thread.yield();
JOptionPane.showMessageDialog(
SplashScreen.getInstance(), msg,
_resource.getString("info","restartDSTitle"),
JOptionPane.INFORMATION_MESSAGE);
+ Debug.println("Console.LDAPinitialization(): " +
+ "after displaying message dialog with message " +
+ msg);
_dsHasBeenRestarted = true;
+ _splashScreen.toFront();
return LDAP_INIT_DS_RESTART;
}
}
15 years, 9 months
[Fedora-directory-commits] console/src/com/netscape/management/client/comm HttpChannel.java, 1.2, 1.3 HttpsChannel.java, 1.3, 1.4
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/console/src/com/netscape/management/client/comm
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15441/console/src/com/netscape/management/client/comm
Modified Files:
HttpChannel.java HttpsChannel.java
Log Message:
Bump version to 1.1.2
Disable SSLv2 ciphers by default - they are disabled on the server side anyway, so you can't enable them, but this just makes it clear what's going on
Do not use thread.stop - this causes threading issues with modern JVMs
Added support for debugging in Eclipse
Added more debugging log information
Index: HttpChannel.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/comm/HttpChannel.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- HttpChannel.java 13 Jun 2007 20:33:08 -0000 1.2
+++ HttpChannel.java 15 Jul 2008 17:26:56 -0000 1.3
@@ -135,7 +135,6 @@
}
if (thread != null) {
- thread.stop();
thread = null;
}
}
@@ -166,10 +165,13 @@
} catch (IOException e) {
Debug.println(name + " error> " + e);
kill();
+ break;
}
- if (cr == null)
+ if (cr == null) {
kill();
+ break;
+ }
cr.setChannel(this);
Index: HttpsChannel.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/comm/HttpsChannel.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- HttpsChannel.java 13 Jun 2007 20:33:08 -0000 1.3
+++ HttpsChannel.java 15 Jul 2008 17:26:56 -0000 1.4
@@ -451,8 +451,6 @@
socket = null;
Debug.println(name + " close> Closed");
-
- thread.stop();
}
// Show dialog on the EventDispatchThread
15 years, 9 months
[Fedora-directory-commits] console/src/com/netscape/management/client/acl HttpWriter.java, 1.1.1.1, 1.2
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/console/src/com/netscape/management/client/acl
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15441/console/src/com/netscape/management/client/acl
Modified Files:
HttpWriter.java
Log Message:
Bump version to 1.1.2
Disable SSLv2 ciphers by default - they are disabled on the server side anyway, so you can't enable them, but this just makes it clear what's going on
Do not use thread.stop - this causes threading issues with modern JVMs
Added support for debugging in Eclipse
Added more debugging log information
Index: HttpWriter.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/acl/HttpWriter.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- HttpWriter.java 18 Jul 2005 00:34:10 -0000 1.1.1.1
+++ HttpWriter.java 15 Jul 2008 17:26:56 -0000 1.2
@@ -19,8 +19,6 @@
* END COPYRIGHT BLOCK **/
package com.netscape.management.client.acl;
-import java.io.Reader;
-import java.io.Writer;
import java.io.InputStream;
import java.io.ByteArrayInputStream;
import java.io.StringWriter;
@@ -30,7 +28,6 @@
import com.netscape.management.client.comm.CommClient;
import com.netscape.management.client.comm.CommRecord;
import com.netscape.management.client.comm.HttpManager;
-import com.netscape.management.client.comm.HttpChannel;
/**
* The HttpWriter class overides the close() method of the
15 years, 9 months
[Fedora-directory-commits] console build.properties,1.15,1.16
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/console
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15441/console
Modified Files:
build.properties
Log Message:
Bump version to 1.1.2
Disable SSLv2 ciphers by default - they are disabled on the server side anyway, so you can't enable them, but this just makes it clear what's going on
Do not use thread.stop - this causes threading issues with modern JVMs
Added support for debugging in Eclipse
Added more debugging log information
Index: build.properties
===================================================================
RCS file: /cvs/dirsec/console/build.properties,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- build.properties 10 Jan 2008 18:35:35 -0000 1.15
+++ build.properties 15 Jul 2008 17:26:56 -0000 1.16
@@ -23,7 +23,7 @@
console.root=.
console.version=11
-console.dotversion=1.1.1
+console.dotversion=1.1.2
console.dotgenversion=1.1
mcc.core=idm-console-mcc
15 years, 9 months
[Fedora-directory-commits] console/src/com/netscape/management/client LDAPTaskModel.java, 1.1.1.1, 1.2
by Doctor Conrad
Author: rmeggins
Update of /cvs/dirsec/console/src/com/netscape/management/client
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15441/console/src/com/netscape/management/client
Modified Files:
LDAPTaskModel.java
Log Message:
Bump version to 1.1.2
Disable SSLv2 ciphers by default - they are disabled on the server side anyway, so you can't enable them, but this just makes it clear what's going on
Do not use thread.stop - this causes threading issues with modern JVMs
Added support for debugging in Eclipse
Added more debugging log information
Index: LDAPTaskModel.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/LDAPTaskModel.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- LDAPTaskModel.java 18 Jul 2005 00:34:07 -0000 1.1.1.1
+++ LDAPTaskModel.java 15 Jul 2008 17:26:56 -0000 1.2
@@ -285,7 +285,7 @@
} catch (Exception e) {
Debug.println(
"LDAPTaskModel.getTasksFromLdap: Could not load class: " +
- sJavaClassName);
+ sJavaClassName + ": Exception: " + e);
// This implicitly means that this task should not show up in
// in the Task list.
}
15 years, 9 months