Configure Find to Use a Single Pre-Authenticated User

You can configure Find to always log in with a single pre-authenticated user. This option bypasses authentication so that any user that accesses Find is logged in automatically with that user name and any associated permissions.

To use this option, you must set the server.reverseProxy system property to true, even if you do not want to use a reverse proxy. The reverse proxy is not required, because the normal Find HTTP(S) ports still work.

To configure Find to use a single pre-authenticated user

  • Set the following Java system properties:

    • server.reverseProxy to true
    • find.reverse-proxy.pre-authenticated-username to the user name to use for all users.
    • find.reverse-proxy.pre-authenticated-roles to the roles to use for all users.

    For example:

    java -Dserver.reverseProxy=true -Dfind.reverse-proxy.pre-authenticated-roles=FindUser,FindBI -Dfind.reverse-proxy.pre-authenticated-username=anon -Didol.find.home=[home directory] -Dserver.port=[port] -jar find.war

For more information about using Java system properties, see Using Java System Properties.