In this case, the find() method in the entity's Locator class is responsible
to apply security. Why is this not possible?

/dmc

On Fri, Feb 18, 2011 at 12:10 PM, dagerber <[email protected]> wrote:

> I was not clear about the role-based security.
> Lets make a simple example: Entity e contains Names of persons along with
> the company they work for:
>
> e.name
> e.company
>
> I have two services, one that is allowed only to read entries of persons
> that work for companyA, the other is allowed only to read persons that work
> for companyB.
> I can easly protect those services with roles.
>
> You always want to protect your services,* the EntityLocator in GWT
> bypasses this concept*.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to