portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kimp...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/security BaseJetspeedUser.java
Date Tue, 19 Mar 2002 21:38:14 GMT
kimptoc     02/03/19 13:38:14

  Modified:    src/java/org/apache/jetspeed/om/security
                        BaseJetspeedUser.java
  Log:
  default new users to not be disabled - otherwise get columns set to null with mysql
  
  Revision  Changes    Path
  1.3       +4 -3      jakarta-jetspeed/src/java/org/apache/jetspeed/om/security/BaseJetspeedUser.java
  
  Index: BaseJetspeedUser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/security/BaseJetspeedUser.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BaseJetspeedUser.java	26 Feb 2002 02:14:34 -0000	1.2
  +++ BaseJetspeedUser.java	19 Mar 2002 21:38:14 -0000	1.3
  @@ -68,7 +68,7 @@
    * A Jetspeed implemetation of the Turbine User interface.
    *
    * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
  - * @version $Id: BaseJetspeedUser.java,v 1.2 2002/02/26 02:14:34 taylor Exp $
  + * @version $Id: BaseJetspeedUser.java,v 1.3 2002/03/19 21:38:14 kimptoc Exp $
    */
   public class BaseJetspeedUser extends TurbineUser implements JetspeedUser
   {
  @@ -82,6 +82,7 @@
       public BaseJetspeedUser()
       {
           super();
  +        setDisabled(false);
       }
   
   
  @@ -99,7 +100,7 @@
               if ( tmp != null && tmp.length() > 0 )
               {
                   if (tmp.equalsIgnoreCase("T"))
  -                    disabled = true;                
  +                    disabled = true;
               }
           }
           catch (Exception e)
  @@ -125,7 +126,7 @@
           {
               if (hasLoggedIn())
               {
  -               if ( JetspeedResources.getBoolean("automatic.logout.save", false) )    
            
  +               if ( JetspeedResources.getBoolean("automatic.logout.save", false) )
                       JetspeedSecurity.saveUser(this);
               }
           }
  
  
  

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


Mime
View raw message