How can I get WindowsPrincipal from request?

Mar 22, 2012 at 10:28 AM

I've configure Servlet Negotiate Security Filter and I need to retrieve user name.


Mar 22, 2012 at 1:23 PM

Depends where. In a JSP page, for example:

<%= request.getUserPrincipal().getName() %>

Mar 22, 2012 at 3:14 PM

The filter is slowing my application. Could I get the name of the user without the filter? With waffle jars?

Mar 22, 2012 at 3:25 PM


By how much is the filter slowing your application? Once a session has been established the overhead should be close to zero.