Changeset 8623
- Timestamp:
- 08/21/10 15:16:25 (21 months ago)
- Location:
- trunk/core/data/System
- Files:
-
- 2 edited
-
InstallationGuide.txt (modified) (1 diff)
-
UserAuthentication.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/data/System/InstallationGuide.txt
r8622 r8623 159 159 ---++++ Template Login authentication 160 160 %INCLUDE{"UserAuthentication" section="TemplateLogin" INSTALLGUIDE="1"}% 161 162 ---++++ Apache Login authentication 163 164 With Apache Login enabled, when Foswiki needs to authenticate the user, the standard HTTP authentication mechanism is used: the browser itself will prompt for a user name and password. 165 166 *Note:* Apache Login is required for Apache-based login methods such as mod_ldap. 167 168 To setup Apache Login, perform the following steps: 169 170 1 *Configure Apache Login.* Under the =Security and Authentication= pane on the =Login= tab in =configure=: 171 1 Select =Foswiki::LoginManager::ApacheLogin= for ={LoginManager}=. 172 1 Select =Foswiki::Users::HtPasswdUser= for ={PasswordManager}=. 173 1 Select =Foswiki::Users::TopicUserMapping= for ={UserMappingManager}=. 174 1 Save your settings. 175 1 Configure your Apache settings for HTTP authentication. Use the Foswiki:Support.ApacheConfigGenerator tool or the =foswiki/bin/.htaccess= file to set the following Apache directives on the =bin= scripts:<sticky><verbatim> 176 <FilesMatch "(attach|edit|manage|rename|save|upload|mail|logon|rest|.*auth).*"> 177 require valid-user 178 </FilesMatch></verbatim></sticky> 179 You can also refer to the sample =foswiki_httpd_conf.txt= and =bin/.htaccess.txt= files to see how the appropriate Apache directives are specified. 180 %INCLUDE{"UserAuthentication" section="TESTING"}% 161 181 162 182 #SearchAlgorithm -
trunk/core/data/System/UserAuthentication.txt
r8622 r8623 77 77 1 Navigate to the =Passwords= tab. Select the appropriate =PasswordManager= for your system - the default is =Foswiki::Users::HtPasswdUser=. 78 78 <blockquote class="foswikiHelp">%H% There is also an EXPERT configure setting ={TemplateLogin}{PreventBrowserRememberingPassword}= that you can set to prevent Browsers from remembering username and passwords if you are concerned about public terminal usage.</blockquote> 79 1 Verify that registration works by registering yourself with the [[%SYSTEMWEB%.UserRegistration]] topic. If there are problems, try these troubleshooting tips: %IF{79 %STARTSECTION{"TESTING"}% 1 Verify that registration works by registering yourself with the [[%SYSTEMWEB%.UserRegistration]] topic. If there are problems, try these troubleshooting tips: %IF{ 80 80 "'%INSTALLGUIDE%'='1'" 81 81 then="$n 1 If you are reading this from the INSTALL.html file, you can enter [[%SYSTEMWEB%.UserRegistration]] into the 'Jump' box in the top right of any Foswiki page."}% … … 84 84 1 Create a new topic (in [[Sandbox.WebHome][Sandbox]] web for example) to confirm that authentication works. 85 85 1 *Add users to the %USERSWEB%.AdminGroup*. Edit the %USERSWEB%.AdminGroup topic in the %USERSWEB% web to include users that should have administrator status. Read [[InstallationGuide#DefineAdminUser][defining adminstrator user(s)]] for more information. 86 <blockquote class="foswikiHelp"> %X% *This is a very important step*, as users in this group can access _all_ topics, independent of %WIKITOOLNAME% access controls.</blockquote> 86 <blockquote class="foswikiHelp"> %X% *This is a very important step*, as users in this group can access _all_ topics, independent of %WIKITOOLNAME% access controls.</blockquote>%ENDSECTION{"TESTING"}% 87 87 88 88 AccessControl has more information on setting up access controls.
Note: See TracChangeset
for help on using the changeset viewer.
