##// END OF EJS Templates
docs: add notes about IIS, Windows Authentication and Mercurial...
Konstantin Veretennicov -
r5751:2d89d49c stable
parent child Browse files
Show More
@@ -9,6 +9,17 b' preventing you from applying this on IIS'
9
9
10 .. note::
10 .. note::
11
11
12 Installing Kallithea under IIS can enable Single Sign-On to the Kallithea
13 web interface from web browsers that can authenticate to the web server.
14 (As an alternative to IIS, SSO is also possible with for example Apache and
15 mod_sspi.)
16
17 Mercurial and Git do however by default not support SSO on the client side
18 and will still require some other kind of authentication.
19 (An extension like hgssoauthentication_ might solve that.)
20
21 .. note::
22
12 For the best security, it is strongly recommended to only host the site over
23 For the best security, it is strongly recommended to only host the site over
13 a secure connection, e.g. using TLS.
24 a secure connection, e.g. using TLS.
14
25
@@ -48,7 +59,7 b' ISAPI handler'
48
59
49 The ISAPI handler can be generated using::
60 The ISAPI handler can be generated using::
50
61
51 paster install-iis my.ini --root=/
62 paster install-iis my.ini --virtualdir=/
52
63
53 This will generate a ``dispatch.py`` file in the current directory that contains
64 This will generate a ``dispatch.py`` file in the current directory that contains
54 the necessary components to finalize an installation into IIS. Once this file
65 the necessary components to finalize an installation into IIS. Once this file
@@ -59,10 +70,10 b' that ISAPI-WSGI is made::'
59
70
60 This accomplishes two things: generating an ISAPI compliant DLL file,
71 This accomplishes two things: generating an ISAPI compliant DLL file,
61 ``_dispatch.dll``, and installing a script map handler into IIS for the
72 ``_dispatch.dll``, and installing a script map handler into IIS for the
62 ``--root`` specified above pointing to ``_dispatch.dll``.
73 ``--virtualdir`` specified above pointing to ``_dispatch.dll``.
63
74
64 The ISAPI handler is registered to all file extensions, so it will automatically
75 The ISAPI handler is registered to all file extensions, so it will automatically
65 be the one handling all requests to the specified root. When the website starts
76 be the one handling all requests to the specified virtual directory. When the website starts
66 the ISAPI handler, it will start a thread pool managed wrapper around the paster
77 the ISAPI handler, it will start a thread pool managed wrapper around the paster
67 middleware WSGI handler that Kallithea runs within and each HTTP request to the
78 middleware WSGI handler that Kallithea runs within and each HTTP request to the
68 site will be processed through this logic henceforth.
79 site will be processed through this logic henceforth.
@@ -73,6 +84,11 b' Authentication with Kallithea using IIS '
73 The recommended way to handle authentication with Kallithea using IIS is to let
84 The recommended way to handle authentication with Kallithea using IIS is to let
74 IIS handle all the authentication and just pass it to Kallithea.
85 IIS handle all the authentication and just pass it to Kallithea.
75
86
87 .. note::
88
89 As an alternative without SSO, you can also use LDAP authentication with
90 Active Directory, see :ref:`ldap-setup`.
91
76 To move responsibility into IIS from Kallithea, we need to configure Kallithea
92 To move responsibility into IIS from Kallithea, we need to configure Kallithea
77 to let external systems handle authentication and then let Kallithea create the
93 to let external systems handle authentication and then let Kallithea create the
78 user automatically. To do this, access the administration's authentication page
94 user automatically. To do this, access the administration's authentication page
@@ -108,3 +124,6 b' type the following in a console window::'
108 and any exceptions occurring in the WSGI layer and below (i.e. in the Kallithea
124 and any exceptions occurring in the WSGI layer and below (i.e. in the Kallithea
109 application itself) that are uncaught, will be printed here complete with stack
125 application itself) that are uncaught, will be printed here complete with stack
110 traces, making it a lot easier to identify issues.
126 traces, making it a lot easier to identify issues.
127
128
129 .. _hgssoauthenticatio: https://bitbucket.org/domruf/hgssoauthentication
@@ -155,6 +155,7 b' from index.'
155 If you want to rebuild the index from scratch, you can use the ``-f`` flag as above,
155 If you want to rebuild the index from scratch, you can use the ``-f`` flag as above,
156 or in the admin panel you can check the "build from scratch" checkbox.
156 or in the admin panel you can check the "build from scratch" checkbox.
157
157
158 .. _ldap-setup:
158
159
159 Setting up LDAP support
160 Setting up LDAP support
160 -----------------------
161 -----------------------
General Comments 0
You need to be logged in to leave comments. Login now