portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/services/security/turbine TurbineUserManagement.java TurbineGroupManagement.java
Date Fri, 13 May 2005 20:48:30 GMT
taylor      2005/05/13 13:48:30

  Modified:    src/java/org/apache/jetspeed/services/security/turbine
                        TurbineUserManagement.java
                        TurbineGroupManagement.java
  Log:
  change privates to protected to make services more extensible
  
  Revision  Changes    Path
  1.14      +13 -13    jakarta-jetspeed/src/java/org/apache/jetspeed/services/security/turbine/TurbineUserManagement.java
  
  Index: TurbineUserManagement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/security/turbine/TurbineUserManagement.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- TurbineUserManagement.java	23 Feb 2004 03:54:49 -0000	1.13
  +++ TurbineUserManagement.java	13 May 2005 20:48:30 -0000	1.14
  @@ -86,24 +86,24 @@
       /**
        * Static initialization of the logger for this class
        */    
  -    private static final JetspeedLogger logger = JetspeedLogFactoryService.getLogger(TurbineUserManagement.class.getName());
  +    protected static final JetspeedLogger logger = JetspeedLogFactoryService.getLogger(TurbineUserManagement.class.getName());
       
  -    private final static String CONFIG_SECURE_PASSWORDS_KEY = "secure.passwords";
  -    private final static String CONFIG_SECURE_PASSWORDS_ALGORITHM = "secure.passwords.algorithm";
  -    private final static String CONFIG_SYSTEM_USERS = "system.users";
  -
  -    boolean securePasswords = false;
  -    String passwordsAlgorithm = "SHA";
  -    Vector systemUsers = null;
  +    protected final static String CONFIG_SECURE_PASSWORDS_KEY = "secure.passwords";
  +    protected final static String CONFIG_SECURE_PASSWORDS_ALGORITHM = "secure.passwords.algorithm";
  +    protected final static String CONFIG_SYSTEM_USERS = "system.users";
  +
  +    protected boolean securePasswords = false;
  +    protected String passwordsAlgorithm = "SHA";
  +    protected Vector systemUsers = null;
   
  -    private final static String CONFIG_NEWUSER_ROLES     = "newuser.roles";
  -    private final static String [] DEFAULT_CONFIG_NEWUSER_ROLES =
  +    protected final static String CONFIG_NEWUSER_ROLES     = "newuser.roles";
  +    protected final static String [] DEFAULT_CONFIG_NEWUSER_ROLES =
       { "user" };
   
  -    String roles[] = null;
  +    protected String roles[] = null;
   
       /** The JetspeedRunData Service. */
  -    private JetspeedRunDataService runDataService = null;
  +    protected JetspeedRunDataService runDataService = null;
   
       ///////////////////////////////////////////////////////////////////////////
       // User Management Interfaces
  
  
  
  1.13      +7 -7      jakarta-jetspeed/src/java/org/apache/jetspeed/services/security/turbine/TurbineGroupManagement.java
  
  Index: TurbineGroupManagement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/services/security/turbine/TurbineGroupManagement.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- TurbineGroupManagement.java	18 May 2004 19:58:25 -0000	1.12
  +++ TurbineGroupManagement.java	13 May 2005 20:48:30 -0000	1.13
  @@ -63,13 +63,13 @@
   public class TurbineGroupManagement extends TurbineBaseService
                                      implements GroupManagement
   {
  -    private JetspeedRunDataService runDataService = null;
  +    protected JetspeedRunDataService runDataService = null;
   
  -    private final static String CONFIG_DEFAULT_ROLE = "role.default";
  -    String defaultRole = "user";
  -    private final static String CASCADE_DELETE = "programmatic.cascade.delete";
  -    private final static boolean DEFAULT_CASCADE_DELETE = true;
  -    private boolean cascadeDelete;
  +    protected final static String CONFIG_DEFAULT_ROLE = "role.default";
  +    protected String defaultRole = "user";
  +    protected final static String CASCADE_DELETE = "programmatic.cascade.delete";
  +    protected final static boolean DEFAULT_CASCADE_DELETE = true;
  +    protected boolean cascadeDelete;
   
       ///////////////////////////////////////////////////////////////////////////
       // Group Management Interfaces
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message