You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

You have three options to get a HTTP authentication for JOC:

Configure ./config/scheduler.xml

You can use JOE to configure user name and password for the authentication by the following steps:

  • Open the ./config/scheduler.xml in JOE via Ctrl+O
  • Goto HTTPServer->HTTP Authtication
  • Enter User Name and Password
  • Click to the Encrypt button
  • Click to the Apply button
  • Save the configuration via Ctrl+S

Then the http.user element is inserted into the ./config/scheduler.xml.

...
   <http_server>
     <http_directory path="$\{SCHEDULER_DATA\}/" url_path="/scheduler_data/"/>
     <http_directory path="$\{SCHEDULER_HOME\}/" url_path="/scheduler_home/"/>
            
     <http.authentication>
       <http.users>
         <http.user name="admin" password_md5="21232F297A57A5A743894A0E4A801FC3"/>
       </http.users>
     </http.authentication>
   </http_server>
...

Configure an Apache and use it as a proxy

Look at "Running the JOC behind an Apache Proxy" for more details

Configure the Jetty plugin

Look at "How to run JobScheduler with Jetty" for more details

  • No labels