Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Karthik,

On 4/1/13 8:28 AM, N.s.Karthik wrote:
Reason : I have created a Customized valve as a separate jar  used
for AAA interception of my APPS , Since I cannot configure each and
every application hosted on the Tomcat with filters  and hence
created a Valve to apply this at Tomcat level

I use the IWA (Integrated Window Authentication)  of IE / FFOx for
Active directory AAA Authentication.

On-sucessfull AAA, in the valve I need the variables such as username/domain name .... to be further used with in each
application

Hence I need to know if any possibilities to fetch the variables
into each of the applications from the valves ...???

Your valve can put anything you like into:

1. The request
2. The user's session
3. The application (context) scope

I recommend #1 or #2, depending upon your needs.

Is my understanding deficient, or is #3 not true ? The Valve doesn't know which application has (or will be) been selected, or does it ?

In the context of a Valve doing AAA - and the fact that the OP wants to get the authenticated user-id at the app level, I think Michael-O's answer is better, no ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to