If any customization or consent option is enabled, the custom form will show up before registering
and forces the user to accept user consent and define username and/or e-mail address
(prefilling fields with the data coming from the…
User Data Customization function - MAIL
This function handles the mail customization process
@uname the username got from IdP
@custom_uname the customized username
@custom_mail the costumized e-mail address
User Data Customization function - Redirect user to the custom form
This function redirects user to the custom data form, remembering the url, she wanted to visit before registering or a specific login url, if it is set
Saves an entry into shib_authmap and also saves mail if changed
A row in the authmap contains the drupal user id, the targeted id from
Shibboleth, the IdP name, the date the user was created, and user consent
version number.
@uname the username got…
Login an user based on the shib_authmap informations
@uname the username got from IdP
@uid drupal user id
@umail_single the e-mail address
@alreadyloggedin is true if the user has already logged in