Thanks for your answer.

I considered something like that, but every restricted rpc method
implementation has to call another method, with its own interface secured by
annotations, right?

2011/7/7 Juan Pablo Gardella <[email protected]>

> Hi Renato,
>
> I have a service layer, so in this method I use JSR250
> <http://en.wikipedia.org/wiki/JSR_250>annotations, Spring security can
> work with this API. In client side I don't protect the invocations. In
> server side, spring security throws an exception, if try to access to a
> protected method, and travel to the client. I wrap it in a class and show an
> alert to the user.
>
> Juan
>
> 2011/7/7 Renato Beserra <[email protected]>
>
>> Hi,
>>
>> I am integrating a GWT application with Spring Security and I got a great
>> example on a previous thread -
>> http://groups.google.com/group/google-web-toolkit/browse_thread/thread/c8032d9a472d975b/b9634461528cd31b?lnk=gst&q=renatobeserra#b9634461528cd31b.
>>
>>
>> But now I want to secure my rpc calls, but i have a problem: Spring
>> Security provides some annotations that i should use on the method
>> declaration. But in GWT RPC the interface should be defined on client side,
>> so the annotation is not valid.
>>
>> Is there a simpler solution other than making my rpc implementation to
>> call a secured method on the server-side?
>>
>> Thanks in advance.
>>
>>
>>
>> --
>> Renato Beserra Sousa
>>
>> --
>> 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.
>>
>
>  --
> 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.
>



-- 
Renato Beserra Sousa

-- 
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