You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Jordi Deu-Pons <jo...@jordeu.net> on 2011/12/01 10:49:35 UTC

How to use JAAS on a HttpService registered servlet.

Hi,

 I cannot fully understand how to use JAAS from a servlet that I'm
 registering in a HttpService.

 I've succeeded doing the authentication. For this I pass a
 custom HttpContext when I'm registering the servlet.

 But now I don't understand how can I get the different Roles of the
authenticated user.

 I would appreciate very much If you point me to some example or
you give me some tips.

 Thanks.


-- 
a10! i fins aviat.
J:-Deu