Author: ron.sigal(a)jboss.com
Date: 2008-05-28 21:59:19 -0400 (Wed, 28 May 2008)
New Revision: 4259
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/util/SecurityUtility.java
Log:
JBREM-989: Removed method used by ServerInvokerServlet.
Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/util/SecurityUtility.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/util/SecurityUtility.java 2008-05-29
01:31:30 UTC (rev 4258)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/util/SecurityUtility.java 2008-05-29
01:59:19 UTC (rev 4259)
@@ -59,15 +59,11 @@
import javax.management.ObjectName;
import javax.net.ServerSocketFactory;
import javax.net.SocketFactory;
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
import org.jboss.remoting.Remoting;
import org.jboss.remoting.loading.RemotingClassLoader;
import org.jboss.remoting.security.ServerSocketFactoryMBean;
import org.jboss.remoting.transport.rmi.RMIServerInvokerInf;
-import org.jboss.remoting.transport.servlet.ServletServerInvokerMBean;
import org.jboss.serial.io.JBossObjectInputStream;
import org.jboss.serial.io.JBossObjectOutputStream;
@@ -507,38 +503,6 @@
}
- static public byte[] processRequest(final ServletServerInvokerMBean invoker,
- final HttpServletRequest request,
- final byte[] byteArray,
- final HttpServletResponse response)
- throws ServletException, IOException
- {
- if (skipAccessControl)
- {
- return invoker.processRequest(request, byteArray, response);
- }
-
- try
- {
- return (byte[]) AccessController.doPrivileged( new PrivilegedExceptionAction()
- {
- public Object run() throws ServletException, IOException
- {
- return invoker.processRequest(request, byteArray, response);
- }
- });
- }
- catch (PrivilegedActionException e)
- {
- Throwable cause = e.getCause();
- if (cause instanceof ServletException)
- throw (ServletException) cause;
- else
- throw (IOException) e.getCause();
- }
- }
-
-
static public void registerMBean(final MBeanServer server, final Object o, final
ObjectName name)
throws Exception
{
Show replies by date