Why use Spring? You can use JAAS standard calls directly in the
RemoteServiceServlet. So when you application server is configured
correctly, you only need to call this line of code :
GWT.getThreadLocalRequest.isUserInRole("{role defined in your
web.xml}");
This is the standard way of knowing the role of your JAAS logged in
user.On 8 avr, 10:22, olivier nouguier <[email protected]> wrote: > Hi, > AFAIK JAAS doesn't expose anything through http so you'll need some > container configuration. > You should take a look at spring security, it exposes security service (even > jaashttp://static.springsource.org/spring-security/site/docs/3.0.x/refere... > ). > Then you should easy found some technics to marshall/unmarshall security > "payload" to/from GWT-RPC > HIH > > > > > > On Thu, Apr 8, 2010 at 11:21 AM, luigi <[email protected]> wrote: > > Hi , I have been surfing through the net about JAAS and GWT. > > All I see is the question. no body cannot give the right answer. > > If somebody know about this JAAS and GWT for Authentication and > > Authorization staff, > > I will be glad to hear your solution and sample code. > > I desperately need all of your help. > > Thank you for any reply. > > > -- > > 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]<google-web-toolkit%2Bunsubs > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. > > -- > "Computers are useless. They can only give you answers." > - Pablo Picasso - -- 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.
