You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Marc Lustig <ma...@marclustig.com> on 2002/10/30 10:31:28 UTC
how to implement SecurityService proposal
Scott wrote:
> There is some documentation in the proposal and further
> documentation in the
> turbine-dev mail archive.
After building with maven I can't find any docs specific to the proposal.
Scott, did you refer to the SecurityService-HowTo-page that is part of the
general Fulcrum-docs?
Problem is, that the class-names that are supposed to be replaced in
TR.props do not exist in the proposal-src-tree:
org.apache.fulcrum.security.impl.db.entity.TurbineUserPeer
org.apache.fulcrum.security.impl.db.entity.TurbineUser
are both not existing.
Are they supposed to be copied from the standard-fulcrum-source-tree?
What else is needed to get the proposal-module running?
And also:
"The Snake's Tail: Problems Trying Henning's DB_Security Proposal"
http://marc.theaimsgroup.com/?l=turbine-user&m=103368734906088&w=2
http://marc.theaimsgroup.com/?l=turbine-user&m=103369860913491&w=2
Has anybody solved the trouble that was reported here?
TIA.
Marc
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: AW: how to implement SecurityService proposal
Posted by Scott Eade <se...@backstagetech.com.au>.
Marc,
If it helps, the OBJECTDATA column is used in the standard security service
to store any additional data that is placed in User.Perm. The
extend-user-howto and Henning's DBSecurityService (fulcrum proposal) are all
about adding actual columns for the additional data.
HTH,
Scott
--
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au
> From: "Marc Lustig" <ma...@marclustig.com>
> Reply-To: "Turbine Users List" <tu...@jakarta.apache.org>
> Date: Wed, 30 Oct 2002 14:10:33 +0100
> To: "Turbine Users List" <tu...@jakarta.apache.org>
> Subject: AW: how to implement SecurityService proposal
>
> Hi,
>
> I need a bit more advise how to add columns to TURBINE_USER (or other
> Security tables) using the SecurityService proposal.
> I am confused by the following:
> F:\cvs\jakarta-turbine-fulcrum\turbine-schema.xml says
> ...
> <column name="OBJECTDATA" type="VARBINARY"/>
> @EXTRA_USER_COLUMNS@
> ...
>
> meaning that extra columns should be placed at that place.
> But contridictary, db-security-service.html-howto suggests to create a new
> table like this:
>
> <table name="CUSTOM_USER" idMethod="idbroker">
> <column name="USER_ID" required="true" primaryKey="true"
> type="INTEGER"/>
> <column name="LOGIN_NAME" required="true" size="64" type="VARCHAR"
> javaName="UserName"/>
> <column name="PASSWORD_VALUE" required="true" size="16" type="VARCHAR"
> javaName="Password"/>
> <column name="FIRST_NAME" required="true" size="64" type="VARCHAR"/>
> <column name="LAST_NAME" required="true" size="64" type="VARCHAR"/>
> <column name="EMAIL" size="64" type="VARCHAR"/>
> <column name="CONFIRM_VALUE" size="16" type="VARCHAR"
> javaName="Confirmed"/>
> <column name="MODIFIED" type="TIMESTAMP"/>
> <column name="CREATED" type="TIMESTAMP" javaName="CreateDate"/>
> <column name="LAST_LOGIN" type="TIMESTAMP"/>
> <column name="OBJECTDATA" type="VARBINARY"/>
>
> <column name="TELEPHONE" size="32" type="VARCHAR" javaName="Phone" />
> <column name="FAX" size="32" type="VARCHAR"/>
>
> <unique>
> <unique-column name="LOGIN_NAME"/>
> </unique>
> </table>
>
> Which one is the correct way to add extra fields?
> Keeping the standard table and just adding/removing fields?
> Or adding a new table (to turbine-schema or project-schema ??) with a
> different name? In this case, what to do with the standard-schema
> "TURBINE_USER" ? Deleting?
>
> Thanks.
> Marc
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
AW: how to implement SecurityService proposal
Posted by Marc Lustig <ma...@marclustig.com>.
Hi,
I need a bit more advise how to add columns to TURBINE_USER (or other
Security tables) using the SecurityService proposal.
I am confused by the following:
F:\cvs\jakarta-turbine-fulcrum\turbine-schema.xml says
...
<column name="OBJECTDATA" type="VARBINARY"/>
@EXTRA_USER_COLUMNS@
...
meaning that extra columns should be placed at that place.
But contridictary, db-security-service.html-howto suggests to create a new
table like this:
<table name="CUSTOM_USER" idMethod="idbroker">
<column name="USER_ID" required="true" primaryKey="true"
type="INTEGER"/>
<column name="LOGIN_NAME" required="true" size="64" type="VARCHAR"
javaName="UserName"/>
<column name="PASSWORD_VALUE" required="true" size="16" type="VARCHAR"
javaName="Password"/>
<column name="FIRST_NAME" required="true" size="64" type="VARCHAR"/>
<column name="LAST_NAME" required="true" size="64" type="VARCHAR"/>
<column name="EMAIL" size="64" type="VARCHAR"/>
<column name="CONFIRM_VALUE" size="16" type="VARCHAR"
javaName="Confirmed"/>
<column name="MODIFIED" type="TIMESTAMP"/>
<column name="CREATED" type="TIMESTAMP" javaName="CreateDate"/>
<column name="LAST_LOGIN" type="TIMESTAMP"/>
<column name="OBJECTDATA" type="VARBINARY"/>
<column name="TELEPHONE" size="32" type="VARCHAR" javaName="Phone" />
<column name="FAX" size="32" type="VARCHAR"/>
<unique>
<unique-column name="LOGIN_NAME"/>
</unique>
</table>
Which one is the correct way to add extra fields?
Keeping the standard table and just adding/removing fields?
Or adding a new table (to turbine-schema or project-schema ??) with a
different name? In this case, what to do with the standard-schema
"TURBINE_USER" ? Deleting?
Thanks.
Marc
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>