before setting the application security to LDAP, i used to do it like:
String username = getThreadLocalRequest().getRemoteUser();
and could get city of the username.
someone at work said that i've to save usernames (data) in a session in servlet. so that, each user will be able to see only his/her info.
the problem i'm facing now is, all logged in users have to use the info of the user logged in last.
oh good guys, please help..