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

With Starting from JobScheduler release 1.7. JID will have has a login option.

If you are updating from an older version, release then the following changes will be made to your configuration:

  • JID will be connected connect to a JobScheduler instance identified by an scheduler ida JobScheduler ID. The scheduler id JobScheduler ID will be part of the call parameters in the start script dashboard.sh|cmd.
  • In the file $scheduler$SCHEDULER_dataDATA/config/scheduler.xml of the JobSchedulerInstance with which JID will be connectedJobScheduler Instance that JID is connected to, two new parameters are included.:
Code Block

    <param name="security_server_address" value="http://localhost:nnnnn"/>
    <param name="security_server_enabled" value="true"/>
               
    • security_server_address is the host:port address of the security server.
  • Normally it
    • Usually this is the JobScheduler connectet to JID.
    • With security_server_enabled you can disable the login and JID will start without login. The permissions will be set by the call parameters -enable_joe -enable_events -enable_joc
  • In the database table schedulerSCHEDULER_instances a INSTANCES a new field named jetty_port number (9) is added. It must has to contain the jetty_Jetty port of the security server.
  • In the The classpath configured in the file factory.ini will be enhanced by added the config configuration directory of the security server
  • In the config configuration directory of the security server a file shiro.ini will be savedstored. Also Additionally an example file for authentification with LDAP or with a database will be present. The file shiro.ini defines a user root/root that who will have all permissions.
  • In the file scheduler.xml of the security server a plugin will be added:
Code Block

      <plugin java_class="com.sos.jobscheduler.tools.webservices.SOSCommandSecurityPlugin">
         <plugin.config/>
      </plugin>
     

and in to the filewebfile web.xml the following modifications apply:

Code Block

      <servlet>
    <servlet-name>Jersey REST Service</servlet-name>
    <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
    <init-param>
      <param-name>com.sun.jersey.config.property.packages</param-name>
      <param-value>com.sos.auth.rest</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>Jersey REST Service</servlet-name>
    <url-pattern>/rest/*</url-pattern>
  </servlet-mapping>