Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Autenticació: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
m (→‎Forgotton password URL: typo forgotton -> forgotten)
m (Lluisanunez ha mogut Authentication a Autenticació: trad)
 
(47 revisions intermèdies per 15 usuaris que no es mostren)
Línia 1: Línia 1:
Location: ''Administration > Users > Authentication > Manage authentication''
{{final24}}


{{Managing a Moodle site}}


==Authentication methods==
L'autenticació es el procés que permet a un usuari iniciar la sessió en una plataforma Moodle mitjançant les seves credencials d'usuari i contrasenya.


One of the first things you need to consider when setting up your Moodle site is user authentication i.e. enabling people to login to your Moodle site.
==Plugins d'autenticació==


Authentication methods (also known as authentication plugins) include:
Moodle ofereix diverses maneres de gestionar l'autenticació dels usuaris, gràcies als anomenats "Connectors d'autenticació" els quals permeten gestionar l'autenticació ([[Managing authentication|managing authentication]]).


*[[Manual accounts]]
*[[Manual accounts|Comptes manuals]] - comptes creats manualment per un Administrador.
*[[No login]]
*[[No login|Sense connexió]] - suspèn un compte en particular.
*[[Email-based self-registration]]
*[[Email-based self-registration|Autenticació basada en el correu electrònic]] - habilita la possibilitat que els usuaris puguin crear ells mateixos els seus propis comptes.
*[[CAS server (SSO)]]
*[[CAS server (SSO)|Servidor CAS (SSO)]] - els detalls del compte estan ubicats en un servidor extern CAS.
*[[External database authentication|External database]]
*[[External database|Base de dades externa]] - els comptes estan ubicats en una base de dades externa.
*[[FirstClass authentication|FirstClass server]]
*[[FirstClass server|Servidor FirstClass]] - els detalls dels comptes estan ubicats en un servidor FirstClass.
*[[IMAP authentication|IMAP server]]
*[[IMAP server|Servidor IMAP]] - els detalls dels comptes estan ubicats en un servidor extern IMAP.
*[[LDAP authentication|LDAP server]]
*[[LDAP server|Servidor LDAP]] - els detalls dels comptes estan ubicats en un servidor extern LDAP.
*[[Moodle Network|Moodle Network authentication]]
*[[MNet|Autenticació Moodle en Xarxa]] - diferents plataformes Moodle poden connectar i autenticar usuaris.
*[[NNTP authentication|NNTP server]]
*[[NNTP server|Servidor NNTP]] - els detalls dels comptes estan ubicats en un servidor extern NNTP.
*[[No authentication]]
*[[No authentication|Sense autenticació]] - per tal de realitzar proves o en cas que la plataforma Moodle no estigui disponible a internet.
*[[PAM (Pluggable Authentication Modules)]]
*[[PAM (Pluggable Authentication Modules)|PAM (Pluggable Authentication Modules)]] - els detalls dels comptes provenen del sistema operatiu amb el qual que s'executa Moodle, via PAM (només poden ser utilitzats amb Linux/Unix).
*[[POP3 server]]
*[[POP3 server|Servidor POP3]] - els detalls dels comptes estan ubicats en un servidor extern POP3.
*[[RADIUS authentication|RADIUS server]]
*[[RADIUS server|Servidor RADIUS]] - els detalls dels comptes estan ubicats en un servidor extern RADIUS.
*[[Shibboleth]]
*[[Shibboleth]] - els detalls dels comptes estan ubicats en un servidor extern Shibboleth.
*[[NTLM authentication|NTLM/Integrated Authentication (3rd party plugin)]]
* Autenticació de serveis web


==Setting the authentication method==
==Vegeu també==
[[Image:authentication plugins.png|thumb|Choosing an authentication plugin, (only shows top of Authentication page)]]
To set the authentication method:


#Click on Authentication in the Site Administration block.
*[[Authentication FAQ]]
#On the authentication page, click on the closed eye icon to enable your chosen authentication plugin. In Moodle 1.8 onwards, you can choose to use more than one authentication method. Use the up/down arrow icons to arrange the plugins in order, with the plugin handling the most logins at the top of the page. This will minimise authentication server load.
#If you have chosen [[Email-based self-registration]], select "Email-based self-registration" from the self registration drop-down menu in the common settings section. Potential users will then be presented with a "Create new account" button on the login page.
#If you have courses with guest access, set the Guest login button to show.
#Click the "Save changes" button.
#Click on Settings opposite the authentication plugin(s) you have chosen.
#Configure the required settings and click the "Save changes" button.
 
==Multi-authentication==
{{Moodle 1.8}}From Moodle 1.8 onwards, multi-authentication is supported. Simply click on the closed eye icon to enable a particular plugin.
 
Each authentication plugin may be used to find a username/password match. Once found, a user is logged in and alternative plugins are not used. Therefore the plugin which handles the most logins should be moved to the top of the page in order that less load is put on authentication servers.
 
==Self registration==
If you wish users to be able to create their own user accounts, i.e. self-register, then select Email-based self-registration from the drop-down menu.
 
==Alternate login URL==
This should be used with care, since a mistake in the URL or on the actual login page can lock you out of your site. If you do mess it up, you can remove the entry from your database (table mdl_config) using, e.g., phpmyadmin for mysql.
 
==Forgotten password URL==
{{Moodle 1.9}}If your lost password handling is performed entirely outside of Moodle (for example, only by a help desk), you can set the url of that service here. Anybody pressing a "lost password" link in Moodle will be redirected to this URL. Note that this will disable '''all''' of Moodle's lost password recovery options regardless of authentication method(s) in use.
 
==ReCAPTCHA==
[[Image:New account form with captcha element.png|thumb|New account form with CAPTCHA element]]
A CAPTCHA is a program that can tell whether its user is a human or a computer. CAPTCHAs are used by many websites to prevent abuse from bots, or automated programs usually written to generate spam. No computer program can read distorted text as well as humans can, so bots cannot navigate sites protected by CAPTCHAs.
 
{{Moodle 1.9}}From Moodle 1.9.1 onwards, spam protection may be added to the [[Email-based self-registration]] new account form with a CAPTCHA element - a challenge-response test used to determine whether the user is human.
 
ReCAPTCHA keys can be obtained from http://recaptcha.net by [https://admin.recaptcha.net/accounts/signup/?next= signing up for an account] (free) then entering a domain. The public and private keys provided can then be copied and pasted into the ''recaptchapublickey'' and ''recaptchaprivatekey'' fields in the manage authentication common settings, and the changes saved.
 
In addition to setting reCAPTCHA keys, email-based self-registration should be set as the self registration authentication plugin in the manage authentication common settings and the reCAPTCHA element should be enabled in the [[Email-based self-registration]] settings.
 
==Locking profile fields==
To prevent users from altering some fields (e.g. students changing profile information to inappropriate or misleading information), the site administrator can lock profile fields.
 
[[Image:Authent-data-map-fname.jpg|Data Mapping Options]]
*These fields are optional. You can choose to pre-fill some Moodle user fields with information from the LDAP fields that you specify here.  If you leave these fields blank, then nothing will be transferred from LDAP and Moodle defaults will be used instead.  In either case, the user will be able to edit all of these fields after they log in.
*'''Update local''': If enabled, the field will be updated (from external auth) every time the user logs in or there is a user synchronization. Fields set to update locally should be locked.
*'''Lock value''': If enabled, will prevent Moodle users and admins from editing the field directly. Use this option if you are maintaining this data in the external auth system.
*'''Update external''': If enabled, the external auth will be updated when the user record is updated. Fields should be unlocked to allow edits.  Note: Updating external LDAP data requires that you set '''binddn''' and '''bindpw''' to a bind-user with editing privileges to all the user records. It currently does not preserve multi-valued attributes, and will remove extra values on update.
 
If you are using a mixture of authentication types (such as IMAP and manual), then the fields you lock in the authentication options will only apply to the type of authentication indicated by the drop down box at the top of the screen.  Remember to test the field locking by logging in with the proper type of account!  If you test with a manual account but have set the field locking to apply to IMAP accounts, you will not be able to tell if it worked!
 
==See also==
*Multi authentication in [[Upgrading to Moodle 1.8]]
*[http://moodle.org/mod/forum/view.php?id=42 Using Moodle: User authentication] forum
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=95559 Do users need e-mail addresses?] forum discussion
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=97938 Admin approving self registrations?] forum discussion


[[Category:Authentication]]
[[Category:Authentication]]


[[eu:Erabiltzaileen_autentifikazioa]]
[[fr:Authentification]]
[[fr:Authentification]]
[[de:Authentifizierung]]
[[ja:認証]]
[[es:Autenticación]]

Revisió de 11:14, 20 nov 2014

Moodle 2.4



L'autenticació es el procés que permet a un usuari iniciar la sessió en una plataforma Moodle mitjançant les seves credencials d'usuari i contrasenya.

Plugins d'autenticació

Moodle ofereix diverses maneres de gestionar l'autenticació dels usuaris, gràcies als anomenats "Connectors d'autenticació" els quals permeten gestionar l'autenticació (managing authentication).

Vegeu també