avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject cvs commit: jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/gui FtpUserPanel.java
Date Mon, 01 Apr 2002 17:25:12 GMT
rana_b      02/04/01 09:25:11

  Modified:    ftpserver/src/java/org/apache/avalon/ftpserver/gui
                        FtpUserPanel.java
  Log:
  get admin user name
  
  Revision  Changes    Path
  1.12      +3 -2      jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/gui/FtpUserPanel.java
  
  Index: FtpUserPanel.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/gui/FtpUserPanel.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- FtpUserPanel.java	31 Mar 2002 16:52:43 -0000	1.11
  +++ FtpUserPanel.java	1 Apr 2002 17:25:11 -0000	1.12
  @@ -22,6 +22,7 @@
   
   import javax.swing.*;
   import javax.swing.event.*;
  +import org.apache.avalon.ftpserver.FtpUser;
   import org.apache.avalon.ftpserver.usermanager.User;
   import org.apache.avalon.ftpserver.remote.interfaces.UserManagerInterface;
   
  @@ -387,7 +388,7 @@
           }
           
           try {
  -            User user = new User();
  +            FtpUser user = new FtpUser();
               user.setName(userName);
               if(setPassword(user)) {
                 user.getVirtualDirectory().setRootDirectory(mjDirectoryTxt.getText());
  @@ -516,7 +517,7 @@
       /**
        * Set password if necessary.
        */
  -    private boolean setPassword(User usr) {
  +    private boolean setPassword(FtpUser usr) {
           
           try {
               String userName = usr.getName();
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message