@eaudet
For sure, but to do this you'll need a JAASRealm (or something like that)
and to secure the hosted page or the whole site.
If you want to perform authentication and security  at a service level
(GWT-RPC) spring integration will ease the process at least at my POV ;)



On Thu, Apr 8, 2010 at 8:05 PM, eaudet <eau...@jarics.com> wrote:

> 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 <olivier.nougu...@gmail.com> 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 <thuza...@gmail.com> 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
> google-web-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com><google-web-toolkit%2Bunsubs
> cr...@googlegroups.com>
> > > .
> > > 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 google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> 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 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to