John,

Thanks for your reply.

The Torque I used to generate my om classes was bundled with the download file
tdk-2.1.zip.md5.
Basically, I use the ant build script provided by tdk to generated those om
classes. The om classes I've generated
don't have checkExist() API. But in the Turbine Security om classes like
UserPeer, RolePeer, PermissionPeer
all have checkExist(). And Turbine Security om classes don't have the Base*
classes. I am just wondering
what happened here?

I suspect if the turbine security classes are generated by torque, it probably
uses different Torque versions.
Could you please confirm which Torque version do you use?

Thanks,
Qingwen




Re: Why Turbine security om classes didn't use om classes generatedby Torque?

--------------------------------------------------------------------------------

From: John McNally
Subject: Re: Why Turbine security om classes didn't use om classes generatedby
Torque?
Date: Wed, 10 Apr 2002 19:14:11 -0700

--------------------------------------------------------------------------------

The security classes are generated by torque.

john mcnally

[EMAIL PROTECTED] wrote:
>
> I 've recently spent some time explored Turbine security service features.
Some
> concerns:
>
> *  Why Turbine security om classes(UserPeer, RolePeer, PermissionPeer etc)
> didn't use om classes generated by Torque?
>
> My user, role, permission database table schema is a bit different as Turbine
> security table schema. I planed to port the Turbine Security service on my
> security tables. I've used Torque to generate my security om classes. But I
> failed to reuse those security services provided by Turbine since they are
> tightly coupled with those om classes which don't have the same API as
generated
> by Torque. My next step is to build my security service from scratch so I
could
> use my Torque generated om classes. I found out if I want to plug in my
security
> model into Turbine, I have to change the source code of class
> TemplateSessionValidator. I am wondering whether are there any better ways to
do
> that? Or am I on the right track?
>
> * How do I configure my own security service to work together with Turbine?
>
> Regards,
> Qingwen
>
> NOTICE
> The information contained in this electronic mail message is privileged and
> confidential, and is intended only for use of the addressee.  If you are not
the
> intended recipient, you are hereby notified that any disclosure, reproduction,
> distribution or other use of this communication is strictly prohibited.  If
you
> have received this communication in error, please notify the sender by reply
> transmission and delete the message without copying or disclosing it.
>
> --
> 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]>


NOTICE
The information contained in this electronic mail message is privileged and
confidential, and is intended only for use of the addressee.  If you are not the
intended recipient, you are hereby notified that any disclosure, reproduction,
distribution or other use of this communication is strictly prohibited.  If you
have received this communication in error, please notify the sender by reply
transmission and delete the message without copying or disclosing it.



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

Reply via email to