Now as per Apache documentation I am expecting values in environment variables :
but all I get is NULL. I am only getting the authenticated email id in request.getRemoteUser(). I also tried System.getProperties(), but nothing there also. Please let me know how I can get the other informations.
I presume that "IHS" means "IBM Http Server". It would be an IBM-specific replacement for the Apache HTTP server that they originally included to front WebSphere. The HTTP server(IHS/Apache) and the J(2)EE server (WebSphere) are 2 separate applications, so the only information that they can share is information in the data stream itself.
Apache's mod_ldap is not a general-purpose LDAP search function, it's a filter that demands a simple yes/no response in terms of whether a user's login credentials match the LDAP database.
If you want general information from LDAP about a user, then the web application needs to do an actual LDAP search of its own. You can do this in Java by using the userid returned by getRemoteUser() as the key to the LDAP search. When container authentication is in effect, this method is guaranteed to return the trustworthy user ID of the current request user. And if the user has not yet authenticated, it will return null.
When it comes to destroying a civilization, gas chambers cannot hold a candle to echo chambers.