Authentication, SSO and SSL: Difference between revisions

m
Tag: 2017 source edit
Tag: 2017 source edit
Line 28: Line 28:
You can set the authentication mode to "http" if you Dolibarr web application is protected by an Apache http basic authentication form. The login/pass are stored into the file used by the HTTP Basic system to store passwords (it is often a file called '''.htpasswd''' if you used the '''mod_auth_basic''' plugin of Apache).
You can set the authentication mode to "http" if you Dolibarr web application is protected by an Apache http basic authentication form. The login/pass are stored into the file used by the HTTP Basic system to store passwords (it is often a file called '''.htpasswd''' if you used the '''mod_auth_basic''' plugin of Apache).


This is an exemple of setup for Apache to protect your instance to be accessed using the HTTP Basic authentication
This is an exemple of setup for Apache to protect your instance to be accessed using the HTTP Basic authentication:
 
https://github.com/Dolibarr/dolibarr/blob/develop/dev/setup/apache/virtualhost


Note that the user must also exists as a existing user into the Dolibarr user database. Also the date of validity of this user must be valid.
Note that the user must also exists as a existing user into the Dolibarr user database. Also the date of validity of this user must be valid.