Using AJP with FishEye

Redirection notice

This page will redirect to /pages/viewpage.action?pageId=830284354 .

When using AJP authentication, only the authentication is delegated to the proxying web server.

The configured user directories are still used to hold the user, groups and memberships lists. In most configurations you should use an internal directory together with AJP authentication.

If possible you should use a supported external directory, rather than AJP authentication.

You can use the AJP protocol to proxy inbound requests from a web server through to an application server that sits behind the web server. 

AJP expects requests to be pre-authenticated via an external server before arriving at FishEye. Typically, this would be a web server (e.g. Apache) configured to perform password and role checking for a given URL. If successful, the server forwards the request to the FishEye server using the AJP protocol.

FishEye configuration

For FishEye to use AJP authentication, the following two values must be configured. See also Server Settings:

  • The AJP Bind Address must be set per FishEye instance. 
  • The user's Auth Type must be set to 'ajp'.

Apache configuration


To configure Apache HTTP Server to forward all requests for /fisheye to a Fisheye instance with an AJP Bind address of localhost:8009, on the same machine, ensure that the Apache proxy_ajp_module module is enabled, and add these lines to the VirtualHost you wish to serve FishEye through:

ProxyPass /fisheye/ ajp://localhost:8009/fisheye/ nocanon


To configure Apache HTTP Server so that all requests to Apache for the path /fisheye are forwarded to a FishEye instance on the same machine with an AJP bind address of localhost:8009, add these lines to your Apache configuration:

LoadModule jk_module modules/

JkWorkersFile /path/to/
JkLogFile /var/log/mod_jk.log
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkMount /fisheye/* worker1

JkOptions +ForwardURICompatUnparsed

Then, create a file under /path/to/ and add:


Was this helpful?

Thanks for your feedback!

Why was this unhelpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport