Documentation for Crowd 2.4. Documentation for other versions of Crowd is available too.
If you are running applications behind one or more proxy servers then you may find it useful to configure Crowd to trust the proxies' addresses. When a proxy server forwards an HTTP request, Crowd will recognise the request as coming from the request's originator, not from the proxy server. This is particularly useful if you want single sign-on amongst several applications running behind different proxy servers.
Configuring a trusted proxy server means that Crowd will iterate through client IP address and IP addresses in the X-Forwarded-For
header from right to left and pick the first IP address that is not a trusted proxy. The address is then used as the client's IP address.
To configure Crowd to trust a proxy server,
192.168.10.12
(IPv4) or 2001:db8:85a3:0:0:8a2e:370:7334
(IPv6).192.168.*.*
.192.168.10.1/16
(IPv4) or 2001:db8:85a3::/64
(IPv6). For more information, see the introduction to CIDR notation on Wikipedia and RFC 4632.proxy.example.org
. All IP addresses bound to the given host name will be trusted.Screenshot: Trusted Proxy Servers