Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: JOCC InfoBox updated
Info
titleThis article only applies to the Classic JOC user interface

The Classic JOC user interface is entering retirement:

Display feature availability
EndingWithRelease1.11

The JOC Cockpit user interface replaces the Classic JOC interface:

Display feature availability
StartingFromRelease1.11

See the JOC Cockpit - Authentication and Authorization Article for more information.

 

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

Scope

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

  • Configure ./config/scheduler.xml
  • Configure an Apache and use it as a proxy
  • Configure the Jetty plugin

Configure ./config/scheduler.xml

Image Added

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

  • Open the ./config/scheduler.xml

...

  • file in JOE via Ctrl+O
  • Goto HTTPServer->HTTP Authentication
  • Enter User Name and Password
  • Click the Encrypt button
  • Click the Apply button
  • Save the configuration via Ctrl+S

Then Add the http.authenticationuser element into is inserted to the ./config/scheduler.xml file; 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>

Image Removed

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

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

...

Configure Apache for use as a Proxy

see How to operate JOC with an Apache Proxy

Configure the Jetty Plugin

See How to operate JobScheduler with Jetty

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