summaryrefslogtreecommitdiff
path: root/_posts/2012-05-08-toxbank-investigation-configuration.md
blob: 0aed3682846f946528f8abb4c9a008af9cf8ca57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
layout: post
title: "OpenTox/ToxBank Webservices Configuration"
description: "Example Configuration for OpenTox/ToxBank webservices"
category: Installation
tags: [Configuration, Setup]
---
{% include JB/setup %}

# Example Configuration for OpenTox/ToxBank webservices
Configuration file is usually at **/home/toxbank/.opentox/config/webservicename.rb**

    $task = {
      :uri => 'http://webservices.myserver.org/task'
    }
    $four_store = {
      :uri => 'https://my4storeserver.org',
      :user => 'myuser',
      :password => 'mysecretpassword',
    }
    $aa = {
      :uri => 'https://opensso.in-silico.ch',
      :free_request => [:HEAD],
      :authenticate_request => [],
      :authorize_request => [:GET, :POST, :DELETE, :PUT],
      :authorize_exceptions => {[:GET, :POST, :HEAD] => ['https://my-toxbank-investigation.org', $task[:uri]]}
    }