You can change the column and table names.  Take a look at
org.apache.turbine.util.db.map.TurbineMapBuilder.  That class defines
the table and column names used for the TURBINE_* tables.

I have updated the howto for extending TurbineUser for T2.2.  It is not
quite ready to be put on the jakarta site though as it is still being
reviewed.  However, you might want to take a look at it.  The URL (for
the preview version) is
http://blaze.qdog.org/preview/howto/extend-user-howto.html.

-----Original Message-----
From: Ivan Saltz [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 16, 2002 8:47 AM
To: Turbine Developers List
Subject: Extending(?) Turbine User


We have a legacy table with users and lots of legacy software that we
don't want to change.  We wanted to use the Turbine security scheme with
a minimum amount of effort.  Ergo, we wrote a custom mapbuilder and peer
class but apparently the base column names are hard-coded in the
TurbineUser class. Therefore, we can't _extend_ TurbineUser to make our
own xTurbineUser class.

So it looks as though our choices are: 1) Write an xTurbineUser from
scratch.  2) Fix TurbineUser so that it reads the TurbineMapBuilder for
the column names.  (The map builder class is already set in the TR props
file, so why not?)

First question:  Am I correct in assuming that one cannot easily change
the column names?

Second question: Would the project want a patch that makes the column
names dynamic?

Third question:  (If answer to 2 is yes,) Should I do this from
rel-2.2-b3?

Ivan


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to