Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
  <nowiki>http://localhost:44440/jobscheduler/engine-cpp/</nowiki>&lt;show_state/&gt;

Jetty configuration

...

examples

user authentication with a properties file

Beside the Simple user authentication provided by the jetty plugin you can use a more complex authentification method described by the jetty configuration. The sample example below show you shows the use of the HashLoginService, a mechanism whose authentication and authorization information is stored in a properties file.

...

It is important to store the given handlers in the local variable oldhandler to set them as the handler for the IPAccessHandler (see Jetty handler concept for more details).
You can define a whitelist (as in the sample example above) or a blacklist. The IPAccessHandler does not allow to use alias names to point to specific IPs.