Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

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; see also http://www.sos-berlin.com/doc/en/scheduler.doc/xml/http.authentication.xml

Code Block
languagehtml/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