cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to obtain Windows username from java container

iranor1
Newcomer

We want to capture the Windows username on every transaction made on our intranet. The authentification is managed by the container (web.xml) and I don't know where I can put sensors to extract that information.

What would be the best way to achieve this?

1 REPLY 1

rick_boyd
Mentor

In this case it's likely in the Session. You can *temporarily* create a rule in your System Profile -> <Agent Group> -> Sensor Configuration -> Servlets by adding a "Session Attribute" type parameter with "*" as the value. This may cause needless overhead, though, so once you've verified which attribute you are looking for you will want to be specific.

Once you turn this on, you can verify what info is being captured by looking at new PurePaths, right-clicking the first node in the PurePath Tree and getting Details.

Hope that helps,

Rick B