User: pra     
  Date: 02/03/06 09:27:50

  Modified:    src/main/org/jboss/mq/il/rmi RMIServerIL.java
                        RMIServerILRemote.java RMIServerILService.java
  Log:
  Commit of JBossMQ new JAAS based security architecture
  
  Revision  Changes    Path
  1.5       +16 -7     jbossmq/src/main/org/jboss/mq/il/rmi/RMIServerIL.java
  
  Index: RMIServerIL.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/rmi/RMIServerIL.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RMIServerIL.java  2 Feb 2002 04:02:23 -0000       1.4
  +++ RMIServerIL.java  6 Mar 2002 17:27:50 -0000       1.5
  @@ -20,21 +20,22 @@
   import org.jboss.mq.TransactionRequest;
   
   import org.jboss.mq.il.ServerIL;
  -import org.jboss.mq.server.JMSServer;
  +import org.jboss.mq.server.JMSServerInvoker;
   
   /**
    * The JVM implementation of the ServerIL object
    *
    * @author    Hiram Chirino ([EMAIL PROTECTED])
    * @author    Norbert Lataille ([EMAIL PROTECTED])
  - * @version   $Revision: 1.4 $
  + * @author    <a href="[EMAIL PROTECTED]">Peter Antman</a>
  + * @version   $Revision: 1.5 $
    * @created   August 16, 2001
    */
   public class RMIServerIL extends java.rmi.server.UnicastRemoteObject implements 
RMIServerILRemote
   {
   
      //The server implementation
  -   private transient JMSServer server;
  +   private transient JMSServerInvoker server;
   
      /**
       * Constructor for the RMIServerIL object
  @@ -42,7 +43,7 @@
       * @param s                             Description of Parameter
       * @exception java.rmi.RemoteException  Description of Exception
       */
  -   public RMIServerIL(JMSServer s)
  +   public RMIServerIL(JMSServerInvoker s)
             throws java.rmi.RemoteException
      {
         server = s;
  @@ -261,10 +262,10 @@
       * @param id             Description of Parameter
       * @exception Exception  Description of Exception
       */
  -   public void destroySubscription(DurableSubscriptionID id)
  +   public void destroySubscription(ConnectionToken dc,DurableSubscriptionID id)
             throws Exception
      {
  -      server.destroySubscription(id);
  +      server.destroySubscription(dc,id);
      }
   
      /**
  @@ -281,7 +282,11 @@
         return server.checkUser(userName, password);
      }
   
  -
  +   public String authenticate(String userName, String password)
  +      throws JMSException 
  +   {
  +      return server.authenticate(userName, password);
  +   }
      /**
       * #Description of the Method
       *
  @@ -321,3 +326,7 @@
         server.ping(dc, clientTime);
      }
   }
  +
  +
  +
  +
  
  
  
  1.4       +1 -15     jbossmq/src/main/org/jboss/mq/il/rmi/RMIServerILRemote.java
  
  Index: RMIServerILRemote.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/rmi/RMIServerILRemote.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RMIServerILRemote.java    26 Sep 2001 05:02:28 -0000      1.3
  +++ RMIServerILRemote.java    6 Mar 2002 17:27:50 -0000       1.4
  @@ -6,28 +6,14 @@
    */
   package org.jboss.mq.il.rmi;
   
  -import javax.jms.Destination;
  -
  -import javax.jms.JMSException;
  -import javax.jms.Queue;
  -import javax.jms.TemporaryQueue;
  -import javax.jms.TemporaryTopic;
  -import javax.jms.Topic;
  -import org.jboss.mq.AcknowledgementRequest;
  -import org.jboss.mq.ConnectionToken;
  -import org.jboss.mq.SpyDestination;
  -import org.jboss.mq.SpyMessage;
  -import org.jboss.mq.TransactionRequest;
  -
   import org.jboss.mq.il.ServerIL;
  -import org.jboss.mq.server.JMSServer;
   
   /**
    * The JVM implementation of the ServerIL object
    *
    * @author    Hiram Chirino ([EMAIL PROTECTED])
    * @author    Norbert Lataille ([EMAIL PROTECTED])
  - * @version   $Revision: 1.3 $
  + * @version   $Revision: 1.4 $
    * @created   August 16, 2001
    */
   public interface RMIServerILRemote extends ServerIL, java.rmi.Remote
  
  
  
  1.10      +2 -2      jbossmq/src/main/org/jboss/mq/il/rmi/RMIServerILService.java
  
  Index: RMIServerILService.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbossmq/src/main/org/jboss/mq/il/rmi/RMIServerILService.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- RMIServerILService.java   2 Feb 2002 03:54:20 -0000       1.9
  +++ RMIServerILService.java   6 Mar 2002 17:27:50 -0000       1.10
  @@ -13,14 +13,14 @@
   
   import org.jboss.mq.il.ServerIL;
   import org.jboss.mq.il.ServerILJMXService;
  -import org.jboss.mq.server.JMSServer;
  +import org.jboss.mq.server.JMSServerInvoker;
   import org.jboss.mq.il.ServerILFactory;
   
   /**
    *  Implements the ServerILJMXService which is used to manage the JVM IL.
    *
    * @author     Hiram Chirino ([EMAIL PROTECTED])
  - * @version    $Revision: 1.9 $
  + * @version    $Revision: 1.10 $
    */
   public class RMIServerILService extends org.jboss.mq.il.ServerILJMXService 
implements RMIServerILServiceMBean
   {
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to