Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Suggestions for approaches to security and queries?

On Thu, Jun 30, 2011 at 10:38 AM, Guy Pelletier <guy.pelletier@xxxxxxxxxx> wrote:
Have a look at @AdditionalCriteria or our @Multitenant solution.
http://wiki.eclipse.org/EclipseLink/Development/AdditionalCriteria

Excellent!  That's a good starting point.

Is there a way to apply this dynamically?  For example, if a user is in a particular role, different additional criteria might need to be specified.

Also, what does the "this" refer to?  The query itself, or the entity in question (I'm assuming the latter)?

Best,
Laird


Back to the top