Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: systemUserIDCeiling

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

Re: systemUserIDCeiling

Author dlr
Full name Daniel Rall
Date 2000-04-21 09:54:27 PDT
Message Regarding systemUserIDCeiling in the message below: does Joist actually
reserve the block of userIDs below 100 for system use? I know that sXc
does, but I specifically set Joist's to -1 to because I thought that it
might not.

[ [Paging someone who is certain] ]

commitlogger at hocus dot collab dot net wrote:
>
> User: davidp
> Date: 00/04/21 03:13:25
>
> Modified: java/org/joist/database UserManager.java
> Log:
> Merged in from sXc.
>
> Revision Changes Path
> 1.9 +3 -7 joist/java/org/joist​/database/UserManage​r.java
>
> Index: UserManager.java
> ====================​====================​====================​=======
> RCS file: /cvs/joist/java/org/​joist/database/UserM​anager.java,v
> retrieving revision 1.8
> retrieving revision 1.9
> diff -u -r1.8 -r1.9
> --- UserManager.java 2000/04/21 09:15:02 1.8
> +++ UserManager.java 2000/04/21 10:13:25 1.9
> @@ -61,7 +61,7 @@
> * Manages users, including adding, retrieving, updating, and deleting.
> *
> * @author David C. Pellegrini <A HREF="mailto:davidp@​dataweb-systems.com"​>davidp@dataweb-s​ystems.com</A>​
> - * @version $Revision: 1.8 $
> + * @version $Revision: 1.9 $
> *
> * Copyright (c) 1999 dataweb systems, inc.
> * Copyright (c) 1999, 2000 Collab.Net, Inc.
> @@ -74,10 +74,8 @@
>
> /**
> * The max in the range of user database keys reserved for system use.
> - * Default this to -1 for starters, and override this in a subclass using
> - * a static initializer block if you'd like to make use of it.
> */
> - protected static int systemUserIDCeiling = -1;
> + protected static int systemUserIDCeiling = 99;
>
> /**
> * Create an instance with a data manager.
> @@ -330,9 +328,7 @@
> try
> {
> StringBuffer encPass = new StringBuffer("select PASSWORD(");
> - encPass.append(Quote​dString.from(newPass​word));
> - encPass.append(")");
> - //REM: encPass.append(") from Dual");
> + encPass.append(Quote​dString.from(newPass​word)).append(')');
> ResultSet rset = stmt.executeQuery(en​cPass.toString());
>
> if (rset.next())
>
>
>

--

Daniel Rall (dlr at finemaltcoding dot com)

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

Re: systemUserIDCeiling dlr Daniel Rall 2000-04-21 09:54:27 PDT
Messages per page: