EJBs & CMP with real database users
From: Matt Hughes (mhughes_at_artemisgroup.com)
Date: 08/24/04
- Next message: Matt Hughes: "EJBs & CMP with real database users"
- Previous message: John C. Bollinger: "Re: Criteria objects"
- Next in thread: Fredrik Bertilsson: "Re: EJBs & CMP with real database users"
- Reply: Fredrik Bertilsson: "Re: EJBs & CMP with real database users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Aug 2004 09:16:08 -0700
I am in the beggining stages of designing a J2EE application. The
current application that I am porting to J2EE maintains real users in
the database, not just a user table. That is, every connection to the
database must be made with the individual username/password for each
user. All the examples and literature I have read regarding CMP
entity beans only has one user for all beans. Is it possible to let
users log in to the application using their creditials (which would in
turn connect to the database) and only let them view data they are
allowed to see?
My major problem is that there are a lot of views in my DB schema that
are based on user_id. I have little control over the schema and do
not feel like reimplementing 20 or so views in my code. Has anyone
run into this problem or know of a solution?
- Next message: Matt Hughes: "EJBs & CMP with real database users"
- Previous message: John C. Bollinger: "Re: Criteria objects"
- Next in thread: Fredrik Bertilsson: "Re: EJBs & CMP with real database users"
- Reply: Fredrik Bertilsson: "Re: EJBs & CMP with real database users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|