Table of Contents |
---|
| outlinh1. true |
---|
| outlinh1. true |
---|
1 | printablefalse |
---|
2 | stylh1. none |
---|
3 | indent20px |
---|
|
Starting from JobScheduler release 1.7. JID has a login option.
If you are updating from an older release then the following changes will be made to your configuration:
- JID will connect to a JobScheduler instance identified by a JobScheduler ID. The JobScheduler ID will be part of the call parameters in the start script dashboard.sh|cmd.
- In the file $SCHEDULER_DATA/config/scheduler.xml of the JobScheduler 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. 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 SCHEDULER_INSTANCES a new field named jetty_port number (9) is added. It has to contain the Jetty port of the security server.
- The classpath configured in the file factory.ini will be added the configuration directory of the security server
- In the configuration directory of the security server a file shiro.ini will be stored. Additionally an example file for authentification with LDAP or with a database will be present. The file shiro.ini defines a user root/root 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 to the file 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>
|