Hi Cris
Thank you.
I am not using Tomcat, i am using websphere, wsad, and cayenne. i have different tables in my requirement, but for some idea i need something is done in cayenne .
My tables structure are given below:
1. User_table
user_key number primary key,
user_id varchar,
F&Lname varchar,
psswd varchar,
lastLogin date,
ActiveFlag char(1)
sec_master_key number referening to security_master_table(sec_master_key ) or foreign key
2.sec_master_Table Table:
sec_master_key number primarykey,
description varchar,
err_role_key number foreign key refering to table err_role_table,
cw_role key number foreign key refering to table cw_role_table,
last_chng_date date.
3.err_role_table
err_role_key number primary key,
err_role_id varchar,
err_role_description,
last_chng_date date
4. cw_role_table
cwr_role_key number primary key,
cw_role_id varchar,
errcw
last_chng_date date.
with these table i have to wrok on user role, any idea is appreciated
Thanks
sami
CONFIDENTIALITY NOTICE. This e-mail and attachments, if any, may contain confidential information which is privileged and protected from disclosure by Federal and State
confidentiality laws rules and regulations. This e-mail and attachments, if any, are intended for the designated addressee only. If you are not the designated addressee, you
are hereby notified that any disclosure, copying, or distribution of this e-mail and its attachments, if any, may be unlawful and may subject you to legal consequences. If you
have received this e-mail and attachments in error, please contact Independent Health immediately at (716) 631-3001 and delete the e-mail and its attachments from your
computer. Thank you for your attention
>>> cris.danilu..laraview.com 03/16/05 01:23PM >>>
Your app server will do this for you - its part of the J2EE container spec.
For example:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html
This is really not a Cayenne question... Consult that page and the tomcat
(or whatever app server you're using) mailing list for more info on this
topic.
If you have more complex needs, you can roll your own, which I usually do,
but it sounds like you're looking for something that's already done for you.
Cris
> -----Original Message-----
> From: Sami Mohammed [mailto:SMOHAMME..ndependenthealth.com]
> Sent: Wednesday, March 16, 2005 1:18 PM
> To: cayenne-use..bjectstyle.org
> Subject: Re: User Role
>
> Hi Joshua,
>
> I am not asking to write u, if u have any kind of code or any
> thing which i get an idea.
>
> Thanks
> sami
>
> CONFIDENTIALITY NOTICE. This e-mail and attachments, if any,
> may contain confidential information which is privileged and
> protected from disclosure by Federal and State
> confidentiality laws rules and regulations. This e-mail and
> attachments, if any, are intended for the designated
> addressee only. If you are not the designated addressee, you
> are hereby notified that any disclosure, copying, or
> distribution of this e-mail and its attachments, if any, may
> be unlawful and may subject you to legal consequences. If you
> have received this e-mail and attachments in error, please
> contact Independent Health immediately at (716) 631-3001 and
> delete the e-mail and its attachments from your
> computer. Thank you for your attention
>
> >>> joshua.t.pyl..mail.com 03/16/05 01:07PM >>>
> Sami this in kinda an unreasonable request. If you are having a
> problem, send the details about the problem, but don't ask us to write
> it for you.
>
> Joshua T. Pyle
>
>
> On Wed, 16 Mar 2005 12:56:43 -0500, Sami Mohammed
> <SMOHAMME..ndependenthealth.com> wrote:
> >
> > Hi
> >
> > Do any one have code for user and role application.
> > Pls send me
> >
> > Thanks
> > sami
> >
> > CONFIDENTIALITY NOTICE. This e-mail and attachments, if
> any, may contain confidential information which is privileged
> and protected from disclosure by Federal and State
> > confidentiality laws rules and regulations. This e-mail
> and attachments, if any, are intended for the designated
> addressee only. If you are not the designated addressee, you
> > are hereby notified that any disclosure, copying, or
> distribution of this e-mail and its attachments, if any, may
> be unlawful and may subject you to legal consequences. If you
> > have received this e-mail and attachments in error, please
> contact Independent Health immediately at (716) 631-3001 and
> delete the e-mail and its attachments from your
> > computer. Thank you for your attention
> >
> >
>
>
> --
> Joshua T. Pyle
> Go has always existed.
>
>
>
This archive was generated by hypermail 2.0.0 : Wed Mar 16 2005 - 13:50:51 EST