You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Raghu Kanchustambham <kr...@gmail.com> on 2005/11/20 19:53:35 UTC

Accessing logincontext and other useful information in action classes?

Hi,
what is the best way to access authentication/authorization related
information in my action class?
 I configured the BASIC JAAS authentication with my tomcat. The
authentication goes fine.. but in case I want to know some information about
the roles... how can I get the "LoginContext" in my action class?
 Thanks.
Raghu