aboutsummaryrefslogtreecommitdiff
path: root/radicale_web/web/infcloud/auth/doc
diff options
context:
space:
mode:
Diffstat (limited to 'radicale_web/web/infcloud/auth/doc')
-rw-r--r--radicale_web/web/infcloud/auth/doc/example_config_response.xml88
-rw-r--r--radicale_web/web/infcloud/auth/doc/readme.txt7
2 files changed, 95 insertions, 0 deletions
diff --git a/radicale_web/web/infcloud/auth/doc/example_config_response.xml b/radicale_web/web/infcloud/auth/doc/example_config_response.xml
new file mode 100644
index 0000000..9568049
--- /dev/null
+++ b/radicale_web/web/infcloud/auth/doc/example_config_response.xml
@@ -0,0 +1,88 @@
+<resources xmlns="urn:com.inf-it:configuration">
+ <resource>
+ <type>
+ <addressbook />
+ <calendar />
+ </type>
+ <href>http://www.server.com:8080/principals/users/user/</href>
+ <hreflabel></hreflabel>
+ <crossdomain>null</crossdomain>
+ <forcereadonly>null</forcereadonly>
+ <withcredentials>false</withcredentials>
+ <settingsaccount>true</settingsaccount>
+ <checkcontenttype>true</checkcontenttype>
+ <delegation>true</delegation>
+ <ignorealarms>false</ignorealarms>
+ <backgroundcalendars />
+ <userauth>
+ <username>user</username>
+ <password>password</password>
+ </userauth>
+ <timeout>90000</timeout>
+ <locktimeout>10000</locktimeout>
+ </resource>
+ <resource>
+ <type>
+ <addressbook />
+ <calendar />
+ </type>
+ <href>http://www.server2.com:80/caldav.php/user/</href>
+ <hreflabel></hreflabel>
+ <crossdomain>null</crossdomain>
+ <forcereadonly>true</forcereadonly>
+ <withcredentials>false</withcredentials>
+ <settingsaccount>false</settingsaccount>
+ <checkcontenttype>true</checkcontenttype>
+ <delegation>
+ <resource>/caldav.php/user/</resource>
+ <resource>/principals/users/user%40domain.com/</resource>
+ <resource>re:^/caldav.php/a[b-x].+/$</resource>
+ <resource>re|i:^/caldav.php/a[b-x].+/$</resource>
+ </delegation>
+ <ignorealarms>
+ <collection>/caldav.php/user/collection/</collection>
+ <collection>/caldav.php/user%40domain.com/collection/</collection>
+ <collection>re:^/caldav.php/user/collection[0-9]/$</collection>
+ <collection>re|i:^/caldav.php/user/collection[0-9]/$</collection>
+ </ignorealarms>
+ <backgroundcalendars>
+ <collection>/caldav.php/user/collection/</collection>
+ <collection>/caldav.php/user%40domain.com/collection/</collection>
+ <collection>re:^/caldav.php/user/collection[0-9]/$</collection>
+ <collection>re|i:^/caldav.php/user/collection[0-9]/$</collection>
+ </backgroundcalendars>
+ <userauth>
+ <username>user</username>
+ <password>password</password>
+ </userauth>
+ <timeout>90000</timeout>
+ <locktimeout>10000</locktimeout>
+ </resource>
+ <resource>
+ <type>
+ <addressbook />
+ <calendar />
+ </type>
+ <href>https://www.server3.com:8443/caldav.php/user/</href>
+ <hreflabel></hreflabel>
+ <crossdomain>null</crossdomain>
+ <forcereadonly>
+ <collection>/caldav.php/user/collection/</collection>
+ <collection>/caldav.php/user%40domain.com/collection/</collection>
+ <collection>re:^/caldav.php/user/collection[0-9]/$</collection>
+ <collection>re|i:^/caldav.php/user/collection[0-9]/$</collection>
+ </forcereadonly>
+ <withcredentials>false</withcredentials>
+ <settingsaccount>false</settingsaccount>
+ <checkcontenttype>true</checkcontenttype>
+ <delegation>false</delegation>
+ <ignorealarms>false</ignorealarms>
+ <backgroundcalendars />
+ <userauth>
+ <username>user</username>
+ <password>password</password>
+ </userauth>
+ <timeout>90000</timeout>
+ <locktimeout>10000</locktimeout>
+ </resource>
+</resources>
diff --git a/radicale_web/web/infcloud/auth/doc/readme.txt b/radicale_web/web/infcloud/auth/doc/readme.txt
new file mode 100644
index 0000000..860d29c
--- /dev/null
+++ b/radicale_web/web/infcloud/auth/doc/readme.txt
@@ -0,0 +1,7 @@
+1.) configure your auth method (see the plugins directory) and the response XML in auth/config.inc and set $config['auth_send_authenticate_header']=true
+2.) configure the selected auth module in plugins/PLUGIN_conf.inc
+3.) check the correct response by visiting http://your-server.com/client_dir/auth/ and entering username and password
+4.) set $config['auth_send_authenticate_header']=false in auth/config.inc
+
+By default the generic plugin is used for basic HTTP authentication ($config['auth_method']='generic'; in config.inc).
+
bgstack15