A Secret Agent Property and a Secret Agent Man
By docteger on May 19, 2008
Notwithstanding the break neck speed at which the blog on new policy agent properties was posted, I found another new property specific to the J2EE agent.
com.sun.identity.agents.config.client.ip.headerThis property is used when the agent is installed behind a proxy or load balancer. Often time the client IP address returned by
request.getRemoteAddr()is that of the proxy or load balancer - not the real client IP. The proxy or load balancer may set the real client IP in an X-Forward-IP header so, setting the property
X-Forward-IPwill make the agent retrieve the real client IP address from this header to use in the policy evaluation. And from a secret agent property to a Secret Agent - here's the smash hit theme from the television series Secret Agent called Secret Agent Man as interpreted by Johnny Rivers. Who knew he played the guitar? UPDATED 5/21/08