User: starksm 
  Date: 02/02/28 00:43:20

  Modified:    src/main/org/jboss/test/securitymgr/interfaces
                        IOSession.java
  Added:       src/main/org/jboss/test/securitymgr/interfaces Bad.java
                        BadHome.java
  Log:
  Add additional permission violation checks
  
  Revision  Changes    Path
  1.2       +11 -3     
jbosstest/src/main/org/jboss/test/securitymgr/interfaces/IOSession.java
  
  Index: IOSession.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/securitymgr/interfaces/IOSession.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IOSession.java    25 Feb 2002 08:11:21 -0000      1.1
  +++ IOSession.java    28 Feb 2002 08:43:20 -0000      1.2
  @@ -6,7 +6,15 @@
   
   public interface IOSession extends EJBObject
   {
  -    /** A method that returns its arg */
  -    public String read(String path) throws IOException, RemoteException;
  -    public void write(String path) throws IOException, RemoteException;
  +   public String read(String path) throws IOException, RemoteException;
  +   public void write(String path) throws IOException, RemoteException;
  +   public void listen(int port) throws IOException;
  +   public void connect(String host, int port) throws IOException;
  +   public void createClassLoader() throws RemoteException;
  +   public void getContextClassLoader() throws RemoteException;
  +   public void setContextClassLoader() throws RemoteException;
  +   public void createSecurityMgr() throws RemoteException;
  +   public void changeSystemOut() throws RemoteException;
  +   public void changeSystemErr() throws RemoteException;
  +   public void systemExit(int status) throws RemoteException;
   }
  
  
  
  1.1                  
jbosstest/src/main/org/jboss/test/securitymgr/interfaces/Bad.java
  
  Index: Bad.java
  ===================================================================
  package org.jboss.test.securitymgr.interfaces;
  
  import java.io.IOException;
  import java.rmi.RemoteException;
  import java.security.Principal;
  import javax.ejb.EJBObject;
  
  /**
   */
  public interface Bad extends EJBObject
  {
      public Principal getSecurityAssociationPrincipal();
      public Object getSecurityAssociationCredential();
      public void setSecurityAssociationPrincipal(Principal user);
      public void setSecurityAssociationCredential(char[] password);
  }
  
  
  
  1.1                  
jbosstest/src/main/org/jboss/test/securitymgr/interfaces/BadHome.java
  
  Index: BadHome.java
  ===================================================================
  package org.jboss.test.securitymgr.interfaces;
  
  import javax.ejb.CreateException;
  import javax.ejb.EJBHome;
  import java.rmi.RemoteException;
  
  public interface BadHome extends EJBHome
  {
      public Bad create() throws RemoteException, CreateException;
  }
  
  
  

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

Reply via email to