You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by da...@apache.org on 2001/08/15 07:19:12 UTC

cvs commit: jakarta-james/proposals/userstore README

darrell     01/08/14 22:19:12

  Modified:    proposals/userstore README
  Log:
  Added more stuff to README
  
  Revision  Changes    Path
  1.2       +24 -3     jakarta-james/proposals/userstore/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/jakarta-james/proposals/userstore/README,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README	2001/08/15 04:41:30	1.1
  +++ README	2001/08/15 05:19:12	1.2
  @@ -1,6 +1,5 @@
   PROPOSAL: - Modifications to UserStore.
               
  -
   GOALS: 
   - use Avalon and Cornerstone DataSource components for connection 
           serving and pooling (done)
  @@ -32,11 +31,33 @@
   The "javadocs" target builds javadoc from the build/src directory, so it includes
   docs for the proposal.
   
  +USE INSTRUCTIONS:
  +The main configuration is setting up the "database-connections" section of the 
  +config file. There's an example there using MySql - I haven't yet tested on 
  +other databases (although the SQL statements haven't changed much, so I 
  +imagine it will still work on other platforms).
  +
  +The only config properties you should need to set are:
  +            <driver>-- Class name of database driver to use --</driver>
  +            <dburl>-- the jdbc connection string for your database</dburl>
  +            <user>-- database user --</user>
  +            <password>-- database password --</password>
  +            
  +TEST INSTRUCTIONS:
  +- Telnet to the remote manager: "telnet localhost 4555".
  +- Do some user management - type "help" for options.
  +- type "use list-james", to switch to the repository for this list.
  +- list the users
  +- send an email to "james-on@localhost"
  +- list the users again
  +(note: some user management commands fail for repositories other than
  +"LocalUsers").
  +
   NOTES:
   I've added an "AbstractJdbcUsersRepository", which takes care of most of the work
   of a JdbcUsersRepository, making it pretty easy to add new ones. The abstract
  -implementation doesn't have knowledge of User subclasses, this is restricted to
  -overridden methods in concrete implementations.
  +implementation doesn't have knowledge of User implementations, this is restricted to
  +overridden methods in concrete UsersRepository implementations.
    
   The AbstractJdbcUsersRepository obtains SQL statements via an "SqlResources" object,
   which reads an sql definition file, finds the appropriate <sqlDefs> element, and
  
  
  

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