JBoss Remoting SVN: r4734 - remoting2/branches/2.x/src/main/org/jboss/remoting/detection/jndi.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-11-20 12:31:04 -0500 (Thu, 20 Nov 2008)
New Revision: 4734
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/detection/jndi/JNDIDetector.java
Log:
JBREM-1067: Moved JNDI operations to SecurityUtility for new jnpserver.jar.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/detection/jndi/JNDIDetector.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/detection/jndi/JNDIDetector.java 2008-11-20 17:29:08 UTC (rev 4733)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/detection/jndi/JNDIDetector.java 2008-11-20 17:31:04 UTC (rev 4734)
@@ -277,7 +277,7 @@
cleanDetectionCount++;
boolean cleanDetect = cleanDetectionCount > detectionNumber;
String bindName = "";
- NamingEnumeration enumeration = context.listBindings(bindName);
+ NamingEnumeration enumeration = SecurityUtility.listBindings(context, bindName);
while(enumeration.hasMore())
{
Binding binding = (Binding) enumeration.next();
@@ -414,7 +414,7 @@
{
try
{
- context.rebind(sId, msg);
+ SecurityUtility.rebind(context, sId, msg);
log.info("Added " + sId + " to registry.");
}
catch(NameAlreadyBoundException nabex)
@@ -502,18 +502,18 @@
InitialContext initialContext = new InitialContext(env);
try
{
- context = (Context) initialContext.lookup(subContextName);
+ context = SecurityUtility.initialContextLookup(initialContext, subContextName);
}
catch(NamingException e)
{
try
{
- context = initialContext.createSubcontext(subContextName);
+ context = SecurityUtility.createSubcontext(initialContext, subContextName);
}
catch(NameAlreadyBoundException e1)
{
log.debug("The sub context " + subContextName + " was created before we could.");
- context = (Context) initialContext.lookup(subContextName);
+ context = SecurityUtility.initialContextLookup(initialContext, subContextName);
}
}
}
@@ -545,6 +545,6 @@
{
log.trace("unregistering detector " + sId);
}
- context.unbind(sId);
+ SecurityUtility.unbind(context, sId);
}
}
16 years
JBoss Remoting SVN: r4733 - remoting2/branches/2.x/src/etc.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-11-20 12:29:08 -0500 (Thu, 20 Nov 2008)
New Revision: 4733
Modified:
remoting2/branches/2.x/src/etc/remoting.security.policy.tests
Log:
JBREM-1067: Added permissions for new jnpserver.jar.
Modified: remoting2/branches/2.x/src/etc/remoting.security.policy.tests
===================================================================
--- remoting2/branches/2.x/src/etc/remoting.security.policy.tests 2008-11-20 17:28:45 UTC (rev 4732)
+++ remoting2/branches/2.x/src/etc/remoting.security.policy.tests 2008-11-20 17:29:08 UTC (rev 4733)
@@ -127,6 +127,7 @@
permission java.lang.RuntimePermission "createClassLoader";
permission java.lang.RuntimePermission "getClassLoader";
permission java.lang.RuntimePermission "setContextClassLoader";
+ permission java.lang.RuntimePermission "org.jboss.naming.NamingContext.getLocal";
permission javax.management.MBeanTrustPermission "register";
@@ -187,6 +188,11 @@
// jndi detection test cases
permission java.util.PropertyPermission "java.naming.factory.initial", "write";
+ permission org.jboss.naming.JndiPermission "detection", "createSubcontext";
+ permission org.jboss.naming.JndiPermission "detection", "listBindings";
+ permission org.jboss.naming.JndiPermission "detection", "lookup";
+ permission org.jboss.naming.JndiPermission "detection/*", "rebind";
+ permission org.jboss.naming.JndiPermission "detection/*", "unbind";
// TODO - this stuff ought to be in privileged blocks within the Ant JUnit task
permission java.util.PropertyPermission "*", "read, write"; // ugh
16 years
JBoss Remoting SVN: r4732 - remoting2/branches/2.x/src/etc.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-11-20 12:28:45 -0500 (Thu, 20 Nov 2008)
New Revision: 4732
Modified:
remoting2/branches/2.x/src/etc/remoting.security.policy.core
Log:
JBREM-1067: Added permissions for new jnpserver.jar.
Modified: remoting2/branches/2.x/src/etc/remoting.security.policy.core
===================================================================
--- remoting2/branches/2.x/src/etc/remoting.security.policy.core 2008-11-20 16:02:46 UTC (rev 4731)
+++ remoting2/branches/2.x/src/etc/remoting.security.policy.core 2008-11-20 17:28:45 UTC (rev 4732)
@@ -160,6 +160,9 @@
permission java.lang.RuntimePermission "getClassLoader";
permission java.lang.RuntimePermission "setContextClassLoader";
+ // Used by org.jboss.remoting.detection.jndi.JNDIDetector
+ permission java.lang.RuntimePermission "org.jboss.naming.NamingContext.getLocal";
+
// Used by:
// org.jboss.remoting.security.SSLSocketBuilder
// org.jboss.remoting.transport.coyote.CoyoteInvoker
@@ -260,8 +263,18 @@
permission java.util.PropertyPermission "jboss.remoting.pre_2_0_compatible", "read";
permission java.util.PropertyPermission "jboss.remoting.version", "read, write";
-
+
/////////////////////////////////////////////////////////////////////////////////////////////
+// JBoss permissions
+
+ // Used by JNDIDetector
+ permission org.jboss.naming.JndiPermission "detection", "createSubcontext";
+ permission org.jboss.naming.JndiPermission "detection", "listBindings";
+ permission org.jboss.naming.JndiPermission "detection", "lookup";
+ permission org.jboss.naming.JndiPermission "detection/*", "rebind";
+ permission org.jboss.naming.JndiPermission "detection/*", "unbind";
+
+/////////////////////////////////////////////////////////////////////////////////////////////
// Permissions used by JBossSerialization.
// [TODO - JBoss Serialization SHOULD be doing these operations in a privileged block - JBSER-105]
16 years
JBoss Remoting SVN: r4731 - remoting3/trunk/api/src/main/java/org/jboss/remoting.
by jboss-remoting-commits@lists.jboss.org
Author: david.lloyd(a)jboss.com
Date: 2008-11-20 11:02:46 -0500 (Thu, 20 Nov 2008)
New Revision: 4731
Modified:
remoting3/trunk/api/src/main/java/org/jboss/remoting/Endpoint.java
Log:
Javadoc nit
Modified: remoting3/trunk/api/src/main/java/org/jboss/remoting/Endpoint.java
===================================================================
--- remoting3/trunk/api/src/main/java/org/jboss/remoting/Endpoint.java 2008-11-20 07:23:09 UTC (rev 4730)
+++ remoting3/trunk/api/src/main/java/org/jboss/remoting/Endpoint.java 2008-11-20 16:02:46 UTC (rev 4731)
@@ -104,7 +104,7 @@
/**
* Register a remotely available service.<p>
- * The remote endpoint may not have the same name as this endpoint. The group name and service type must be
+ * The remote endpoint must not have the same name as this endpoint. The group name and service type must be
* non-{@code null} and non-empty. The metric must be greater than zero.
*
* You must have the {@link org.jboss.remoting.EndpointPermission registerRemoteService EndpointPermission} to invoke this method.
16 years
JBoss Remoting SVN: r4730 - remoting2/branches/2.x/docs/guide/en.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-11-20 02:23:09 -0500 (Thu, 20 Nov 2008)
New Revision: 4730
Modified:
remoting2/branches/2.x/docs/guide/en/chap17.xml
Log:
JBREM-1053: Added release notes for 2.5.0.SP2.
Modified: remoting2/branches/2.x/docs/guide/en/chap17.xml
===================================================================
--- remoting2/branches/2.x/docs/guide/en/chap17.xml 2008-11-20 07:14:13 UTC (rev 4729)
+++ remoting2/branches/2.x/docs/guide/en/chap17.xml 2008-11-20 07:23:09 UTC (rev 4730)
@@ -69,7 +69,26 @@
<section>
<title>Version 2.5</title>
-
+
+ <bridgehead>Release Notes - JBoss Remoting - Version 2.5.0.SP2 (Flounder)</bridgehead>
+
+ <para><emphasis role="bold">Bug</emphasis></para>
+
+ <para>* [JBREM-1050] - HTTPClientInvoker does not support BASIC authentication for proxies when use of proxy is configured by system properties</para>
+ <para>* [JBREM-1055] - ConnectionValidator.run() should have a sanity test to prevent calls from application code</para>
+ <para>* [JBREM-1056] - Fix race condition in InvokerRegistry</para>
+ <para>* [JBREM-1058] - SocketServerInvoker is missing a privileged block</para>
+
+ <para><emphasis role="bold">Release</emphasis></para>
+
+ <para>* [JBREM-1053] - Release 2.5.0.SP2</para>
+
+ <para><emphasis role="bold">Task</emphasis></para>
+
+ <para>* [JBREM-1057] - Fix duplicate chapers in Remoting Guide</para>
+ <para>* [JBREM-1067] - Update dependencies to conform to Application Server 5.0.0.GA</para>
+ <para>* [JBREM-1068] - Assure version compatibility with earlier versions of Remoting</para>
+
<bridgehead>Release Notes - JBoss Remoting - Version 2.5.0.SP1 (Flounder)</bridgehead>
<para><emphasis role="bold">Bug</emphasis></para>
16 years
JBoss Remoting SVN: r4729 - remoting2/branches/2.x/docs/guide/en.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-11-20 02:14:13 -0500 (Thu, 20 Nov 2008)
New Revision: 4729
Modified:
remoting2/branches/2.x/docs/guide/en/chap1.xml
Log:
JBREM-1053: Added section for 2.5.0.SP2.
Modified: remoting2/branches/2.x/docs/guide/en/chap1.xml
===================================================================
--- remoting2/branches/2.x/docs/guide/en/chap1.xml 2008-11-20 07:09:36 UTC (rev 4728)
+++ remoting2/branches/2.x/docs/guide/en/chap1.xml 2008-11-20 07:14:13 UTC (rev 4729)
@@ -187,8 +187,17 @@
<para>Other features of Remoting 2.5.0.GA should function with jdk 1.4.
However, it is the policy of JBoss, a division of Red Hat, no longer to
support jdk 1.4.</para>
-
+
<section>
+ <title>Release 2.5.0.SP2</title>
+ <itemizedlist>
+ <listitem>
+ <para>A few bug fixes.</para>
+ </listitem>
+ </itemizedlist>
+ </section>
+
+ <section>
<title>Release 2.5.0.SP1</title>
<itemizedlist>
16 years
JBoss Remoting SVN: r4728 - remoting2/branches/2.x/docs/guide/en.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-11-20 02:09:36 -0500 (Thu, 20 Nov 2008)
New Revision: 4728
Modified:
remoting2/branches/2.x/docs/guide/en/master.xml
Log:
JBREM-1053: Updated date and version.
Modified: remoting2/branches/2.x/docs/guide/en/master.xml
===================================================================
--- remoting2/branches/2.x/docs/guide/en/master.xml 2008-11-20 07:08:19 UTC (rev 4727)
+++ remoting2/branches/2.x/docs/guide/en/master.xml 2008-11-20 07:09:36 UTC (rev 4728)
@@ -24,9 +24,9 @@
<bookinfo>
<title>JBoss Remoting Guide</title>
- <subtitle>JBoss Remoting version 2.5.0.SP1</subtitle>
+ <subtitle>JBoss Remoting version 2.5.0.SP2</subtitle>
- <releaseinfo>October 30, 2008</releaseinfo>
+ <releaseinfo>November 20, 2008</releaseinfo>
<mediaobject>
<imageobject>
16 years
JBoss Remoting SVN: r4727 - remoting2/branches/2.x.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-11-20 02:08:19 -0500 (Thu, 20 Nov 2008)
New Revision: 4727
Modified:
remoting2/branches/2.x/build.xml
Log:
JBREM-1053: Updated version to 2.5.0.SP2; JBREM-1068: added versioning test for 2.5.0.SP1.
Modified: remoting2/branches/2.x/build.xml
===================================================================
--- remoting2/branches/2.x/build.xml 2008-11-20 07:05:55 UTC (rev 4726)
+++ remoting2/branches/2.x/build.xml 2008-11-20 07:08:19 UTC (rev 4727)
@@ -224,9 +224,9 @@
<!-- Module name(s) & version -->
<property name="module.name" value="remoting"/>
<property name="module.Name" value="JBoss Remoting"/>
- <property name="module.version" value="2.5.0.SP1"/>
+ <property name="module.version" value="2.5.0.SP2"/>
<!-- extension is for the file suffix to use for dtribution build -->
- <property name="module.version.extension" value="2_5_0_SP1"/>
+ <property name="module.version.extension" value="2_5_0_SP2"/>
<property name="implementation.url" value="http://www.jboss.org/products/remoting"/>
<property name="root.dir" value="${basedir}"/>
@@ -1729,6 +1729,24 @@
<param name="check_content_type" value="true"/>
</antcall>
+ <!-- ******************************************************************************** -->
+ <!-- Current <- -> 2.5.0.SP1 -->
+ <antcall target="download.version">
+ <param name="version" value="2.5.0.SP1"/>
+ </antcall>
+ <antcall target="tests.versioning.all_transports" inheritrefs="true">
+ <param name="jboss-junit-configuration" value="2_5_0_SP1-client"/>
+ <param name="client.classpath" value="${etc.dir}/lib/2.5.0.SP1/jboss-remoting.jar${extended.classpath}"/>
+ <param name="server.classpath" value="${output.lib.dir}/jboss-remoting.jar${extended.classpath}"/>
+ <param name="check_content_type" value="true"/>
+ </antcall>
+ <antcall target="tests.versioning.all_transports" inheritrefs="true">
+ <param name="jboss-junit-configuration" value="2_5_0_SP1-server"/>
+ <param name="server.classpath" value="${etc.dir}/lib/2.5.0.SP1/jboss-remoting.jar${extended.classpath}"/>
+ <param name="client.classpath" value="${output.lib.dir}/jboss-remoting.jar${extended.classpath}"/>
+ <param name="check_content_type" value="true"/>
+ </antcall>
+
<!-- ******************************************************************************** -->
<!-- Current <- -> 2.5.0.GA -->
<antcall target="download.version">
16 years
JBoss Remoting SVN: r4726 - remoting2/branches/2.x/src/main/org/jboss/remoting.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-11-20 02:05:55 -0500 (Thu, 20 Nov 2008)
New Revision: 4726
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java
Log:
JBREM-1053: Updated version to 2.5.0.SP2.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java 2008-11-20 07:05:05 UTC (rev 4725)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/Version.java 2008-11-20 07:05:55 UTC (rev 4726)
@@ -34,7 +34,7 @@
public static final byte VERSION_2 = 2;
public static final byte VERSION_2_2 = 22;
- public static final String VERSION = "2.5.0.SP1 (Flounder)";
+ public static final String VERSION = "2.5.0.SP2 (Flounder)";
private static final byte byteVersion = VERSION_2_2;
private static byte defaultByteVersion = byteVersion;
private static boolean performVersioning = true;
16 years
JBoss Remoting SVN: r4725 - remoting2/branches/2.x/docs.
by jboss-remoting-commits@lists.jboss.org
Author: ron.sigal(a)jboss.com
Date: 2008-11-20 02:05:05 -0500 (Thu, 20 Nov 2008)
New Revision: 4725
Modified:
remoting2/branches/2.x/docs/README.txt
Log:
JBREM-1053: Added release notes for 2.5.0.SP2.
Modified: remoting2/branches/2.x/docs/README.txt
===================================================================
--- remoting2/branches/2.x/docs/README.txt 2008-11-20 06:28:14 UTC (rev 4724)
+++ remoting2/branches/2.x/docs/README.txt 2008-11-20 07:05:05 UTC (rev 4725)
@@ -41,6 +41,25 @@
==========================================================================================================
==========================================================================================================
+Release Notes - JBoss Remoting - Version 2.5.0.SP2 (Flounder)
+Bug
+
+ * [JBREM-1050] - HTTPClientInvoker does not support BASIC authentication for proxies when use of proxy is configured by system properties
+ * [JBREM-1055] - ConnectionValidator.run() should have a sanity test to prevent calls from application code
+ * [JBREM-1056] - Fix race condition in InvokerRegistry
+ * [JBREM-1058] - SocketServerInvoker is missing a privileged block
+
+Release
+
+ * [JBREM-1053] - Release 2.5.0.SP2
+
+Task
+
+ * [JBREM-1057] - Fix duplicate chapers in Remoting Guide
+ * [JBREM-1067] - Update dependencies to conform to Application Server 5.0.0.GA
+ * [JBREM-1068] - Assure version compatibility with earlier versions of Remoting
+
+==========================================================================================================
Release Notes - JBoss Remoting - Version 2.5.0.SP1 (Flounder)
Bug
16 years