function shib_auth_error in Shibboleth Authentication 6.4
Same name and namespace in other branches
- 7.4 shib_auth.module \shib_auth_error()
Errors out Example usage: if (something_bad_happens()) return shib_auth_error("Something bad happened"); EXCEPTION WORKAROUND for php4
Parameters
msg Error Message:
8 calls to shib_auth_error()
- shib_auth_check_identifier in ./
shib_auth.module - Check user identifier
- shib_auth_custom_mail in ./
shib_auth.module - 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
- shib_auth_custom_username in ./
shib_auth.module - User Data Customization function - USERNAME This function handles the username customization process @uname the username got from IdP @custom_uname the customized username @umail_single the e-mail address received from IdP
- shib_auth_init in ./
shib_auth.module - Create a new user based on informations from the Shibboleth handler if it's necessary or log in.
- shib_auth_save_authmap in ./
shib_auth.module - 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…
File
- ./
shib_auth.module, line 131 - Drupal Shibboleth authentication module.
Code
function shib_auth_error($msg = '') {
drupal_set_message(t("[Shibboleth authentication] %msg", array(
'%msg' => $msg,
)), 'error');
return FALSE;
}