incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject cvs commit: incubator-ftpserver/src/java/org/apache/ftpserver/usermanager User.java
Date Mon, 23 Jun 2003 16:33:34 GMT
rana_b      2003/06/23 09:33:34

  Modified:    src/java/org/apache/ftpserver/usermanager User.java
  Log:
  added user attributes
  
  Revision  Changes    Path
  1.2       +52 -2     incubator-ftpserver/src/java/org/apache/ftpserver/usermanager/User.java
  
  Index: User.java
  ===================================================================
  RCS file: /home/cvs/incubator-ftpserver/src/java/org/apache/ftpserver/usermanager/User.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- User.java	31 Mar 2003 06:50:26 -0000	1.1
  +++ User.java	23 Jun 2003 16:33:33 -0000	1.2
  @@ -64,12 +64,62 @@
   /**
    * Generic user class. All the application specific user classes will
    * be derived from this.
  - *
  + * <ul>
  + *   <li>uid</li>
  + *   <li>userpassword</li>
  + *   <li>objectclass</li>
  + *   <li>enableflag</li>
  + *   <li>homedirectory</li>
  + *   <li>writepermission</li>
  + *   <li>idletime</li>
  + *   <li>uploadrate</li>
  + *   <li>downloadrate</li>
  + * </ul>
    * @author <a href="mailto:rana_b@yahoo.com">Rana Bhattacharyya</a>
    */
   
   public
   class User implements Serializable {
  +
  +    /**
  +     * uid
  +     */
  +    public static final String ATTR_LOGIN             = "uid";
  +    
  +    /**
  +     * userpassword
  +     */
  +    public static final String ATTR_PASSWORD          = "userpassword";
  +    
  +    /**
  +     * homedirectory
  +     */
  +    public static final String ATTR_HOME              = "homedirectory";
  +    
  +    /**
  +     * writepermission
  +     */
  +    public static final String ATTR_WRITE_PERM        = "writepermission";
  +    
  +    /**
  +     * enableflag
  +     */
  +    public static final String ATTR_ENABLE            = "enableflag";
  +    
  +    /**
  +     * idletime
  +     */
  +    public static final String ATTR_MAX_IDLE_TIME     = "idletime";
  +    
  +    /**
  +     * uploadrate
  +     */
  +    public static final String ATTR_MAX_UPLOAD_RATE   = "uploadrate";
  +    
  +    /**
  +     * downloadrate
  +     */
  +    public static final String ATTR_MAX_DOWNLOAD_RATE = "downloadrate";
   
       private String mstUserName    = null;
       private String mstPassword    = null;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message