diff options
author | Unrud <unrud@openaliasbox.org> | 2017-06-04 17:16:11 +0200 |
---|---|---|
committer | Unrud <unrud@openaliasbox.org> | 2017-06-04 17:16:36 +0200 |
commit | 10eef51a0f086ad148928ba965c330599b4765cb (patch) | |
tree | d0283e55f1b4e66c49bf17461b5fee211b78768a /radicale_infcloud/web/auth/doc | |
parent | Update license (diff) | |
download | radicaleinfcloud-10eef51a0f086ad148928ba965c330599b4765cb.tar.gz radicaleinfcloud-10eef51a0f086ad148928ba965c330599b4765cb.tar.bz2 radicaleinfcloud-10eef51a0f086ad148928ba965c330599b4765cb.zip |
Update package for new web plugin interface
Diffstat (limited to 'radicale_infcloud/web/auth/doc')
-rw-r--r-- | radicale_infcloud/web/auth/doc/example_config_response.xml | 88 | ||||
-rw-r--r-- | radicale_infcloud/web/auth/doc/readme.txt | 7 |
2 files changed, 95 insertions, 0 deletions
diff --git a/radicale_infcloud/web/auth/doc/example_config_response.xml b/radicale_infcloud/web/auth/doc/example_config_response.xml new file mode 100644 index 0000000..9568049 --- /dev/null +++ b/radicale_infcloud/web/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_infcloud/web/auth/doc/readme.txt b/radicale_infcloud/web/auth/doc/readme.txt new file mode 100644 index 0000000..860d29c --- /dev/null +++ b/radicale_infcloud/web/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). + |